max_lun          4545 drivers/ata/libata-scsi.c 		shost->max_lun = 1;
max_lun            93 drivers/infiniband/ulp/iser/iscsi_iser.c module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
max_lun            94 drivers/infiniband/ulp/iser/iscsi_iser.c MODULE_PARM_DESC(max_lun, "Max LUNs to allow per session (default:512");
max_lun           622 drivers/infiniband/ulp/iser/iscsi_iser.c 	shost->max_lun = iscsi_max_lun;
max_lun          3791 drivers/infiniband/ulp/srp/ib_srp.c 	target_host->max_lun     = -1LL;
max_lun            90 drivers/message/fusion/mptfc.c static int max_lun = MPTFC_MAX_LUN;
max_lun            91 drivers/message/fusion/mptfc.c module_param(max_lun, int, 0);
max_lun            92 drivers/message/fusion/mptfc.c MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
max_lun          1252 drivers/message/fusion/mptfc.c 	sh->max_lun = max_lun;
max_lun            91 drivers/message/fusion/mptsas.c static int max_lun = MPTSAS_MAX_LUN;
max_lun            92 drivers/message/fusion/mptsas.c module_param(max_lun, int, 0);
max_lun            93 drivers/message/fusion/mptsas.c MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
max_lun          5206 drivers/message/fusion/mptsas.c 	sh->max_lun = max_lun;
max_lun          1446 drivers/message/fusion/mptspi.c 	sh->max_lun = MPT_LAST_LUN + 1;
max_lun           477 drivers/s390/scsi/zfcp_scsi.c 	adapter->scsi_host->max_lun = 0xFFFFFFFF;
max_lun          2092 drivers/scsi/3w-9xxx.c 	host->max_lun = TW_MAX_LUNS(tw_dev->tw_compat_info.working_srl);
max_lun          1631 drivers/scsi/3w-sas.c 	host->max_lun = TW_MAX_LUNS;
max_lun          2321 drivers/scsi/3w-xxxx.c 	host->max_lun = 0;
max_lun           355 drivers/scsi/53c700.c 	host->max_lun = NCR_700_MAX_LUNS;
max_lun          2295 drivers/scsi/BusLogic.c 	host->max_lun = adapter->maxlun;
max_lun           386 drivers/scsi/NCR5380.c 	instance->max_lun = 7;
max_lun          1155 drivers/scsi/a100u2w.c 	shost->max_lun = 16;
max_lun          1782 drivers/scsi/aacraid/linit.c 	shost->max_lun = AAC_MAX_LUN;
max_lun          3183 drivers/scsi/advansys.c 		   shost->max_lun, shost->max_channel);
max_lun          11174 drivers/scsi/advansys.c 		shost->max_lun = ASC_MAX_LUN + 1;
max_lun          11185 drivers/scsi/advansys.c 		shost->max_lun = ADV_MAX_LUN + 1;
max_lun          5938 drivers/scsi/aic7xxx/aic79xx_core.c 		u_int max_lun;
max_lun          5942 drivers/scsi/aic7xxx/aic79xx_core.c 			max_lun = AHD_NUM_LUNS - 1;
max_lun          5945 drivers/scsi/aic7xxx/aic79xx_core.c 			max_lun = lun;
max_lun          5947 drivers/scsi/aic7xxx/aic79xx_core.c 		for (;cur_lun <= max_lun; cur_lun++) {
max_lun          1244 drivers/scsi/aic7xxx/aic79xx_osm.c 	host->max_lun = AHD_NUM_LUNS;
max_lun          1107 drivers/scsi/aic7xxx/aic7xxx_osm.c 	host->max_lun = AHC_NUM_LUNS;
max_lun           740 drivers/scsi/aic94xx/aic94xx_init.c 	shost->max_lun = ~0;
max_lun           979 drivers/scsi/arcmsr/arcmsr_hba.c 	host->max_lun = ARCMSR_MAX_TARGETLUN;
max_lun          1491 drivers/scsi/atp870u.c 	shpnt->max_lun = (atpdev->global_map[0] & 0x07) + 1;
max_lun           422 drivers/scsi/be2iscsi/be_main.c 	shost->max_lun = BEISCSI_NUM_MAX_LUN;
max_lun           562 drivers/scsi/bfa/bfad_im.c 	im_port->shost->max_lun = MAX_FCP_LUN;
max_lun           738 drivers/scsi/bnx2fc/bnx2fc_fcoe.c 	shost->max_lun = bnx2fc_max_luns;
max_lun           798 drivers/scsi/bnx2i/bnx2i_iscsi.c 	shost->max_lun = 512;
max_lun           633 drivers/scsi/csiostor/csio_init.c 	shost->max_lun = CSIO_MAX_LUN;
max_lun           339 drivers/scsi/cxgbi/libcxgbi.c int cxgbi_hbas_add(struct cxgbi_device *cdev, u64 max_lun,
max_lun           359 drivers/scsi/cxgbi/libcxgbi.c 		shost->max_lun = max_lun;
max_lun          3689 drivers/scsi/cxlflash/main.c 	host->max_lun = CXLFLASH_MAX_NUM_LUNS_PER_TARGET;
max_lun           993 drivers/scsi/dc395x.c 	    cmd->device->lun >= acb->scsi_host->max_lun ||
max_lun          4327 drivers/scsi/dc395x.c 		host->max_lun = 8;
max_lun          4329 drivers/scsi/dc395x.c 		host->max_lun = 1;
max_lun          4529 drivers/scsi/dc395x.c 	seq_printf(m, "MaxID %i, MaxLUN %llu, ", host->max_id, host->max_lun);
max_lun          2332 drivers/scsi/dpt_i2o.c 	host->max_lun = 256;
max_lun           405 drivers/scsi/esas2r/esas2r_main.c 	host->max_lun = 255;
max_lun          2392 drivers/scsi/esp_scsi.c 	esp->host->max_lun = ESP_MAX_LUN;
max_lun           770 drivers/scsi/fcoe/fcoe.c 	lport->host->max_lun = FCOE_MAX_LUN;
max_lun           705 drivers/scsi/fnic/fnic_main.c 	host->max_lun = fnic->config.luns_per_tgt;
max_lun          4185 drivers/scsi/gdth.c 	shp->max_lun     = MAXLUN;
max_lun          2644 drivers/scsi/hisi_sas/hisi_sas_main.c 	shost->max_lun = ~0;
max_lun          3214 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	shost->max_lun = ~0;
max_lun           401 drivers/scsi/hosts.c 	shost->max_lun = 8;
max_lun          5803 drivers/scsi/hpsa.c 	sh->max_lun = HPSA_MAX_LUN;
max_lun          1340 drivers/scsi/hptiop.c 	host->max_lun = 128;
max_lun            36 drivers/scsi/ibmvscsi/ibmvfc.c static u64 max_lun = IBMVFC_MAX_LUN;
max_lun            62 drivers/scsi/ibmvscsi/ibmvfc.c module_param_named(max_lun, max_lun, ullong, S_IRUGO);
max_lun            63 drivers/scsi/ibmvscsi/ibmvfc.c MODULE_PARM_DESC(max_lun, "Maximum allowed LUN. "
max_lun          4760 drivers/scsi/ibmvscsi/ibmvfc.c 	shost->max_lun = max_lun;
max_lun          2254 drivers/scsi/ibmvscsi/ibmvscsi.c 	host->max_lun = IBMVSCSI_MAX_LUN;
max_lun          2261 drivers/scsi/ibmvscsi/ibmvscsi.c 		 host->max_id, host->max_lun, host->max_channel);
max_lun          2896 drivers/scsi/initio.c 	shost->max_lun = 32;	/* 10/21/97                     */
max_lun          9952 drivers/scsi/ipr.c 		host->max_lun = IPR_MAX_SIS64_LUNS_PER_TARGET;
max_lun          9961 drivers/scsi/ipr.c 		host->max_lun = IPR_MAX_NUM_LUNS_PER_TARGET;
max_lun          6683 drivers/scsi/ips.c 	sh->max_lun = ha->nlun;
max_lun           576 drivers/scsi/isci/init.c 	shost->max_lun = ~0;
max_lun            53 drivers/scsi/iscsi_tcp.c module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
max_lun           854 drivers/scsi/iscsi_tcp.c 	shost->max_lun = iscsi_max_lun;
max_lun          4304 drivers/scsi/lpfc/lpfc_init.c 	shost->max_lun = vport->cfg_max_luns;
max_lun           283 drivers/scsi/megaraid.c 	adapter->host->max_lun = 7;	/* Up to 7 luns for non disk devices */
max_lun          1859 drivers/scsi/megaraid.c 		 (u32)adapter->host->max_lun);
max_lun           171 drivers/scsi/megaraid/mega_common.h 	uint8_t			max_lun;
max_lun           639 drivers/scsi/megaraid/megaraid_mbox.c 	host->max_lun		= adapter->max_lun;
max_lun          2965 drivers/scsi/megaraid/megaraid_mbox.c 	adapter->max_lun	= 8;	// up to 8 LUNs for non-disk devices
max_lun          6778 drivers/scsi/megaraid/megaraid_sas_base.c 	host->max_lun = MEGASAS_MAX_LUN;
max_lun           125 drivers/scsi/mpt3sas/mpt3sas_scsih.c static u64 max_lun = MPT3SAS_MAX_LUN;
max_lun           126 drivers/scsi/mpt3sas/mpt3sas_scsih.c module_param(max_lun, ullong, 0444);
max_lun           127 drivers/scsi/mpt3sas/mpt3sas_scsih.c MODULE_PARM_DESC(max_lun, " max lun, default=16895 ");
max_lun          10573 drivers/scsi/mpt3sas/mpt3sas_scsih.c 	shost->max_lun = max_lun;
max_lun           432 drivers/scsi/mvsas/mv_init.c 	shost->max_lun = ~0;
max_lun          3514 drivers/scsi/myrb.c 	shost->max_lun = 256;
max_lun          1948 drivers/scsi/myrs.c 	shost->max_lun = 256;
max_lun          8391 drivers/scsi/ncr53c8xx.c 	instance->max_lun	= SCSI_NCR_MAX_LUN;
max_lun           544 drivers/scsi/pm8001/pm8001_init.c 	shost->max_lun = 8;
max_lun          5731 drivers/scsi/pmcraid.c 	host->max_lun = PMCRAID_MAX_NUM_LUNS_PER_TARGET;
max_lun           382 drivers/scsi/ps3rom.c 	host->max_lun = 1;
max_lun            76 drivers/scsi/qedf/qedf_main.c module_param_named(max_lun, qedf_max_lun, int, S_IRUGO);
max_lun            77 drivers/scsi/qedf/qedf_main.c MODULE_PARM_DESC(max_lun, " Sets the maximum luns per target that the driver "
max_lun          1781 drivers/scsi/qedf/qedf_main.c 	vn_port->host->max_lun = qedf_max_lun;
max_lun          3394 drivers/scsi/qedf/qedf_main.c 		host->max_lun = qedf_max_lun;
max_lun           636 drivers/scsi/qedi/qedi_main.c 	shost->max_lun = ~0;
max_lun          4232 drivers/scsi/qla1280.c 	host->max_lun = MAX_LUNS - 1;
max_lun           532 drivers/scsi/qla2xxx/qla_mid.c 	host->max_lun = ql2xmaxlun;
max_lun          3133 drivers/scsi/qla2xxx/qla_os.c 		host->max_lun = 0xffff;
max_lun          3135 drivers/scsi/qla2xxx/qla_os.c 		host->max_lun = ql2xmaxlun;
max_lun          3144 drivers/scsi/qla2xxx/qla_os.c 	    host->max_cmd_len, host->max_channel, host->max_lun,
max_lun          8697 drivers/scsi/qla4xxx/ql4_os.c 	host->max_lun = MAX_LUNS - 1;
max_lun           758 drivers/scsi/scsi_debug.c 		hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1;
max_lun          5812 drivers/scsi/scsi_debug.c 	hpnt->max_lun = SCSI_W_LUN_REPORT_LUNS + 1;
max_lun          1208 drivers/scsi/scsi_scan.c 	max_dev_lun = min(max_scsi_luns, shost->max_lun);
max_lun          1215 drivers/scsi/scsi_scan.c 		max_dev_lun = shost->max_lun;
max_lun          1242 drivers/scsi/scsi_scan.c 		max_dev_lun = shost->max_lun;
max_lun          1316 drivers/scsi/scsi_scan.c 	    (!(bflags & BLIST_REPORTLUN2) || shost->max_lun <= 8))
max_lun          1426 drivers/scsi/scsi_scan.c 		if (lun > sdev->host->max_lun) {
max_lun          1668 drivers/scsi/scsi_scan.c 	    ((lun != SCAN_WILD_CARD) && (lun >= shost->max_lun)))
max_lun          2126 drivers/scsi/scsi_transport_fc.c 	    ((lun != SCAN_WILD_CARD) && (lun > shost->max_lun)))
max_lun          6512 drivers/scsi/smartpqi/smartpqi_init.c 	shost->max_lun = ~0;
max_lun           516 drivers/scsi/snic/snic_main.c 	shost->max_lun = snic->config.luns_per_tgt;
max_lun           354 drivers/scsi/stex.c 	unsigned int max_lun;
max_lun           653 drivers/scsi/stex.c 		if (lun >= host->max_lun) {
max_lun          1540 drivers/scsi/stex.c 		.max_lun	= 8,
max_lun          1553 drivers/scsi/stex.c 		.max_lun	= 1,
max_lun          1566 drivers/scsi/stex.c 		.max_lun	= 256,
max_lun          1579 drivers/scsi/stex.c 		.max_lun	= 1,
max_lun          1592 drivers/scsi/stex.c 		.max_lun	= 256,
max_lun          1605 drivers/scsi/stex.c 		.max_lun	= 256,
max_lun          1787 drivers/scsi/stex.c 	host->max_lun = ci->max_lun;
max_lun          1809 drivers/scsi/storvsc_drv.c 		host->max_lun = STORVSC_FC_MAX_LUNS_PER_TARGET;
max_lun          1818 drivers/scsi/storvsc_drv.c 		host->max_lun = max_luns_per_target;
max_lun          1824 drivers/scsi/storvsc_drv.c 		host->max_lun = STORVSC_IDE_MAX_LUNS_PER_TARGET;
max_lun          1352 drivers/scsi/sym53c8xx_2/sym_glue.c 	shost->max_lun		= SYM_CONF_MAX_LUN;
max_lun          8322 drivers/scsi/ufs/ufshcd.c 	host->max_lun = UFS_MAX_LUNS;
max_lun           877 drivers/scsi/virtio_scsi.c 	shost->max_lun = virtscsi_config_get(vdev, max_lun) + 1 + 0x4000;
max_lun          1445 drivers/scsi/vmw_pvscsi.c 	host->max_lun     = 1;
max_lun           854 drivers/scsi/xen-scsifront.c 	host->max_lun     = VSCSIIF_MAX_LUN;
max_lun           417 drivers/staging/rts5208/rtsx.c 		else if (chip->srb->device->lun > chip->max_lun) {
max_lun           914 drivers/staging/rts5208/rtsx.c 	host->max_lun = dev->chip->max_lun;
max_lun            40 drivers/staging/rts5208/rtsx_chip.c 	for (i = 0; i <= chip->max_lun; i++) {
max_lun            64 drivers/staging/rts5208/rtsx_chip.c 	for (i = 0; i <= chip->max_lun; i++) {
max_lun           865 drivers/staging/rts5208/rtsx_chip.c 		chip->max_lun = 1;
max_lun           872 drivers/staging/rts5208/rtsx_chip.c 		chip->max_lun = 0;
max_lun           878 drivers/staging/rts5208/rtsx_chip.c 		chip->max_lun = 0;
max_lun           697 drivers/staging/rts5208/rtsx_chip.h 	char		max_lun;
max_lun          3804 drivers/staging/rts5208/sd.c 	buf[15] = chip->max_lun;
max_lun           180 drivers/staging/unisys/include/iochannel.h 	u32 max_lun;
max_lun          1067 drivers/staging/unisys/visorhba/visorhba_main.c 	scsihost->max_lun = (unsigned int)max.max_lun;
max_lun           342 drivers/target/loopback/tcm_loop.c 	sh->max_lun = 0;
max_lun          1244 drivers/usb/storage/alauda.c 	us->max_lun = 1;
max_lun           738 drivers/usb/storage/datafab.c 	us->max_lun = 1;
max_lun          2353 drivers/usb/storage/ene_ub6250.c 	us->max_lun = 0;
max_lun           559 drivers/usb/storage/freecom.c 	us->max_lun = 0;
max_lun           663 drivers/usb/storage/jumpshot.c 	us->max_lun = 1;
max_lun            94 drivers/usb/storage/realtek_cr.c 	char max_lun;
max_lun           984 drivers/usb/storage/realtek_cr.c 	us->max_lun = chip->max_lun = rts51x_get_max_lun(us);
max_lun           987 drivers/usb/storage/realtek_cr.c 	usb_stor_dbg(us, "chip->max_lun = %d\n", chip->max_lun);
max_lun           989 drivers/usb/storage/realtek_cr.c 	size = (chip->max_lun + 1) * sizeof(struct rts51x_status);
max_lun           994 drivers/usb/storage/realtek_cr.c 	for (i = 0; i <= (int)(chip->max_lun); i++) {
max_lun            86 drivers/usb/storage/scsiglue.c 	if (us->protocol == USB_PR_BULK && us->max_lun > 0)
max_lun           321 drivers/usb/storage/scsiglue.c 		us->max_lun = 0;
max_lun          1764 drivers/usb/storage/sddr09.c 		us->max_lun = 1;
max_lun          1769 drivers/usb/storage/sddr09.c 		us->max_lun = 0;
max_lun           995 drivers/usb/storage/sddr55.c 	us->max_lun = 0;
max_lun          1852 drivers/usb/storage/shuttle_usbat.c 	us->max_lun = 0;
max_lun           999 drivers/usb/storage/uas.c 	shost->max_lun = 256;
max_lun           355 drivers/usb/storage/usb.c 		else if (srb->device->lun > us->max_lun) {
max_lun           670 drivers/usb/storage/usb.c 		us->max_lun = 7;
max_lun           677 drivers/usb/storage/usb.c 		us->max_lun = 7;
max_lun           700 drivers/usb/storage/usb.c 		us->max_lun = 0;
max_lun           706 drivers/usb/storage/usb.c 		us->max_lun = 0;
max_lun           712 drivers/usb/storage/usb.c 		us->max_lun = 0;
max_lun           903 drivers/usb/storage/usb.c 		us->max_lun = usb_stor_Bulk_max_lun(us);
max_lun           909 drivers/usb/storage/usb.c 		if (us->max_lun >= 8)
max_lun           910 drivers/usb/storage/usb.c 			us_to_host(us)->max_lun = us->max_lun+1;
max_lun          1014 drivers/usb/storage/usb.c 		us->max_lun = 7;
max_lun          1032 drivers/usb/storage/usb.c 		us->max_lun = 0;
max_lun           111 drivers/usb/storage/usb.h 	u8			max_lun;
max_lun           576 include/scsi/scsi_host.h 	u64 max_lun;
max_lun           115 include/uapi/linux/virtio_scsi.h 	__u32 max_lun;