Lines Matching refs:scsi_pkt

374 static int fcp_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt);
375 static int fcp_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt);
380 static void fcp_pkt_teardown(struct scsi_pkt *pkt);
507 static int fcp_kmem_cache_constructor(struct scsi_pkt *, scsi_hba_tran_t *,
509 static void fcp_kmem_cache_destructor(struct scsi_pkt *, scsi_hba_tran_t *);
510 static int fcp_pkt_setup(struct scsi_pkt *, int (*)(), caddr_t);
630 static struct scsi_pkt *fcp_pseudo_init_pkt(
631 struct scsi_address *ap, struct scsi_pkt *pkt,
635 struct scsi_address *ap, struct scsi_pkt *pkt);
637 struct scsi_address *ap, struct scsi_pkt *pkt);
638 static int fcp_pseudo_start(struct scsi_address *ap, struct scsi_pkt *pkt);
640 struct scsi_address *ap, struct scsi_pkt *pkt);
8699 struct scsi_pkt *pkt = cmd->cmd_pkt;
8737 struct scsi_pkt *pkt = cmd->cmd_pkt;
8775 struct scsi_pkt *pkt = cmd->cmd_pkt;
10387 * to build a scsi_pkt structure the target driver. The result
10405 * +----> | struct scsi_pkt |
10469 fcp_kmem_cache_constructor(struct scsi_pkt *pkt, scsi_hba_tran_t *tran,
10538 fcp_kmem_cache_destructor(struct scsi_pkt *pkt, scsi_hba_tran_t *tran)
11064 fcp_scsi_start(struct scsi_address *ap, struct scsi_pkt *pkt)
11270 fcp_scsi_abort(struct scsi_address *ap, struct scsi_pkt *pkt)
11348 * Description: This function sets up the scsi_pkt structure passed by the
11361 * *pkt Pointer to a scsi_pkt structure.
11372 fcp_pkt_setup(struct scsi_pkt *pkt,
11475 * Description: This function releases a scsi_pkt structure and all the
11478 * Argument: *pkt Pointer to a scsi_pkt structure.
11485 fcp_pkt_teardown(struct scsi_pkt *pkt)
11623 struct scsi_pkt *pkt;
13599 struct scsi_pkt *pkt = cmd->cmd_pkt;
13918 struct scsi_pkt *pkt = cmd->cmd_pkt;
13977 struct scsi_pkt *pkt;
16113 * pkt@scsi_pkt, cmd@fcp_pkt, icmd@fcp_ipkt, fpkt@fc_packet, pptr@fcp_port
16115 static struct scsi_pkt *
16116 fcp_pseudo_init_pkt(struct scsi_address *ap, struct scsi_pkt *pkt,
16136 * All fields in scsi_pkt will be initialized properly or
16137 * set to zero. We need do nothing for scsi_pkt.
16142 * before the scsi_pkt will be sent to FCA.
16215 fcp_pseudo_destroy_pkt(struct scsi_address *ap, struct scsi_pkt *pkt)
16234 * In the end, we free scsi_pkt.
16240 fcp_pseudo_start(struct scsi_address *ap, struct scsi_pkt *pkt)
16302 * Lastly, we need initialize scsi_pkt
16341 fcp_pseudo_sync_pkt(struct scsi_address *ap, struct scsi_pkt *pkt)
16344 FCP_BUF_LEVEL_2, 0, "ap-%p, scsi_pkt-%p", ap, pkt);
16351 fcp_pseudo_dmafree(struct scsi_address *ap, struct scsi_pkt *pkt)
16354 FCP_BUF_LEVEL_2, 0, "ap-%p, scsi_pkt-%p", ap, pkt);