Home
last modified time | relevance | path

Searched refs:inq_dtype (Results 1 – 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_list.c185 uchar_t inq_dtype; in do_list() local
290 inq_dtype = get_inq_dtype(apidp->xport_phys, in do_list()
294 inq_dtype, &larg) != FPCFGA_OK) { in do_list()
380 inq_dtype = get_inq_dtype(apidp->xport_phys, dyncomp, in do_list()
384 dyncomp, inq_dtype, &larg)) != FPCFGA_OK) { in do_list()
645 inq.inq_dtype = inq.inq_dtype & DTYPE_MASK; in do_list_FCP_dev()
647 inq.inq_dtype = DTYPE_UNKNOWN; in do_list_FCP_dev()
649 inq.inq_dtype = ERR_INQ_DTYPE; in do_list_FCP_dev()
653 inq.inq_dtype, &larg) != FPCFGA_OK) { in do_list_FCP_dev()
732 inq.inq_dtype = inq.inq_dtype & DTYPE_MASK; in do_list_FCP_dev()
[all …]
H A Dcfga_cs.c746 inq.inq_dtype = DTYPE_UNKNOWN; in dev_change_state()
795 peri_qual = inq.inq_dtype & FP_PERI_QUAL_MASK; in dev_change_state()
818 inq.inq_dtype = DTYPE_UNKNOWN; in dev_change_state()
852 if (((inq.inq_dtype & DTYPE_MASK) == DTYPE_UNKNOWN) && in dev_change_state()
877 inq.inq_dtype, errstring)) != FPCFGA_OK) { in dev_change_state()
994 inq.inq_dtype, NULL); in dev_change_state()
1003 inq.inq_dtype, NULL); in dev_change_state()
/illumos-gate/usr/src/uts/common/sys/scsi/generic/
H A Dinquiry.h49 uchar_t inq_dtype; member
165 uchar_t inq_dtype;
/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c73 uchar_t inq_dtype; member
620 inq.inq_dtype = 0x1f; in fchba_non_encl_probe()
622 tmpPath->dtype = inq.inq_dtype; in fchba_non_encl_probe()
1062 inq.inq_dtype = 0x1f; in fchba_dump_map()
1066 inq.inq_dtype); in fchba_dump_map()
1806 switch ((inq.inq_dtype & DTYPE_MASK)) { in fchba_display_config()
1863 if ((inq.inq_dtype & DTYPE_MASK) == DTYPE_DIRECT) { in fchba_display_config()
1933 if ((inq.inq_dtype & DTYPE_MASK) != DTYPE_SEQUENTIAL) { in fchba_display_config()
1973 if ((inq.inq_dtype & DTYPE_MASK) < 0x10) { in fchba_display_config()
1975 dtype[inq.inq_dtype & DTYPE_MASK]); in fchba_display_config()
[all …]
H A Dg_adm.c673 (inq.inq_dtype & DTYPE_MASK)); in adm_display_config()
677 } else if ((((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)) && in adm_display_config()
689 (inq.inq_dtype & DTYPE_MASK)); in adm_display_config()
703 } else if (((inq.inq_dtype & DTYPE_MASK) == DTYPE_DIRECT) && in adm_display_config()
714 (inq.inq_dtype & DTYPE_MASK)); in adm_display_config()
741 } else if ((inq.inq_dtype & DTYPE_MASK) < 0x10) { in adm_display_config()
742 switch ((inq.inq_dtype & DTYPE_MASK)) { in adm_display_config()
747 (inq.inq_dtype & DTYPE_MASK)); in adm_display_config()
763 dtype[inq.inq_dtype & DTYPE_MASK]); in adm_display_config()
766 } else if ((inq.inq_dtype & DTYPE_MASK) < 0x1f) { in adm_display_config()
[all …]
H A Dlux_util.c892 } else if ((inq.inq_dtype & DTYPE_MASK) != DTYPE_ESI) { in print_inq_data()
903 (void) fprintf(stdout, "%s0x%x (", *p++, (inq.inq_dtype & DTYPE_MASK)); in print_inq_data()
904 if ((inq.inq_dtype & DTYPE_MASK) < 0x10) { in print_inq_data()
905 (void) fprintf(stdout, "%s", dtype[inq.inq_dtype & DTYPE_MASK]); in print_inq_data()
906 } else if ((inq.inq_dtype & DTYPE_MASK) < 0x1f) { in print_inq_data()
H A Dcommon.h285 uchar_t inq_dtype; member
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c130 ilp->lun_type = inq->inq_dtype & DTYPE_MASK; in iscsi_lun_create()
398 inq->inq_dtype, NULL, &nodename, &compatible, &ncompatible); in iscsi_lun_virt_create()
404 inq->inq_dtype); in iscsi_lun_virt_create()
516 inq->inq_dtype, NULL, &nodename, &compatible, &ncompatible); in iscsi_lun_phys_create()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dsym.c99 (stdinq->inq_dtype == DTYPE_DIRECT)) { in symmetric_device_probe()
H A Dtape.c68 switch (inquiry->inq_dtype & DTYPE_MASK) { in tape_device_probe()
H A Dtpgs_tape.c112 } else if (inq->inq_dtype != DTYPE_SEQUENTIAL) { in tpgs_tape_device_probe()
H A Dtpgs.c73 if (inq->inq_dtype == DTYPE_SEQUENTIAL) { in std_device_probe()
/illumos-gate/usr/src/cmd/sasinfo/
H A Dsasinfo.h104 uchar_t inq_dtype; member
H A Dsasinfo-list.c47 uchar_t inq_dtype; member
1807 TPMapData->inq_dtype = DTYPE_UNKNOWN; in searchTargetPortMappingData()
1864 TPMapData->inq_dtype = DTYPE_UNKNOWN; in searchTargetPortMappingData()
1872 TPMapData->inq_dtype = inq.inq_dtype; in searchTargetPortMappingData()
2392 newDevice->dType = inq.inq_dtype; in searchDevice()
H A DprintAttrs.c503 getDTypeString(mapList->inq_dtype)); in printTargetPortInfo()
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_scsi.h199 uchar_t inq_dtype; member
H A Dgfc.h227 uchar_t inq_dtype; member
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c767 int *inq_dtype, itype; in dev_di_node_add() local
955 &inq_dtype) > 0) { in dev_di_node_add()
956 dnode->ddn_dtype = *inq_dtype; in dev_di_node_add()
957 itype = (*inq_dtype) & DTYPE_MASK; in dev_di_node_add()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_init.c281 if (sd->inq_dtype == DTYPE_CHANGER) { in add_lib()
419 if (sd->inq_dtype == DTYPE_SEQUENTIAL) { in add_drv()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c825 int *inq_dtype; in get_device_type() local
834 &inq_dtype) == 1) { in get_device_type()
835 int itype = (*inq_dtype) & DTYPE_MASK; in get_device_type()
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmap.c1342 g_get_inq_dtype(char *fcapath, la_wwn_t pwwn, uchar_t *inq_dtype) in g_get_inq_dtype() argument
1406 *inq_dtype = inq_data.dev0_type; in g_get_inq_dtype()
1430 get_fca_inq_dtype(char *fcapath, la_wwn_t pwwn, uchar_t *inq_dtype) in get_fca_inq_dtype() argument
1469 *inq_dtype = inq_data.dev0_type; in get_fca_inq_dtype()
2020 uchar_t *inq_dtype, int err, int exist) in update_map_dev_FCP_prop() argument
2033 if (inq_dtype == NULL) { in update_map_dev_FCP_prop()
2042 memcpy(inq_dtype_data, inq_dtype, sizeof (uchar_t)); in update_map_dev_FCP_prop()
2082 uchar_t inq_dtype; in handle_map_dev_FCP_prop() local
2104 inq_dtype = inq_data.dev0_type; in handle_map_dev_FCP_prop()
2106 prop_list, &inq_dtype, 0, PROP_NOEXIST)) != 0) { in handle_map_dev_FCP_prop()
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c1813 inq_dtype & DTYPE_MASK; in scsa2usb_create_luns()
3119 } else if ((inq->inq_dtype == DTYPE_RODIRECT) || in scsa2usb_check_bulkonly_quirks()
3120 (inq->inq_dtype == DTYPE_OPTICAL)) { in scsa2usb_check_bulkonly_quirks()
3143 } else if (inq->inq_dtype == DTYPE_SEQUENTIAL) { in scsa2usb_check_bulkonly_quirks()
3357 inq_dtype & DTYPE_MASK) { in scsa2usb_handle_scsi_cmd_sub_class()
4376 inqp->inq_dtype = DTYPE_DIRECT; in scsa2usb_fake_inquiry()
5127 dtype = inq->inq_dtype & DTYPE_MASK; in scsa2usb_handle_data_done()
5159 [pkt->pkt_address.a_lun].inq_dtype); in scsa2usb_handle_data_done()
/illumos-gate/usr/src/uts/intel/io/dktp/dcdev/
H A Ddadk.c379 if (!devp->sd_inq || (devp->sd_inq->inq_dtype == DTYPE_NOTPRESENT) || in dadk_probe()
380 (devp->sd_inq->inq_dtype == DTYPE_UNKNOWN)) { in dadk_probe()
384 switch (devp->sd_inq->inq_dtype) { in dadk_probe()
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcinfo-list.c1111 discoveredDevList->dType = inq.inq_dtype; in searchDevice()
1233 newDevice->dType = inq.inq_dtype; in searchDevice()
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dmon.c1209 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)))) { in pwr_up_down()
1335 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)))) { in l_new_password()
1398 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)))) { in l_new_name()
1556 (((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI) && in l_get_box_list()
3846 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)))) { in l_get_status()
4589 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)))) { in l_set_wwn()

12