Content-type: text/html Man page of ldi_dump

ldi_dump

Section: Kernel Functions for Drivers (9F)
Updated: 3 June 2003
Index Return to Main Contents
 

NAME

ldi_dump - Issue a dump request to a device  

SYNOPSIS

#include <sys/sunldi.h>

int ldi_dump(ldi_handle_t lh, caddr_t addr, daddr_t 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 ldi_dump() 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 ldi_dump() 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.


 

Index

NAME
SYNOPSIS
PARAMETERS
DESCRIPTION
RETURN VALUES
CONTEXT

This document was created by man2html, using the manual pages.
Time: 02:39:38 GMT, October 02, 2010