ldi_strategy man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

ldi_strategy(9F)	 Kernel Functions for Drivers	      ldi_strategy(9F)

NAME
       ldi_strategy - Device strategy request

SYNOPSIS
       #include <sys/sunldi.h>

       int ldi_strategy(ldi_handle_t lh,  struct buf *bp);

PARAMETERS
       lh     Layered handle.

       bp     Pointer to the buf(9S) structure.

DESCRIPTION
       The  ldi_strategy()  function  passes  a strategy request to the device
       entry point for the device specified by the layered handle. This opera‐
       tion is supported for block devices.

RETURN VALUES
       The  ldi_strategy() function returns 0 if the strategy request has been
       passed on to the target device. Other possible return values are:

       EINVAL	  Invalid input parameters.

       ENOTSUP	  Operation is not supported for this device.

       Once the request has been passed on  to	the  target  devices  strategy
       entry  point,  any  further errors will be reported by bioerror(9F) and
       biodone(9F). See the strategy(9E) entry point for more information.

CONTEXT
       This function may be called from user or kernel context.

SunOS 5.11			  3 June 2003		      ldi_strategy(9F)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net