/titanic_50/usr/src/uts/sun/io/dada/impl/ |
H A D | dcd_resource.c | 70 kmflag = (callback == SLEEP_FUNC) ? KM_SLEEP: KM_NOSLEEP; in dcd_alloc_consistent_buf() 94 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_alloc_consistent_buf() 134 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; in dcd_init_pkt() 140 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_init_pkt() 173 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC: NULL_FUNC; in dcd_resalloc() 178 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_resalloc() 196 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC: NULL_FUNC; in dcd_pktalloc() 201 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_pktalloc() 216 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; in dcd_dmaget() 223 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_dmaget()
|
H A D | dcd_hba.c | 331 if (callback != SLEEP_FUNC && callback != NULL_FUNC) { in dcd_hba_pkt_alloc() 349 (callback = SLEEP_FUNC) ? KM_SLEEP: KM_NOSLEEP); in dcd_hba_pkt_alloc()
|
/titanic_50/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_resource.c | 56 kmflag = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; in scsi_alloc_consistent_buf() 83 ((callback == SLEEP_FUNC) ? 1 : 0), 0, NULL, in scsi_alloc_consistent_buf() 85 if (callback == SLEEP_FUNC) { in scsi_alloc_consistent_buf() 104 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_alloc_consistent_buf() 277 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; in scsi_init_cache_pkt() 282 if (callback == SLEEP_FUNC) in scsi_init_cache_pkt() 391 ASSERT(SLEEP_FUNC == DDI_DMA_SLEEP); in scsi_init_cache_pkt() 507 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_init_cache_pkt() 582 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; in scsi_init_pkt() 587 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_init_pkt() [all …]
|
H A D | scsi_watch.c | 278 sense_length, B_READ, SLEEP_FUNC, NULL); in scsi_watch_request_submit_impl() 281 bp, CDB_GROUP0, 1, 0, PKT_CONSISTENT, SLEEP_FUNC, NULL); in scsi_watch_request_submit_impl() 302 8, B_READ, SLEEP_FUNC, NULL); in scsi_watch_request_submit_impl() 306 0, 0, SLEEP_FUNC, NULL); in scsi_watch_request_submit_impl() 316 0, 0, SLEEP_FUNC, NULL); in scsi_watch_request_submit_impl() 323 0, 0, SLEEP_FUNC, NULL); in scsi_watch_request_submit_impl()
|
H A D | scsi_subr.c | 349 ((func == SLEEP_FUNC) ? 1 : 0), 0, NULL, &local.b_un.b_addr, &rlen, in get_pktiopb() 358 (func == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC, NULL); in get_pktiopb()
|
H A D | scsi_hba.c | 800 kmflag == KM_SLEEP ? SLEEP_FUNC: NULL_FUNC, NULL, in scsi_hba_pkt_constructor() 2605 if (callback != SLEEP_FUNC && callback != NULL_FUNC) in scsi_hba_pkt_alloc() 2620 (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP); in scsi_hba_pkt_alloc() 6397 sp = scsi_probe(sdprobe, SLEEP_FUNC); in scsi_device_config() 6431 if (scsi_device_identity(sdprobe, SLEEP_FUNC)) { in scsi_device_config() 6554 sp = scsi_probe(sdchild, SLEEP_FUNC); in scsi_device_config() 6653 sp = scsi_hba_probe_pi(sdchild, SLEEP_FUNC, pi); in scsi_device_config() 7018 (struct buf *)NULL, bsize, B_READ, SLEEP_FUNC, NULL); in scsi_device_reportluns() 7027 SLEEP_FUNC, NULL); in scsi_device_reportluns()
|
/titanic_50/usr/src/uts/sun/io/dada/conf/ |
H A D | dcd_confsubr.c | 120 kmem_alloc(SUN_IDENTSIZE, ((callback == SLEEP_FUNC)? in dcd_hba_probe() 127 if (callback != SLEEP_FUNC && callback != NULL_FUNC) { in dcd_hba_probe()
|
/titanic_50/usr/src/uts/sun/sys/dada/ |
H A D | dada_resource.h | 47 #define SLEEP_FUNC ((int (*)())1) macro
|
/titanic_50/usr/src/uts/common/sys/scsi/ |
H A D | scsi_resource.h | 48 #define SLEEP_FUNC ((int (*)())1) macro
|
/titanic_50/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 1100 kmem_alloc(SUN_INQSIZE, ((callback == SLEEP_FUNC) ? in scsi_hba_probe_pi() 1107 if (callback != SLEEP_FUNC && callback != NULL_FUNC) { in scsi_hba_probe_pi() 2022 ((callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP)); in scsi_device_identity() 2045 ((callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP)); in scsi_device_identity() 2103 ((callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP)); in check_vpd_page_support8083() 2167 if (callback != SLEEP_FUNC && callback != NULL_FUNC) in send_scsi_INQUIRY()
|
/titanic_50/usr/src/uts/common/io/scsi/targets/ |
H A D | ses.c | 270 switch (err = scsi_probe(devp, SLEEP_FUNC)) { in ses_probe() 416 err = scsi_probe(devp, SLEEP_FUNC); in ses_doattach() 460 NULL, MAX_SENSE_LENGTH, B_READ, SLEEP_FUNC, NULL); in ses_doattach() 464 SLEEP_FUNC, NULL); in ses_doattach() 1021 ses_get_pkt(bp, SLEEP_FUNC); in ses_start()
|
H A D | sgen.c | 748 MAX_SENSE_LENGTH, B_READ, SLEEP_FUNC, NULL)) == NULL) { in sgen_setup_sense() 753 CDB_GROUP0, 1, 0, PKT_CONSISTENT, SLEEP_FUNC, NULL)) == NULL) { in sgen_setup_sense() 1475 SLEEP_FUNC, /* callback */ in sgen_make_uscsi_cmd()
|
/titanic_50/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_scsa.c | 184 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); in ghd_tran_init_pkt_attr()
|
/titanic_50/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_transport.c | 237 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); in cpqary3_init_pkt() 343 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); in cpqary3_dma_alloc()
|
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 2501 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); in scsa2usb_scsi_init_pkt() 2556 if ((bp_mapin_common(bp, (callback == SLEEP_FUNC) ? in scsa2usb_scsi_init_pkt() 3493 PKT_PRIV_LEN, PKT_CONSISTENT, SLEEP_FUNC, NULL)) == NULL) { in scsa2usb_do_tur() 4284 len, B_READ, SLEEP_FUNC, NULL)) == NULL) { in scsa2usb_do_inquiry() 4294 PKT_PRIV_LEN, PKT_CONSISTENT, SLEEP_FUNC, NULL); in scsa2usb_do_inquiry() 4405 SENSE_LENGTH, B_READ, SLEEP_FUNC, NULL)) == NULL) { in scsa2usb_create_arq_pkt() 4412 PKT_PRIV_LEN, PKT_CONSISTENT, SLEEP_FUNC, NULL)); in scsa2usb_create_arq_pkt()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci_tpgs.c | 261 sizeof (struct scsi_arq_status), 0, 0, SLEEP_FUNC, NULL); in vhci_tpgs_inquiry()
|
H A D | scsi_vhci.c | 1358 sizeof (struct scsi_arq_status), 0, 0, SLEEP_FUNC, in vhci_scsi_start() 2012 if (callback == SLEEP_FUNC) { in vhci_scsi_init_pkt() 2594 SLEEP_FUNC, NULL); in vhci_do_prout() 5108 if (scsi_probe(psd, SLEEP_FUNC) != SCSIPROBE_EXISTS) { in vhci_pathinfo_online() 5214 SLEEP_FUNC, NULL); in vhci_pathinfo_online() 8545 stat_size, 0, 0, SLEEP_FUNC, NULL); in vhci_uscsi_iostart()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_hba.c | 300 int kmflags = callback == SLEEP_FUNC ? KM_SLEEP : KM_NOSLEEP; in smrt_tran_setup_pkt()
|
/titanic_50/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 1829 spkt = sata_pkt_alloc(spx, SLEEP_FUNC); in sata_get_rdwr_pmult_pkt() 13071 B_READ, SLEEP_FUNC, NULL); in sata_alloc_local_buffer() 13087 SLEEP_FUNC, NULL, &cur_dma_attr) != DDI_SUCCESS) { in sata_alloc_local_buffer() 13134 kmsflag = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; in sata_pkt_alloc() 13712 spkt = sata_pkt_alloc(spx, SLEEP_FUNC); in sata_fetch_device_identify_data() 14006 spkt = sata_pkt_alloc(spx, SLEEP_FUNC); in sata_set_dma_mode() 14085 spkt = sata_pkt_alloc(spx, SLEEP_FUNC); in sata_set_cache_mode() 14170 spkt = sata_pkt_alloc(spx, SLEEP_FUNC); in sata_set_rmsn() 16718 spkt = sata_pkt_alloc(spx, SLEEP_FUNC); in sata_fetch_smart_return_status() 16822 spkt = sata_pkt_alloc(spx, SLEEP_FUNC); in sata_fetch_smart_data() [all …]
|
/titanic_50/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 1286 int kf = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; in scsa1394_scsi_init_pkt() 1519 int kf = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; in scsa1394_cmd_buf_dma_alloc()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | emul64.c | 816 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); in emul64_scsi_init_pkt()
|
/titanic_50/usr/src/uts/sun/io/dada/targets/ |
H A D | dad.c | 535 if (dcd_doattach(devi, SLEEP_FUNC) == DDI_FAILURE) { in dcdattach() 3446 2, PP_LEN, PKT_CONSISTENT, SLEEP_FUNC, (caddr_t)un); in dcdioctl()
|
/titanic_50/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 2085 kf = (callback == SLEEP_FUNC)? KM_SLEEP: KM_NOSLEEP; in fas_scsi_init_pkt() 6967 SENSE_LENGTH, B_READ, SLEEP_FUNC, NULL); in fas_create_arq_pkt() 6970 PKT_CONSISTENT, SLEEP_FUNC, NULL)); in fas_create_arq_pkt()
|
H A D | sf.c | 1445 kf = (callback == SLEEP_FUNC)? KM_SLEEP: KM_NOSLEEP; in sf_scsi_init_pkt() 2032 if (func == SLEEP_FUNC) { in sf_cr_alloc()
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi.c | 827 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); in iscsi_tran_init_pkt()
|