scsi_destroy_pkt man page on SmartOS

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

SCSI_DESTROY_PKT(9F)					  SCSI_DESTROY_PKT(9F)

NAME
       scsi_destroy_pkt - free an allocated SCSI packet and its DMA resource

SYNOPSIS
       #include <sys/scsi/scsi.h>

       void scsi_destroy_pkt(struct scsi_pkt *pktp);

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

PARAMETERS
       pktp
	       Pointer to a scsi_pkt(9S) structure.

DESCRIPTION
       The scsi_destroy_pkt() function releases all necessary resources, typi‐
       cally at the end of an I/O transfer. The data is synchronized  to  mem‐
       ory, then the DMA resources are deallocated and pktp is freed.

CONTEXT
       The  scsi_destroy_pkt() function may be called from user, interrupt, or
       kernel context.

EXAMPLES
       Example 1 Releasing resources

	 scsi_destroy_pkt(un->un_rqs);

SEE ALSO
       tran_destroy_pkt(9E), scsi_init_pkt(9F), scsi_pkt(9S)

       Writing Device Drivers

				 Jan 16, 2006		  SCSI_DESTROY_PKT(9F)
[top]

List of man pages available for SmartOS

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