/Linux-v4.19/drivers/usb/gadget/function/ |
D | f_mass_storage.h | 17 unsigned int luns; /* nluns */ member 43 _FSG_MODULE_PARAM(prefix, params, luns, uint, \ 98 struct fsg_lun_config luns[FSG_MAX_LUNS]; member
|
D | f_mass_storage.c | 287 struct fsg_lun *luns[FSG_MAX_LUNS]; member 471 int i = ARRAY_SIZE(common->luns) - 1; in _fsg_common_get_max_lun() 473 while (i >= 0 && !common->luns[i]) in _fsg_common_get_max_lun() 2104 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw() 2133 if (common->lun < ARRAY_SIZE(common->luns)) in received_cbw() 2134 common->curlun = common->luns[common->lun]; in received_cbw() 2275 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) in do_set_interface() 2276 if (common->luns[i]) in do_set_interface() 2277 common->luns[i]->unit_attention_data = in do_set_interface() 2367 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) { in handle_exception() [all …]
|
D | f_tcm.c | 426 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-v4.19/drivers/lightnvm/ |
D | core.c | 138 kfree(tgt_dev->luns); in nvm_remove_tgt_dev() 149 struct ppa_addr *luns; in nvm_create_tgt_dev() local 171 luns = kcalloc(num_lun, sizeof(struct ppa_addr), GFP_KERNEL); in nvm_create_tgt_dev() 172 if (!luns) in nvm_create_tgt_dev() 196 luns[lunid].ppa = 0; in nvm_create_tgt_dev() 197 luns[lunid].a.ch = i; in nvm_create_tgt_dev() 198 luns[lunid++].a.lun = j; in nvm_create_tgt_dev() 233 tgt_dev->luns = luns; in nvm_create_tgt_dev() 240 kfree(luns); in nvm_create_tgt_dev()
|
D | pblk-init.c | 539 kfree(pblk->luns); in pblk_lines_free() 580 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_bb_get_meta() 617 pblk->luns = kcalloc(geo->all_luns, sizeof(struct pblk_lun), in pblk_luns_init() 619 if (!pblk->luns) in pblk_luns_init() 628 rlun = &pblk->luns[i]; in pblk_luns_init() 629 rlun->bppa = dev->luns[lunid]; in pblk_luns_init() 713 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_setup_line_meta_12() 755 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_setup_line_meta_20() 1101 kfree(pblk->luns); in pblk_lines_init()
|
D | pblk-map.c | 185 *erase_ppa = pblk->luns[bit].bppa; /* set ch and lun */ in pblk_map_erase_rq()
|
D | pblk.h | 605 struct pblk_lun *luns; member 1016 int secs, chnls, luns; in addr_to_gen_ppa() local 1028 paddr = div_u64_rem(paddr, uaddrf->lun_stripe, &luns); in addr_to_gen_ppa() 1029 ppa.m.pu = luns; in addr_to_gen_ppa()
|
D | pblk-core.c | 940 ppa = pblk->luns[bit].bppa; /* set ch and lun */ in pblk_line_erase() 1175 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_prepare_new_line() 1753 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_line_close() 1853 struct pblk_lun *rlun = &pblk->luns[pos]; in __pblk_down_page() 1914 rlun = &pblk->luns[pos]; in pblk_up_page() 1928 rlun = &pblk->luns[bit]; in pblk_up_rq()
|
D | pblk-sysfs.c | 34 rlun = &pblk->luns[i]; in pblk_sysfs_luns_show()
|
D | pblk-recovery.c | 795 bppa = pblk->luns[smeta_blk].bppa; in pblk_line_was_written()
|
/Linux-v4.19/drivers/scsi/cxlflash/ |
D | superpipe.h | 109 struct list_head luns; /* LUNs attached to this context */ member
|
D | superpipe.c | 223 list_for_each_entry(lun_access, &ctxi->luns, list) in get_context() 761 WARN_ON(!list_empty(&ctxi->luns)); in destroy_context() 847 INIT_LIST_HEAD(&ctxi->luns); in init_context() 940 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in _cxlflash_disk_detach() 1032 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in cxlflash_cxl_release() 1374 list_for_each_entry(lun_access, &ctxi->luns, list) in cxlflash_disk_attach() 1404 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach() 1463 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach()
|
D | vlun.c | 1251 list_for_each_entry(lun_access_src, &ctxi_src->luns, list) { in cxlflash_disk_clone() 1253 list_for_each_entry(lun_access_dst, &ctxi_dst->luns, list) in cxlflash_disk_clone() 1326 list_splice(&sidecar, &ctxi_dst->luns); in cxlflash_disk_clone()
|
/Linux-v4.19/Documentation/usb/ |
D | mass-storage.txt | 37 be silently ignored. See also “luns” parameter. 117 - luns=N 124 in “file” argument is greater then the value of “luns”, all excess
|
D | gadget-testing.txt | 269 created by default. A maximum of 8 luns can be specified and they all must be 271 Probably a good convention is to name the luns "lun.<number>",
|
/Linux-v4.19/drivers/scsi/lpfc/ |
D | lpfc_mem.c | 300 while (!list_empty(&phba->luns)) { in lpfc_mem_free() 301 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
|
D | lpfc_scsi.c | 5539 &phba->luns, in lpfc_slave_alloc() 5554 list_add_tail(&device_data->listentry, &phba->luns); in lpfc_slave_alloc() 5838 list_for_each_entry(lun_info, &phba->luns, listentry) { in lpfc_find_next_oas_lun() 5919 lun_info = __lpfc_get_device_data(phba, &phba->luns, vport_wwpn, in lpfc_enable_oas_lun() 5936 list_add_tail(&lun_info->listentry, &phba->luns); in lpfc_enable_oas_lun() 5979 &phba->luns, vport_wwpn, in lpfc_disable_oas_lun()
|
D | lpfc.h | 1104 struct list_head luns; member
|
/Linux-v4.19/drivers/usb/gadget/legacy/ |
D | nokia.c | 36 .luns = 2,
|
/Linux-v4.19/include/linux/ |
D | lightnvm.h | 398 struct ppa_addr *luns; member
|
/Linux-v4.19/Documentation/scsi/ |
D | sym53c8xx_2.txt | 250 - target 2 all luns on controller 0 --> 15 251 - target 3 all luns on controller 0 --> 15 252 - target 4 all luns on controller 0 --> 7 896 0x00000100 - scan luns 996 | | ---------------------------------- scan luns 0 - off
|
D | aic79xx.txt | 78 - Correct non-zero luns on Rev B. hardware. 408 manually probing non-contiguous luns.
|
D | ncr53c8xx.txt | 279 - target 2 all luns on controller 0 --> 15 280 - target 3 all luns on controller 0 --> 15 281 - target 4 all luns on controller 0 --> 7 1649 0x00000100 - scan luns 1749 | | ---------------------------------- scan luns 0 - off
|
D | ChangeLog.lpfc | 15 * 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-v4.19/drivers/scsi/aacraid/ |
D | aachba.c | 1909 int luns; in aac_free_safw_all_identify_resp() local 1914 luns = aac_get_safw_phys_lun_count(dev); in aac_free_safw_all_identify_resp() 1916 if (luns < lun_count) in aac_free_safw_all_identify_resp() 1917 lun_count = luns; in aac_free_safw_all_identify_resp() 1919 lun_count = luns; in aac_free_safw_all_identify_resp()
|