Home
last modified time | relevance | path

Searched refs:luns (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/drivers/usb/gadget/function/
Df_mass_storage.h17 unsigned int luns; /* nluns */ member
43 _FSG_MODULE_PARAM(prefix, params, luns, uint, \
98 struct fsg_lun_config luns[FSG_MAX_LUNS]; member
Df_mass_storage.c258 struct fsg_lun *luns[FSG_MAX_LUNS]; member
447 int i = ARRAY_SIZE(common->luns) - 1; in _fsg_common_get_max_lun()
449 while (i >= 0 && !common->luns[i]) in _fsg_common_get_max_lun()
2079 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw()
2108 if (common->lun < ARRAY_SIZE(common->luns)) in received_cbw()
2109 common->curlun = common->luns[common->lun]; in received_cbw()
2250 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) in do_set_interface()
2251 if (common->luns[i]) in do_set_interface()
2252 common->luns[i]->unit_attention_data = in do_set_interface()
2344 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) { in handle_exception()
[all …]
Df_tcm.c426 int luns; in usbg_bot_setup() local
439 luns = atomic_read(&fu->tpg->tpg_port_count); in usbg_bot_setup()
440 if (!luns) { in usbg_bot_setup()
448 luns--; in usbg_bot_setup()
449 if (luns > 0xf) { in usbg_bot_setup()
451 luns = 0xf; in usbg_bot_setup()
454 *ret_lun = luns; in usbg_bot_setup()
/Linux-v5.15/drivers/scsi/cxlflash/
Dsuperpipe.h105 struct list_head luns; /* LUNs attached to this context */ member
Dsuperpipe.c219 list_for_each_entry(lun_access, &ctxi->luns, list) in get_context()
755 WARN_ON(!list_empty(&ctxi->luns)); in destroy_context()
841 INIT_LIST_HEAD(&ctxi->luns); in init_context()
934 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in _cxlflash_disk_detach()
1026 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in cxlflash_cxl_release()
1368 list_for_each_entry(lun_access, &ctxi->luns, list) in cxlflash_disk_attach()
1398 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach()
1457 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach()
Dvlun.c1247 list_for_each_entry(lun_access_src, &ctxi_src->luns, list) { in cxlflash_disk_clone()
1249 list_for_each_entry(lun_access_dst, &ctxi_dst->luns, list) in cxlflash_disk_clone()
1322 list_splice(&sidecar, &ctxi_dst->luns); in cxlflash_disk_clone()
/Linux-v5.15/Documentation/usb/
Dmass-storage.rst43 be silently ignored. See also “luns” parameter.
123 - luns=N
130 in “file” argument is greater then the value of “luns”, all excess
Dgadget-testing.rst316 created by default. A maximum of 8 luns can be specified and they all must be
318 Probably a good convention is to name the luns "lun.<number>",
/Linux-v5.15/drivers/scsi/lpfc/
Dlpfc_mem.c262 while (!list_empty(&phba->luns)) { in lpfc_mem_free()
263 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
Dlpfc_scsi.c6685 &phba->luns, in lpfc_slave_alloc()
6700 list_add_tail(&device_data->listentry, &phba->luns); in lpfc_slave_alloc()
6992 list_for_each_entry(lun_info, &phba->luns, listentry) { in lpfc_find_next_oas_lun()
7074 lun_info = __lpfc_get_device_data(phba, &phba->luns, vport_wwpn, in lpfc_enable_oas_lun()
7091 list_add_tail(&lun_info->listentry, &phba->luns); in lpfc_enable_oas_lun()
7135 &phba->luns, vport_wwpn, in lpfc_disable_oas_lun()
Dlpfc.h1457 struct list_head luns; member
Dlpfc_init.c7554 INIT_LIST_HEAD(&phba->luns); in lpfc_setup_driver_resource_phase1()
/Linux-v5.15/drivers/usb/gadget/legacy/
Dnokia.c36 .luns = 2,
/Linux-v5.15/Documentation/scsi/
Dsym53c8xx_2.rst294 - target 2 all luns on controller 0 --> 15
295 - target 3 all luns on controller 0 --> 15
296 - target 4 all luns on controller 0 --> 7
1061 0x00000100 - scan luns
1161 | | ---------------------------------- scan luns 0 - off
Daic79xx.rst88 - Correct non-zero luns on Rev B. hardware.
500 manually probing non-contiguous luns.
Dncr53c8xx.rst314 - target 2 all luns on controller 0 --> 15
315 - target 3 all luns on controller 0 --> 15
316 - target 4 all luns on controller 0 --> 7
1988 0x00000100 - scan luns
2094 | | ---------------------------------- scan luns 0 - off
DChangeLog.lpfc15 * Fix for issue where not all luns are seen. Search all lists
17 to luns on nodes in NPR or other relevant states (PLOGI,
477 midlayer to mark report luns as failing even though it
575 * Fix array discovery with multiple luns. The max_luns was 0 at
/Linux-v5.15/drivers/scsi/aacraid/
Daachba.c1893 int luns; in aac_free_safw_all_identify_resp() local
1898 luns = aac_get_safw_phys_lun_count(dev); in aac_free_safw_all_identify_resp()
1900 if (luns < lun_count) in aac_free_safw_all_identify_resp()
1901 lun_count = luns; in aac_free_safw_all_identify_resp()
1903 lun_count = luns; in aac_free_safw_all_identify_resp()
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-driver-ufs1167 Description: This entry shows the maximum number of luns that can support
/Linux-v5.15/Documentation/admin-guide/
Dkernel-parameters.txt6037 j = NO_REPORT_LUNS (don't use report luns