Home
last modified time | relevance | path

Searched refs:pkt_private (Results 1 – 17 of 17) sorted by relevance

/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c357 in_pktp->pkt_private = kmem_alloc(pplen, kf); in scsi_init_cache_pkt()
358 if (in_pktp->pkt_private == NULL) in scsi_init_cache_pkt()
376 bzero((void *)in_pktp->pkt_private, pplen); in scsi_init_cache_pkt()
490 kmem_free(in_pktp->pkt_private, pplen); in scsi_init_cache_pkt()
492 in_pktp->pkt_private = NULL; in scsi_init_cache_pkt()
540 kmem_free(pktp->pkt_private, pktp->pkt_tgtlen); in scsi_free_cache_pkt()
542 pktp->pkt_private = NULL; in scsi_free_cache_pkt()
H A Dscsi_watch.c286 rqpkt->pkt_private = (opaque_t)swr; in scsi_watch_request_submit_impl()
330 pkt->pkt_private = (opaque_t)swr; in scsi_watch_request_submit_impl()
877 (struct scsi_watch_request *)pkt->pkt_private; in scsi_watch_request_intr()
H A Dscsi_hba.c810 pkt->pkt_private = NULL; in scsi_hba_pkt_constructor()
2642 pkt->pkt_private = (opaque_t)p; in scsi_hba_pkt_alloc()
/titanic_41/usr/src/uts/sun/sys/dada/
H A Ddada_pkt.h69 ataopaque_t pkt_private; /* Target drivers priV data */ member
/titanic_41/usr/src/uts/common/sys/scsi/
H A Dscsi_pkt.h52 opaque_t pkt_private; /* private data for target driver */ member
/titanic_41/usr/src/uts/common/io/scsi/targets/
H A Dses.c477 ssc->ses_rqpkt->pkt_private = (opaque_t)ssc; in ses_doattach()
1113 pkt->pkt_private = (opaque_t)ssc; in ses_get_pkt()
1124 ses_softc_t *ssc = (ses_softc_t *)pkt->pkt_private; in ses_restart()
1168 ses_softc_t *ssc = (ses_softc_t *)pkt->pkt_private; in ses_callback()
1379 ses_softc_t *ssc = (ses_softc_t *)pkt->pkt_private; in ses_decode_sense()
H A Dsgen.c771 rqpkt->pkt_private = sg_state; in sgen_setup_sense()
1413 sgen_state_t *sg_state = pkt->pkt_private; in sgen_scsi_transport()
1484 pkt->pkt_private = sg_state; in sgen_make_uscsi_cmd()
1577 sg_state = pkt->pkt_private; in sgen_callback()
H A Dst.c1679 ri = (recov_info *)un->un_rqs->pkt_private; in st_doattach()
6610 pkt_info *pkti = BP_PKT(bp)->pkt_private; in st_start()
6664 pkt_info *pktinfo = BP_PKT(bp)->pkt_private; in st_handle_start_busy()
6820 pkt_info *pktinfo = pkt->pkt_private; in st_done_and_mutex_exit()
8673 bzero(pkt->pkt_private, st_recov_sz); in st_make_cmd()
8676 ri = (recov_info *)pkt->pkt_private; in st_make_cmd()
8964 bzero(pkt->pkt_private, st_recov_sz); in st_make_cmd()
8967 ri = (recov_info *)pkt->pkt_private; in st_make_cmd()
9001 recov_info *rcvi = pkt->pkt_private; in st_make_cmd()
9070 bzero(pkt->pkt_private, st_recov_sz); in st_make_uscsi_cmd()
[all …]
H A Dsd.c13768 pktp->pkt_private = bp;
14249 pktp->pkt_private = bp;
16491 un->un_rqs_pktp->pkt_private = un->un_rqs_bp;
16835 bp = (struct buf *)pktp->pkt_private;
19780 bp = (struct buf *)pktp->pkt_private;
30407 bp = (struct buf *)pktp->pkt_private;
/titanic_41/usr/src/uts/sun/io/dada/impl/
H A Ddcd_hba.c372 pkt->pkt_private = (ataopaque_t)p; in dcd_hba_pkt_alloc()
/titanic_41/usr/src/uts/sun/io/dada/targets/
H A Ddad.c219 ((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_bp = bp
221 (((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_bp)
225 ((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_retry_count = n
228 (((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_retry_count)
231 ((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_retry_count += n
234 ((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_victim_retry_count \
238 (((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_victim_retry_count)
240 ((struct dcd_pkt_private *)pkt->pkt_private)->dcdpp_victim_retry_count \
/titanic_41/usr/src/uts/common/sys/scsi/adapters/
H A Dscsi_vhci.h112 #define HBAPKT2VHCIPKT(pkt) (pkt->pkt_private)
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1306 pkt->pkt_private = cmd->sc_priv; in scsa1394_scsi_init_pkt()
1464 pkt->pkt_private = buf; in scsa1394_cmd_ext_alloc()
1484 kmem_free(pkt->pkt_private, cmd->sc_priv_len); in scsa1394_cmd_ext_free()
/titanic_41/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c2109 pkt->pkt_private = cmd->cmd_pkt_private; in fas_scsi_init_pkt()
2287 sp->cmd_pkt->pkt_private = tgt; in fas_pkt_alloc_extern()
2324 kmem_free((caddr_t)sp->cmd_pkt->pkt_private, in fas_pkt_destroy_extern()
6972 (struct arq_private_data *)(rqpktp->cmd_pkt->pkt_private); in fas_create_arq_pkt()
7009 (struct arq_private_data *)(rqpktp->cmd_pkt->pkt_private); in fas_delete_arq_pkt()
7036 (struct arq_private_data *)sp->cmd_pkt->pkt_private; in fas_complete_arq_pkt()
7086 arq_data = (struct arq_private_data *)arqsp->cmd_pkt->pkt_private; in fas_handle_sts_chk()
8523 (sp->cmd_pkt->pkt_private); in fas_reset_cleanup()
8720 (sp->cmd_pkt->pkt_private); in fas_reset_recovery()
H A Dsf.c1368 pkt->pkt_private = tgt; in sf_pkt_alloc_extern()
1405 kmem_free((caddr_t)pkt->pkt_private, in sf_pkt_destroy_extern()
1478 (int *)(cmd->cmd_pkt->pkt_private = in sf_scsi_init_pkt()
1480 bzero((caddr_t)cmd->cmd_pkt->pkt_private, in sf_scsi_init_pkt()
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c2553 pkt->pkt_private = vpkt; in vhci_bind_transport()
2695 vpkt = (struct vhci_pkt *)pkt->pkt_private; in vhci_run_cmd()
3156 struct vhci_pkt *vpkt = (struct vhci_pkt *)pkt->pkt_private; in vhci_intr()
3582 struct vhci_pkt *vpkt = (struct vhci_pkt *)pkt->pkt_private; in vhci_handle_ext_fo()
8294 mp_uscmdp = rqpkt->pkt_private; in vhci_uscsi_restart_sense()
8343 rqpkt->pkt_private = mp_uscmdp; in vhci_uscsi_send_sense()
8389 mp_uscmdp = (mp_uscsi_cmd_t *)pkt->pkt_private; in vhci_uscsi_iodone()
8559 pkt->pkt_private = mp_uscmdp; in vhci_uscsi_iostart()
/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c3672 pkt->pkt_private = (opaque_t)cmd->cmd_pkt_private; in mptsas_scsi_init_pkt()
4221 cmd->cmd_pkt->pkt_private = tgt; in mptsas_pkt_alloc_extern()
4267 kmem_free(cmd->cmd_pkt->pkt_private, (size_t)cmd->cmd_privlen); in mptsas_pkt_destroy_extern()