Kernel Functions for Drivers ldidump(9F)
NAME
ldidump - Issue a dump request to a device
SYNOPSIS
#include
int ldidump(ldihandlet lh, caddrt addr, daddrt blkno, int nblk);
PARAMETERS
lh Layered handle.
addr Area dump address.
blkno Block offset to dump memory.
nblk Number of blocks to dump.
DESCRIPTION
The ldidump() function passes a dump request to the device
entry point specified by the layered handle. This operation
is supported for block devices.
RETURN VALUES
The ldidump() function returns 0 upon success. If a failure
occurs before the request is passed on to the device, the
possible return values are shown below. Otherwise any other
error number may be returned by the device.
EINVAL Invalid input parameters.
ENOTSUP Operation is not supported for this device.
CONTEXT
These functions may be called from user or kernel context.
SunOS 5.11 Last change: 3 June 2003 1
|