DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

sdi_buf_restore(D3sdi)


sdi_buf_restore -- restore the value of the b_iodone member of a buf(D4) structure

Synopsis

   #include <sys/types.h>
   #include <sys/sdi.h>
   #include <sys/ddi.h>
   

void sdi_buf_restore(buf_t *bp)

Description

sdi_buf_restore( ) restores the value of the b_iodone member of the buf(D4) saved by a previous call to the sdi_buf_store(D3sdi) function.

Arguments


bp
A previously allocated buf(D4) structure.

Return values

None.

Usage

Calls to sdi_buf_store(D3sdi) must be matched by calls to sdi_buf_restore( ) in the same driver before the buffer is returned to a higher context.

Context and synchronization

Non-blockable context.

Hardware applicability

All

Version applicability

sdi: 4 layered drivers

References

buf(D4), sdi_buf_store(D3sdi), sdi_get_blkno( )
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005