Lines Matching refs:scsi_pkt

49 extern struct scsi_pkt *scsi_init_cache_pkt(struct scsi_address *,
50 struct scsi_pkt *, struct buf *, int, int, int, int,
52 extern void scsi_free_cache_pkt(struct scsi_address *, struct scsi_pkt *);
53 extern void scsi_cache_dmafree(struct scsi_address *, struct scsi_pkt *);
54 extern void scsi_sync_cache_pkt(struct scsi_address *, struct scsi_pkt *);
88 static struct scsi_pkt *scsi_lunchg1_list;
765 struct scsi_pkt *pkt;
772 * scsi_pkt
825 struct scsi_pkt *pkt = &(pktw->pcw_pkt);
2570 * Private wrapper for scsi_pkt's allocated via scsi_hba_pkt_alloc()
2573 struct scsi_pkt scsi_pkt;
2584 * Called by an HBA to allocate a scsi_pkt
2587 struct scsi_pkt *
2598 struct scsi_pkt *pkt;
2631 pkt = &hba_pkt->scsi_pkt;
2660 * on the following fields being set until all the scsi_pkt
2661 * allocation violations discussed in scsi_pkt.h are all resolved.
2671 * Called by an HBA to free a scsi_pkt
2677 struct scsi_pkt *pkt)
2683 * Return 1 if the scsi_pkt used a proper allocator.
2685 * The DDI does not allow a driver to allocate it's own scsi_pkt(9S), a
2687 * scsi_pkt)". While this has been the case for many years, a number of
2689 * improperly allocated scsi_pkt structures, and produce messages identifying
2699 * access to newer scsi_pkt fields (those after pkt_reason).
2712 scsi_pkt_allocated_correctly(struct scsi_pkt *pkt)
2741 * Special case crossing a page boundary. If the scsi_pkt was not
2745 if ((((uintptr_t)(&hba_pkt->scsi_pkt)) & MMU_PAGEMASK) ==
2766 * scsi_pkt Use scsi_hba_pkt_alloc(9F), or implement
2778 return (sizeof (struct scsi_pkt));
2794 * Legacy compliance to scsi_pkt(9S) allocation rules through use of
2798 * SCSI_SIZE_CLEAN_VERIFY to ensure compliance (see scsi_pkt.h).
5529 scsi_hba_pkt_comp(struct scsi_pkt *pkt)
5546 "%s duplicate scsi_hba_pkt_comp(9F) on same scsi_pkt(9S)",
5573 * scsi_pkt (via scsi_address_device(9F)), we also require use of
5583 * Check for lun-change notification and queue the scsi_pkt for
5860 * Stage 1: Daemon waits for a lunchg1 queued scsi_pkt, dequeues the pkt,
5861 * forms the path, completes the scsi_pkt (pkt_comp), and
5882 struct scsi_pkt *pkt;
6995 struct scsi_pkt *lunrpt_pkt;
7025 (struct scsi_pkt *)NULL, lunrpt_bp, CDB_GROUP5,