/linux-4.4.14/drivers/usb/storage/ |
D | usb.c | 358 else if (us->srb->device->lun > us->max_lun) { in usb_stor_control_thread() 660 us->max_lun = 7; in get_transport() 667 us->max_lun = 7; in get_transport() 690 us->max_lun = 0; in get_protocol() 696 us->max_lun = 0; in get_protocol() 702 us->max_lun = 0; in get_protocol() 900 us->max_lun = usb_stor_Bulk_max_lun(us); in usb_stor_scan_dwork() 905 if (us->max_lun >= 8) in usb_stor_scan_dwork() 906 us_to_host(us)->max_lun = us->max_lun+1; in usb_stor_scan_dwork() 1009 us->max_lun = 7; in usb_stor_probe2() [all …]
|
D | realtek_cr.c | 105 char max_lun; member 996 us->max_lun = chip->max_lun = rts51x_get_max_lun(us); in init_realtek_cr() 999 usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun); in init_realtek_cr() 1001 size = (chip->max_lun + 1) * sizeof(struct rts51x_status); in init_realtek_cr() 1006 for (i = 0; i <= (int)(chip->max_lun); i++) { in init_realtek_cr()
|
D | scsiglue.c | 108 if (us->protocol == USB_PR_BULK && us->max_lun > 0) in slave_alloc() 283 us->max_lun = 0; in slave_configure()
|
D | usb.h | 125 u8 max_lun; member
|
D | freecom.c | 546 us->max_lun = 0; in freecom_probe()
|
D | jumpshot.c | 669 us->max_lun = 1; in jumpshot_probe()
|
D | datafab.c | 744 us->max_lun = 1; in datafab_probe()
|
D | sddr09.c | 1762 us->max_lun = 1; in sddr09_probe() 1767 us->max_lun = 0; in sddr09_probe()
|
D | sddr55.c | 991 us->max_lun = 0; in sddr55_probe()
|
D | alauda.c | 1255 us->max_lun = 1; in alauda_probe()
|
D | uas.c | 926 shost->max_lun = 256; in uas_probe()
|
D | shuttle_usbat.c | 1860 us->max_lun = 0; in usbat_probe()
|
D | ene_ub6250.c | 2338 us->max_lun = 0; in ene_ub6250_probe()
|
/linux-4.4.14/include/uapi/linux/ |
D | virtio_scsi.h | 115 __u32 max_lun; member
|
/linux-4.4.14/drivers/scsi/ |
D | stex.c | 338 unsigned int max_lun; member 602 if (lun >= host->max_lun) { in stex_queuecommand_lck() 1402 .max_lun = 8, 1415 .max_lun = 1, 1428 .max_lun = 256, 1441 .max_lun = 1, 1454 .max_lun = 256, 1623 host->max_lun = ci->max_lun; in stex_probe()
|
D | scsi_scan.c | 1211 max_dev_lun = min(max_scsi_luns, shost->max_lun); in scsi_sequential_lun_scan() 1218 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan() 1245 max_dev_lun = shost->max_lun; in scsi_sequential_lun_scan() 1324 (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8)) in scsi_report_lun_scan() 1437 if (lun > sdev->host->max_lun) { in scsi_report_lun_scan() 1662 ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun))) in scsi_scan_host_selected()
|
D | eata.c | 668 unchar max_lun; member 691 unchar max_lun; /* Max SCSI LUN number */ member 1330 if (info.max_lun > 7 && info.max_lun < MAX_LUN) in port_detect() 1331 shost->max_lun = info.max_lun + 1; in port_detect() 1389 if (shost->max_id > 8 || shost->max_lun > 8) in port_detect() 1392 ha->board_name, shost->max_id, shost->max_lun); in port_detect() 1412 "raidnum %u.\n", name, info.max_lun, info.m1, in port_detect()
|
D | storvsc_drv.c | 1612 host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET; in storvsc_probe() 1618 host->max_lun = max_luns_per_target; in storvsc_probe() 1624 host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET; in storvsc_probe()
|
D | iscsi_tcp.c | 59 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO); 838 shost->max_lun = iscsi_max_lun; in iscsi_sw_tcp_session_create()
|
D | ps3rom.c | 395 host->max_lun = 1; in ps3rom_probe()
|
D | hosts.c | 419 shost->max_lun = 8; in scsi_host_alloc()
|
D | virtio_scsi.c | 1004 shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000; in virtscsi_probe()
|
D | u14-34f.c | 958 sh[j]->max_lun = MAX_LUN; in port_detect() 1008 if (sh[j]->max_id > 8 || sh[j]->max_lun > 8) in port_detect() 1010 BN(j), sh[j]->max_id, sh[j]->max_lun); in port_detect()
|
D | eata_pio.c | 773 sh->max_lun = 8; in register_pio_HBA()
|
D | a100u2w.c | 1154 shost->max_lun = 16; in inia100_probe_one()
|
D | dc395x.c | 1097 cmd->device->lun >= acb->scsi_host->max_lun || in dc395x_queue_command_lck() 4436 host->max_lun = 8; in adapter_init_scsi_host() 4438 host->max_lun = 1; in adapter_init_scsi_host() 4638 seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun); in dc395x_show_info()
|
D | xen-scsifront.c | 865 host->max_lun = VSCSIIF_MAX_LUN; in scsifront_probe()
|
D | vmw_pvscsi.c | 1439 host->max_lun = 1; in pvscsi_probe()
|
D | megaraid.c | 288 adapter->host->max_lun = 7; /* Up to 7 luns for non disk devices */ in mega_query_adapter() 1861 (u32)adapter->host->max_lun); in megaraid_info()
|
D | 3w-sas.c | 1632 host->max_lun = TW_MAX_LUNS; in twl_probe()
|
D | gdth.c | 4784 shp->max_lun = MAXLUN; in gdth_isa_probe_one() 4915 shp->max_lun = MAXLUN; in gdth_eisa_probe_one() 5059 shp->max_lun = MAXLUN; in gdth_pci_probe_one()
|
D | 3w-xxxx.c | 2307 host->max_lun = 0; in tw_probe()
|
D | hptiop.c | 1348 host->max_lun = 128; in hptiop_probe()
|
D | 53c700.c | 370 host->max_lun = NCR_700_MAX_LUNS; in NCR_700_detect()
|
D | 3w-9xxx.c | 2085 host->max_lun = TW_MAX_LUNS(tw_dev->tw_compat_info.working_srl); in twa_probe()
|
D | scsi_debug.c | 704 hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1; in sdebug_max_tgts_luns() 5344 hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1; in sdebug_driver_probe()
|
D | esp_scsi.c | 2400 esp->host->max_lun = ESP_MAX_LUN; in scsi_esp_register()
|
D | initio.c | 2927 shost->max_lun = 32; /* 10/21/97 */ in initio_probe_one()
|
D | advansys.c | 3187 shost->max_lun, shost->max_channel); in asc_prt_driver_conf() 11186 shost->max_lun = ASC_MAX_LUN + 1; in advansys_board_found() 11197 shost->max_lun = ADV_MAX_LUN + 1; in advansys_board_found()
|
D | BusLogic.c | 2300 host->max_lun = adapter->maxlun; in blogic_inithoststruct()
|
D | dpt_i2o.c | 2361 host->max_lun = 256; in adpt_scsi_host_alloc()
|
D | qla1280.c | 4308 host->max_lun = MAX_LUNS - 1; in qla1280_probe_one()
|
D | atp870u.c | 2909 shpnt->max_lun = (p->global_map[0] & 0x07) + 1; in atp870u_probe()
|
D | scsi_transport_fc.c | 2135 ((lun != SCAN_WILD_CARD) && (lun > shost->max_lun))) in fc_user_scan()
|
D | pmcraid.c | 5869 host->max_lun = PMCRAID_MAX_NUM_LUNS_PER_TARGET; in pmcraid_probe()
|
D | ipr.c | 9726 host->max_lun = IPR_MAX_SIS64_LUNS_PER_TARGET; in ipr_init_ioa_cfg() 9734 host->max_lun = IPR_MAX_NUM_LUNS_PER_TARGET; in ipr_init_ioa_cfg()
|
D | ncr53c8xx.c | 8402 instance->max_lun = SCSI_NCR_MAX_LUN;
|
D | ips.c | 6737 sh->max_lun = ha->nlun; in ips_register_scsi()
|
D | hpsa.c | 5275 sh->max_lun = HPSA_MAX_LUN; in hpsa_scsi_host_alloc()
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | mega_common.h | 175 uint8_t max_lun; member
|
D | megaraid_mbox.c | 655 host->max_lun = adapter->max_lun; in megaraid_io_attach() 3023 adapter->max_lun = 8; // up to 8 LUNs for non-disk devices in megaraid_mbox_product_info()
|
D | megaraid_sas_base.c | 5258 host->max_lun = MEGASAS_MAX_LUN; in megasas_io_attach()
|
/linux-4.4.14/drivers/infiniband/ulp/iser/ |
D | iscsi_iser.c | 93 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO); 94 MODULE_PARM_DESC(max_lun, "Max LUNs to allow per session (default:512"); 622 shost->max_lun = iscsi_max_lun; in iscsi_iser_session_create()
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptfc.c | 90 static int max_lun = MPTFC_MAX_LUN; variable 91 module_param(max_lun, int, 0); 92 MODULE_PARM_DESC(max_lun, " max lun, default=16895 "); 1260 sh->max_lun = max_lun; in mptfc_probe()
|
D | mptsas.c | 91 static int max_lun = MPTSAS_MAX_LUN; variable 92 module_param(max_lun, int, 0); 93 MODULE_PARM_DESC(max_lun, " max lun, default=16895 "); 5211 sh->max_lun = max_lun; in mptsas_probe()
|
D | mptspi.c | 1452 sh->max_lun = MPT_LAST_LUN + 1; in mptspi_probe()
|
/linux-4.4.14/drivers/staging/rts5208/ |
D | rtsx.c | 461 else if (chip->srb->device->lun > chip->max_lun) { in rtsx_control_thread() 956 host->max_lun = dev->chip->max_lun; in rtsx_probe()
|
D | rtsx_chip.c | 59 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_card_int() 83 for (i = 0; i <= chip->max_lun; i++) { in rtsx_enable_bus_int() 1052 chip->max_lun = 1; in rtsx_init_chip() 1059 chip->max_lun = 0; in rtsx_init_chip() 1065 chip->max_lun = 0; in rtsx_init_chip()
|
D | rtsx_chip.h | 695 char max_lun; member
|
D | sd.c | 4294 buf[15] = chip->max_lun;
|
/linux-4.4.14/include/scsi/ |
D | scsi_host.h | 598 u64 max_lun; member
|
/linux-4.4.14/drivers/staging/unisys/include/ |
D | iochannel.h | 179 u32 max_lun; /* maximum SCSI LUN for devices attached to this member
|
/linux-4.4.14/drivers/staging/unisys/visorhba/ |
D | visorhba_main.c | 1112 scsihost->max_lun = (unsigned)max.max_lun; in visorhba_probe()
|
/linux-4.4.14/drivers/scsi/isci/ |
D | init.c | 595 shost->max_lun = ~0; in isci_host_alloc()
|
/linux-4.4.14/drivers/s390/scsi/ |
D | zfcp_scsi.c | 330 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic_main.c | 535 shost->max_lun = snic->config.luns_per_tgt; in snic_probe()
|
/linux-4.4.14/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 49 static u64 max_lun = IBMVFC_MAX_LUN; variable 74 module_param_named(max_lun, max_lun, ullong, S_IRUGO); 75 MODULE_PARM_DESC(max_lun, "Maximum allowed LUN. " 4763 shost->max_lun = max_lun; in ibmvfc_probe()
|
D | ibmvscsi.c | 2292 host->max_lun = IBMVSCSI_MAX_LUN; in ibmvscsi_probe() 2299 host->max_id, host->max_lun, host->max_channel); in ibmvscsi_probe()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 493 host->max_lun = ql2xmaxlun; in qla24xx_create_vhost()
|
D | qla_os.c | 2618 host->max_lun = 0xffff; in qla2x00_probe_one() 2620 host->max_lun = ql2xmaxlun; in qla2x00_probe_one() 2629 host->max_cmd_len, host->max_channel, host->max_lun, in qla2x00_probe_one()
|
/linux-4.4.14/drivers/scsi/mvsas/ |
D | mv_init.c | 463 shost->max_lun = ~0; in mvs_prep_sas_ha_init()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_init.c | 637 shost->max_lun = CSIO_MAX_LUN; in csio_shost_init()
|
/linux-4.4.14/drivers/target/loopback/ |
D | tcm_loop.c | 406 sh->max_lun = 0; in tcm_loop_driver_probe()
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 337 int cxgbi_hbas_add(struct cxgbi_device *cdev, u64 max_lun, in cxgbi_hbas_add() argument 357 shost->max_lun = max_lun; in cxgbi_hbas_add()
|
/linux-4.4.14/drivers/scsi/aic94xx/ |
D | aic94xx_init.c | 763 shost->max_lun = ~0; in asd_pci_probe()
|
/linux-4.4.14/drivers/scsi/fnic/ |
D | fnic_main.c | 699 host->max_lun = fnic->config.luns_per_tgt; in fnic_probe()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_im.c | 550 im_port->shost->max_lun = MAX_FCP_LUN; in bfad_im_scsi_host_alloc()
|
/linux-4.4.14/drivers/scsi/aacraid/ |
D | linit.c | 1290 shost->max_lun = AAC_MAX_LUN; in aac_probe_one()
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_scsih.c | 118 static u64 max_lun = MPT3SAS_MAX_LUN; variable 119 module_param(max_lun, ullong, 0); 120 MODULE_PARM_DESC(max_lun, " max lun, default=16895 "); 8543 shost->max_lun = max_lun; in _scsih_probe()
|
/linux-4.4.14/drivers/scsi/pm8001/ |
D | pm8001_init.c | 567 shost->max_lun = 8; in pm8001_prep_sas_ha_init()
|
/linux-4.4.14/drivers/scsi/esas2r/ |
D | esas2r_main.c | 407 host->max_lun = 255; in esas2r_probe()
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_glue.c | 1367 shost->max_lun = SYM_CONF_MAX_LUN; in sym_attach()
|
/linux-4.4.14/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 798 shost->max_lun = 512; in bnx2i_alloc_hba()
|
/linux-4.4.14/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 1109 host->max_lun = AHC_NUM_LUNS; in ahc_linux_register_host()
|
D | aic79xx_core.c | 5944 u_int max_lun; in ahd_handle_devreset() local 5948 max_lun = AHD_NUM_LUNS - 1; in ahd_handle_devreset() 5951 max_lun = lun; in ahd_handle_devreset() 5953 for (;cur_lun <= max_lun; cur_lun++) { in ahd_handle_devreset()
|
D | aic79xx_osm.c | 1245 host->max_lun = AHD_NUM_LUNS; in ahd_linux_register_host()
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe.c | 735 lport->host->max_lun = FCOE_MAX_LUN; in fcoe_shost_config()
|
/linux-4.4.14/drivers/scsi/cxlflash/ |
D | main.c | 2375 host->max_lun = CXLFLASH_MAX_NUM_LUNS_PER_TARGET; in cxlflash_probe()
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 686 shost->max_lun = BNX2FC_MAX_LUN; in bnx2fc_shost_config()
|
/linux-4.4.14/drivers/ata/ |
D | libata-scsi.c | 3686 shost->max_lun = 1; in ata_scsi_add_hosts()
|
/linux-4.4.14/Documentation/scsi/ |
D | ChangeLog.lpfc | 499 * Reduced max_lun to 256 (due to issues reported to some arrays). 1073 max_lun has been removed. max_target is replaced with a #define,
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 3207 target_host->max_lun = -1LL; in srp_create_target()
|
/linux-4.4.14/drivers/scsi/arcmsr/ |
D | arcmsr_hba.c | 713 host->max_lun = ARCMSR_MAX_TARGETLUN; in arcmsr_probe()
|
/linux-4.4.14/drivers/scsi/ufs/ |
D | ufshcd.c | 5579 host->max_lun = UFS_MAX_LUNS; in ufshcd_init()
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_main.c | 591 shost->max_lun = BEISCSI_NUM_MAX_LUN; in beiscsi_hba_alloc()
|
/linux-4.4.14/drivers/scsi/qla4xxx/ |
D | ql4_os.c | 8693 host->max_lun = MAX_LUNS - 1; in qla4xxx_probe_adapter()
|
/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_init.c | 3311 shost->max_lun = vport->cfg_max_luns; in lpfc_create_port()
|