| /OK3568_Linux_fs/kernel/drivers/usb/gadget/function/ |
| H A D | f_mass_storage.c | 288 struct fsg_lun *luns[FSG_MAX_LUNS]; member 479 int i = ARRAY_SIZE(common->luns) - 1; in _fsg_common_get_max_lun() 481 while (i >= 0 && !common->luns[i]) in _fsg_common_get_max_lun() 2158 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw() 2187 if (common->lun < ARRAY_SIZE(common->luns)) in received_cbw() 2188 common->curlun = common->luns[common->lun]; in received_cbw() 2329 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) in do_set_interface() 2330 if (common->luns[i]) in do_set_interface() 2331 common->luns[i]->unit_attention_data = in do_set_interface() 2433 for (i = 0; i < ARRAY_SIZE(common->luns); ++i) { in handle_exception() [all …]
|
| H A 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
|
| H A 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()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/gadget/ |
| H A D | f_mass_storage.c | 310 struct fsg_lun luns[FSG_MAX_LUNS]; member 358 } luns[FSG_MAX_LUNS]; member 687 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read() 814 struct fsg_lun *curlun = &common->luns[common->lun]; in do_write() 1001 struct fsg_lun *curlun = &common->luns[common->lun]; in do_verify() 1089 struct fsg_lun *curlun = &common->luns[common->lun]; in do_inquiry() 1117 struct fsg_lun *curlun = &common->luns[common->lun]; in do_request_sense() 1168 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_capacity() 1187 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_header() 1210 struct fsg_lun *curlun = &common->luns[common->lun]; in do_read_toc() [all …]
|
| H A D | f_rockusb.c | 129 curlun = &common->luns[common->lun]; in rkusb_check_lun() 323 struct fsg_lun *curlun = &common->luns[common->lun]; in rkusb_do_lba_erase() 363 struct fsg_lun *curlun = &common->luns[common->lun]; in rkusb_do_erase_force() 416 struct fsg_lun *curlun = &common->luns[common->lun]; in rkusb_do_vs_write() 576 struct fsg_lun *curlun = &common->luns[common->lun]; in rkusb_do_vs_read()
|
| /OK3568_Linux_fs/kernel/drivers/lightnvm/ |
| H A D | core.c | 128 kfree(tgt_dev->luns); in nvm_remove_tgt_dev() 139 struct ppa_addr *luns; in nvm_create_tgt_dev() local 161 luns = kcalloc(num_lun, sizeof(struct ppa_addr), GFP_KERNEL); in nvm_create_tgt_dev() 162 if (!luns) in nvm_create_tgt_dev() 186 luns[lunid].ppa = 0; in nvm_create_tgt_dev() 187 luns[lunid].a.ch = i; in nvm_create_tgt_dev() 188 luns[lunid++].a.lun = j; in nvm_create_tgt_dev() 223 tgt_dev->luns = luns; in nvm_create_tgt_dev() 230 kfree(luns); in nvm_create_tgt_dev()
|
| H A D | pblk-init.c | 587 kfree(pblk->luns); in pblk_lines_free() 604 pblk->luns = kcalloc(geo->all_luns, sizeof(struct pblk_lun), in pblk_luns_init() 606 if (!pblk->luns) in pblk_luns_init() 615 rlun = &pblk->luns[i]; in pblk_luns_init() 616 rlun->bppa = dev->luns[lunid]; in pblk_luns_init() 718 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_setup_line_meta_chk() 1065 kfree(pblk->luns); in pblk_lines_init()
|
| H A D | pblk.h | 598 struct pblk_lun *luns; member 995 int secs, chnls, luns; in addr_to_gen_ppa() local 1007 paddr = div_u64_rem(paddr, uaddrf->lun_stripe, &luns); in addr_to_gen_ppa() 1008 ppa.m.pu = luns; in addr_to_gen_ppa()
|
| H A D | pblk-map.c | 205 *erase_ppa = pblk->luns[bit].bppa; /* set ch and lun */ in pblk_map_erase_rq()
|
| H A D | pblk-core.c | 901 ppa = pblk->luns[bit].bppa; /* set ch and lun */ in pblk_line_erase() 1142 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_prepare_new_line() 1773 struct pblk_lun *rlun = &pblk->luns[i]; in pblk_line_close() 1883 struct pblk_lun *rlun = &pblk->luns[pos]; in __pblk_down_chunk() 1929 rlun = &pblk->luns[pos]; in pblk_up_chunk() 1942 rlun = &pblk->luns[bit]; in pblk_up_rq()
|
| H A D | pblk-recovery.c | 311 rlun = &pblk->luns[index]; in pblk_get_stripe_chunk() 628 bppa = pblk->luns[smeta_blk].bppa; in pblk_line_was_written()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/cxlflash/ |
| H A D | superpipe.c | 219 list_for_each_entry(lun_access, &ctxi->luns, list) in get_context() 756 WARN_ON(!list_empty(&ctxi->luns)); in destroy_context() 842 INIT_LIST_HEAD(&ctxi->luns); in init_context() 935 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in _cxlflash_disk_detach() 1027 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list) in cxlflash_cxl_release() 1369 list_for_each_entry(lun_access, &ctxi->luns, list) in cxlflash_disk_attach() 1399 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach() 1458 list_add(&lun_access->list, &ctxi->luns); in cxlflash_disk_attach()
|
| H A D | superpipe.h | 105 struct list_head luns; /* LUNs attached to this context */ member
|
| H A D | vlun.c | 1247 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()
|
| /OK3568_Linux_fs/buildroot/package/sg3_utils/ |
| H A D | sg3_utils.mk | 32 get_lba_status ident inq logs luns map26 \
|
| /OK3568_Linux_fs/kernel/Documentation/usb/ |
| H A D | mass-storage.rst | 43 be silently ignored. See also “luns” parameter. 123 - luns=N 130 in “file” argument is greater then the value of “luns”, all excess
|
| /OK3568_Linux_fs/kernel/drivers/scsi/lpfc/ |
| H A D | lpfc_mem.c | 262 while (!list_empty(&phba->luns)) { in lpfc_mem_free() 263 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
|
| H A D | lpfc_scsi.c | 5535 &phba->luns, in lpfc_slave_alloc() 5550 list_add_tail(&device_data->listentry, &phba->luns); in lpfc_slave_alloc() 5840 list_for_each_entry(lun_info, &phba->luns, listentry) { in lpfc_find_next_oas_lun() 5921 lun_info = __lpfc_get_device_data(phba, &phba->luns, vport_wwpn, in lpfc_enable_oas_lun() 5938 list_add_tail(&lun_info->listentry, &phba->luns); in lpfc_enable_oas_lun() 5981 &phba->luns, vport_wwpn, in lpfc_disable_oas_lun()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/share/i18n/locales/ |
| H A D | an_ES | 68 "luns";/
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/share/i18n/locales/ |
| H A D | an_ES | 68 "luns";/
|
| /OK3568_Linux_fs/kernel/drivers/usb/gadget/legacy/ |
| H A D | nokia.c | 36 .luns = 2,
|
| /OK3568_Linux_fs/kernel/Documentation/scsi/ |
| H A D | sym53c8xx_2.rst | 294 - 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
|
| H A D | aic79xx.rst | 88 - Correct non-zero luns on Rev B. hardware. 500 manually probing non-contiguous luns.
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | lightnvm.h | 405 struct ppa_addr *luns; member
|
| /OK3568_Linux_fs/kernel/drivers/scsi/aacraid/ |
| H A D | aachba.c | 1900 int luns; in aac_free_safw_all_identify_resp() local 1905 luns = aac_get_safw_phys_lun_count(dev); in aac_free_safw_all_identify_resp() 1907 if (luns < lun_count) in aac_free_safw_all_identify_resp() 1908 lun_count = luns; in aac_free_safw_all_identify_resp() 1910 lun_count = luns; in aac_free_safw_all_identify_resp()
|