/illumos-gate/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_transport.c | 82 if (!do_polled_io && ((pkt->pkt_flags & FLAG_NOINTR) == 0)) { in dcd_transport() 85 (pkt->pkt_flags & FLAG_FORCENOINTR)) { in dcd_transport() 87 if (pkt->pkt_flags & FLAG_FORCENOINTR) { in dcd_transport() 93 pkt->pkt_flags &= ~FLAG_FORCENOINTR; in dcd_transport() 94 pkt->pkt_flags |= FLAG_NOINTR; in dcd_transport() 104 if (!do_polled_io || (pkt->pkt_flags & FLAG_NOINTR)) { in dcd_transport() 112 savef = pkt->pkt_flags; in dcd_transport() 114 pkt->pkt_flags |= FLAG_NOINTR; in dcd_transport() 125 pkt->pkt_flags = savef; in dcd_transport() 134 savef = pkt->pkt_flags; in dcd_transport() [all …]
|
H A D | dcd_subr.c | 75 savef = pkt->pkt_flags; in dcd_poll() 79 pkt->pkt_flags |= FLAG_NOINTR; in dcd_poll() 114 pkt->pkt_flags = savef; in dcd_poll()
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_transport.c | 157 pkt->pkt_flags &= ~FLAG_PKT_COMP_CALLED; in scsi_transport() 168 if (!do_polled_io && ((pkt->pkt_flags & FLAG_NOINTR) == 0)) { in scsi_transport() 183 if (!do_polled_io || (pkt->pkt_flags & FLAG_NOINTR)) { in scsi_transport() 191 savef = pkt->pkt_flags; in scsi_transport() 193 pkt->pkt_flags |= FLAG_NOINTR; in scsi_transport() 206 pkt->pkt_flags = savef; in scsi_transport() 226 savef = pkt->pkt_flags; in scsi_transport() 230 pkt->pkt_flags &= ~FLAG_NOINTR; in scsi_transport() 231 pkt->pkt_flags |= FLAG_IMMEDIATE_CB; in scsi_transport() 243 pkt->pkt_flags = savef; in scsi_transport()
|
H A D | scsi_subr.c | 99 savef = pkt->pkt_flags; in scsi_poll() 103 pkt->pkt_flags |= FLAG_NOINTR; in scsi_poll() 212 pkt->pkt_flags = savef; in scsi_poll() 2508 pkt->pkt_flags |= FLAG_PKT_PATH_INSTANCE; in scsi_uscsi_pktinit() 2521 pkt->pkt_flags &= ~FLAG_PKT_PATH_INSTANCE; in scsi_uscsi_pktinit() 2558 pkt->pkt_flags &= ~FLAG_PKT_PATH_INSTANCE; in scsi_uscsi_pktfini()
|
H A D | scsi_watch.c | 289 rqpkt->pkt_flags |= FLAG_HEAD; in scsi_watch_request_submit_impl() 334 pkt->pkt_flags |= FLAG_STAG; in scsi_watch_request_submit_impl()
|
/illumos-gate/usr/src/uts/sun/io/dada/conf/ |
H A D | dcd_confsubr.c | 243 pkt->pkt_flags |= FLAG_NOINTR; in dcd_test() 247 printf("flags %x: timeout %x\n", pkt->pkt_flags, pkt->pkt_time); in dcd_test() 290 pkt->pkt_flags = flags; in makecommand() 292 printf("pkt flags set in dada %x\n", pkt->pkt_flags); in makecommand()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_solaris.c | 53 uint32_t *pkt_flags); 2176 sbp->pkt_flags = in emlxs_fca_pkt_init() 2201 sbp->pkt_flags &= (PACKET_VALID | PACKET_ALLOCATED); in emlxs_initialize_pkt() 2222 sbp->pkt_flags |= PACKET_POLLED; in emlxs_initialize_pkt() 2267 if (!(sbp->pkt_flags & PACKET_VALID)) { in emlxs_fca_pkt_uninit() 2270 sbp->pkt_flags &= ~PACKET_VALID; in emlxs_fca_pkt_uninit() 2480 uint32_t pkt_flags; in emlxs_fca_transport() local 2487 !(sbp->pkt_flags & PACKET_ALLOCATED)) { in emlxs_fca_transport() 2498 !(sbp->pkt_flags & PACKET_ALLOCATED)) { in emlxs_fca_transport() 2508 sbp->port, sbp->pkt_flags); in emlxs_fca_transport() [all …]
|
H A D | emlxs_clock.c | 464 sbp->pkt_flags |= PACKET_IN_TIMEOUT; in emlxs_timer_check_pkts() 532 if (!(sbp->pkt_flags & PACKET_VALID) || in emlxs_timer_check_pkts() 533 (sbp->pkt_flags & (PACKET_ULP_OWNED| in emlxs_timer_check_pkts() 544 if ((sbp->pkt_flags & PACKET_IN_CHIPQ) && in emlxs_timer_check_pkts() 1183 (pkt) ? pkt->pkt_timeout : 0, sbp->pkt_flags); in emlxs_pkt_chip_timeout() 1198 (pkt) ? pkt->pkt_timeout : 0, sbp->pkt_flags); in emlxs_pkt_chip_timeout() 1208 sbp->pkt_flags |= (PACKET_IN_TIMEOUT | PACKET_XRI_CLOSED); in emlxs_pkt_chip_timeout() 1357 (sbp->pkt_flags & PACKET_IN_TXQ)) { in emlxs_tx_watchdog() 1384 if (!(sbp->pkt_flags & PACKET_STALE)) { in emlxs_tx_watchdog() 1386 sbp->pkt_flags |= in emlxs_tx_watchdog() [all …]
|
H A D | emlxs_fcp.c | 147 !(sbp->pkt_flags & in emlxs_handle_fcp_event() 154 sbp->pkt_flags |= in emlxs_handle_fcp_event() 220 sbp->pkt_flags |= PACKET_FCP_RSP_VALID; in emlxs_handle_fcp_event() 2233 if (sbp->pkt_flags & PACKET_IN_TXQ) { in emlxs_unregister_pkt() 2234 sbp->pkt_flags &= ~PACKET_IN_TXQ; in emlxs_unregister_pkt() 2238 if (sbp->pkt_flags & PACKET_IN_CHIPQ) { in emlxs_unregister_pkt() 2239 sbp->pkt_flags &= ~PACKET_IN_CHIPQ; in emlxs_unregister_pkt() 2359 sbp->pkt_flags |= PACKET_IN_FLUSH; in emlxs_tx_channel_flush() 2605 sbp->pkt_flags |= PACKET_IN_FLUSH; in emlxs_tx_node_flush() 2909 sbp->pkt_flags |= PACKET_IN_FLUSH; in emlxs_tx_lun_flush() [all …]
|
H A D | emlxs_fct.c | 2066 if (!(cmd_sbp->pkt_flags & PACKET_VALID)) { in emlxs_fct_register_remote_port() 3497 cmd_sbp->pkt_flags = PACKET_VALID; in emlxs_fct_cmd_init() 3527 if (!(cmd_sbp->pkt_flags & PACKET_VALID)) { in emlxs_fct_cmd_accept() 3538 if (!(cmd_sbp->pkt_flags & PACKET_VALID)) { in emlxs_fct_cmd_accept() 3566 if (!(cmd_sbp->pkt_flags & PACKET_ULP_OWNED)) { in emlxs_fct_cmd_accept() 3577 cmd_sbp->pkt_flags &= ~PACKET_ULP_OWNED; in emlxs_fct_cmd_accept() 3605 if (!(cmd_sbp->pkt_flags & PACKET_VALID)) { in emlxs_fct_cmd_acquire() 3614 if ((cmd_sbp->pkt_flags & PACKET_ULP_OWNED)) { in emlxs_fct_cmd_acquire() 3636 if (!(cmd_sbp->pkt_flags & PACKET_VALID)) { in emlxs_fct_cmd_acquire() 3647 if ((cmd_sbp->pkt_flags & PACKET_ULP_OWNED)) { in emlxs_fct_cmd_acquire() [all …]
|
H A D | emlxs_els.c | 169 sbp->pkt_flags |= PACKET_ELS_RSP_VALID; in emlxs_els_handle_event() 183 if (!(sbp->pkt_flags & PACKET_ALLOCATED)) { in emlxs_els_handle_event() 241 sbp->pkt_flags |= PACKET_STATE_VALID; in emlxs_els_handle_event() 2884 sbp->pkt_flags |= PACKET_CT_RSP_VALID; in emlxs_menlo_handle_event() 3063 sbp->pkt_flags |= PACKET_CT_RSP_VALID; in emlxs_ct_handle_event() 3090 if (!(sbp->pkt_flags & PACKET_ALLOCATED)) { in emlxs_ct_handle_event() 3151 sbp->pkt_flags |= PACKET_STATE_VALID; in emlxs_ct_handle_event()
|
H A D | emlxs_pkt.c | 390 sbp->pkt_flags = PACKET_VALID | PACKET_ULP_OWNED | PACKET_ALLOCATED; in emlxs_pkt_alloc()
|
/illumos-gate/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 322 rq_pkt->pkt_flags = FLAG_NOINTR|FLAG_NOPARITY|FLAG_SENSING; in scsi_slave_do_rqsense() 377 pkt->pkt_flags = FLAG_NOINTR|FLAG_NOPARITY; in scsi_slave() 911 pkt->pkt_flags |= FLAG_NOINTR; in scsi_test() 915 pkt->pkt_flags |= FLAG_STAG; in scsi_test() 1130 inq_pkt->pkt_flags = FLAG_NOINTR|FLAG_NOPARITY; in scsi_hba_probe_pi() 1137 inq_pkt->pkt_flags |= FLAG_PKT_PATH_INSTANCE; in scsi_hba_probe_pi() 1235 rq_pkt->pkt_flags = FLAG_NOINTR|FLAG_NOPARITY; in scsi_hba_probe_pi() 1242 rq_pkt->pkt_flags |= FLAG_PKT_PATH_INSTANCE; in scsi_hba_probe_pi() 2191 inq_pkt->pkt_flags = FLAG_NOINTR|FLAG_NOPARITY; in send_scsi_INQUIRY()
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sgen.c | 770 rqpkt->pkt_flags |= FLAG_SENSING; in sgen_setup_sense() 1507 pkt->pkt_flags |= FLAG_SILENT; in sgen_make_uscsi_cmd() 1509 pkt->pkt_flags |= FLAG_ISOLATE; in sgen_make_uscsi_cmd() 1511 pkt->pkt_flags |= FLAG_DIAGNOSE; in sgen_make_uscsi_cmd() 1513 pkt->pkt_flags |= FLAG_RENEGOTIATE_WIDE_SYNC; in sgen_make_uscsi_cmd() 1548 if (pkt->pkt_flags & FLAG_SENSING) { in sgen_restart() 1585 if (pkt->pkt_flags & FLAG_SENSING) { in sgen_callback() 1619 } else if (pkt->pkt_flags & FLAG_SENSING) { in sgen_callback() 1627 sg_state->sgen_cmdpkt->pkt_flags &= ~FLAG_SENSING; in sgen_callback()
|
H A D | sd.c | 12968 pktp->pkt_flags = un->un_tagflags; in sd_initpkt_for_buf() 13440 pktp->pkt_flags = flags; in sd_initpkt_for_uscsi() 13811 if (((xp->xb_pktp->pkt_flags & FLAG_SILENT) == 0) && in sd_print_transport_rejected_message() 14380 xp->xb_pktp->pkt_flags |= FLAG_HEAD; 14439 ((xp->xb_pktp->pkt_flags & FLAG_SENSING) == 0)) { 14892 if ((pktp->pkt_flags & FLAG_DIAGNOSE) != 0) { 14934 if ((pktp->pkt_flags & FLAG_ISOLATE) != 0) { 15110 xp->xb_pktp->pkt_flags |= FLAG_HEAD; 15508 if ((pktp->pkt_flags & FLAG_DIAGNOSE) == 0) { 15561 ASSERT((sense_xp->xb_pktp->pkt_flags & (FLAG_SENSING | FLAG_HEAD)) [all …]
|
/illumos-gate/usr/src/uts/sun/sys/dada/ |
H A D | dada_pkt.h | 58 int pkt_flags; /* Pkt flags */ member
|
/illumos-gate/usr/src/uts/common/sys/scsi/ |
H A D | scsi_pkt.h | 54 uint_t pkt_flags; /* flags */ member
|
/illumos-gate/usr/src/uts/intel/io/amr/ |
H A D | amr.c | 760 if (!(pkt->pkt_flags & FLAG_NOINTR)) { in amr_periodic() 1529 if (pkt->pkt_flags & FLAG_NOINTR) { in amr_tran_start() 1602 if (!(pkt->pkt_flags & FLAG_NOINTR)) in amr_tran_start() 1627 if (!(pkt->pkt_flags & FLAG_NOINTR)) in amr_tran_start() 1645 if (!(pkt->pkt_flags & FLAG_NOINTR)) in amr_tran_start() 1669 if (!(pkt->pkt_flags & FLAG_NOINTR)) in amr_tran_start() 1684 if (!(pkt->pkt_flags & FLAG_NOINTR)) in amr_tran_start() 2297 if (!(pkt->pkt_flags & FLAG_NOINTR)) { in amr_call_pkt_comp()
|
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_transport.c | 273 scsi_pktp->pkt_flags = 0; in cpqary3_init_pkt() 634 if (scsi_pktp->pkt_flags & FLAG_NOINTR) { in cpqary3_transport() 1222 if (cpqary3_cmdpvtp->pvt_pkt->scsi_cmd_pkt->pkt_flags & in cpqary3_oscmd_complete() 1344 if (cpqary3_cmdpvtp->pvt_pkt->scsi_cmd_pkt->pkt_flags & FLAG_NOINTR) { in cpqary3_oscmd_complete()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 1451 flags = vpkt->vpkt_hba_pkt->pkt_flags; in vhci_scsi_start() 2312 if ((vpkt->vpkt_tgt_pkt->pkt_flags & FLAG_PKT_PATH_INSTANCE) && in vhci_bind_transport() 2611 new_pkt->pkt_flags = FLAG_NOINTR; in vhci_do_prout() 3967 pkt->pkt_flags = FLAG_NOINTR; in vhci_update_pathstates() 6985 pkt->pkt_flags = FLAG_NOINTR; in vhci_failover() 8030 vpkt->vpkt_hba_pkt->pkt_flags = pkt->pkt_flags; in vhci_update_pHCI_pkt() 8031 vpkt->vpkt_hba_pkt->pkt_flags |= FLAG_NOQUEUE; in vhci_update_pHCI_pkt() 8033 if ((vpkt->vpkt_hba_pkt->pkt_flags & FLAG_NOINTR) || in vhci_update_pHCI_pkt() 8039 vpkt->vpkt_hba_pkt->pkt_flags |= FLAG_NOINTR; in vhci_update_pHCI_pkt() 8227 pkt->pkt_flags = vpkt->vpkt_tgt_pkt->pkt_flags; in vhci_create_retry_pkt() [all …]
|
/illumos-gate/usr/src/uts/common/io/vioscsi/ |
H A D | vioscsi.c | 358 req->vr_poll = ((pkt->pkt_flags & FLAG_NOINTR) != 0); in vioscsi_tran_start() 367 if (pkt->pkt_flags & (FLAG_HTAG|FLAG_HEAD)) { in vioscsi_tran_start() 369 } else if (pkt->pkt_flags & FLAG_OTAG) { in vioscsi_tran_start() 371 } else if (pkt->pkt_flags & FLAG_SENSING) { in vioscsi_tran_start()
|
/illumos-gate/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 2390 pkt->pkt_flags = flags; in make_dcd_cmd() 2683 (bp != un->un_sbufp || !(pkt->pkt_flags & FLAG_SILENT)); in dcd_handle_incomplete() 2738 if (bp == un->un_sbufp && (pkt->pkt_flags & FLAG_DIAGNOSE)) { in dcd_handle_incomplete() 3788 pkt->pkt_flags = 0; in dcdrestart() 4345 savef = pkt->pkt_flags; in dcd_poll() 4349 pkt->pkt_flags |= FLAG_NOINTR; in dcd_poll() 4383 pkt->pkt_flags = savef; in dcd_poll() 4451 pkt->pkt_flags |= FLAG_FORCENOINTR; in dcd_flush_cache() 4452 pkt->pkt_flags |= FLAG_NOINTR; in dcd_flush_cache()
|
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | atapi.c | 999 if (spktp->pkt_flags & FLAG_NOINTR) { in atapi_tran_start() 1006 if (spktp->pkt_flags & (FLAG_HTAG|FLAG_OTAG|FLAG_STAG)) { in atapi_tran_start()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/ |
H A D | tpgs.c | 297 pkt->pkt_flags |= FLAG_NOINTR; in std_path_activate()
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 3296 if (((spx->txlt_scsi_pkt->pkt_flags & FLAG_NOINTR) != 0 || flag != 0) && in sata_txlt_generic_pkt_info() 3357 if ((spx->txlt_scsi_pkt->pkt_flags & FLAG_NOINTR) != 0) { in sata_txlt_generic_pkt_info() 3369 if (spx->txlt_scsi_pkt->pkt_flags & FLAG_STAG) in sata_txlt_generic_pkt_info() 3372 else if (spx->txlt_scsi_pkt->pkt_flags & in sata_txlt_generic_pkt_info() 3491 if ((scsipkt->pkt_flags & FLAG_NOINTR) == 0 && in sata_txlt_invalid_command() 3541 if ((scsipkt->pkt_flags & FLAG_NOINTR) == 0 && in sata_txlt_check_condition() 3592 if ((spx->txlt_scsi_pkt->pkt_flags & FLAG_NOINTR) == 0 && in sata_txlt_nodata_cmd_immediate() 3969 if ((scsipkt->pkt_flags & FLAG_NOINTR) == 0 && in sata_txlt_inquiry() 4120 if ((scsipkt->pkt_flags & FLAG_NOINTR) == 0 && in sata_txlt_request_sense() 4214 if ((scsipkt->pkt_flags & FLAG_NOINTR) == 0 && in sata_txlt_test_unit_ready() [all …]
|