scsi_destroy_pkt(9f) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

scsi_destroy_pkt(9f)

scsi_destroy_pkt(9F)           Kernel Functions           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 in Oracle Solaris 11.4



Oracle Solaris 11.4               16 Jan 2006             scsi_destroy_pkt(9F)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3