Searched refs:luns (Results 1 – 9 of 9) sorted by relevance
| /drivers/usb/gadget/function/ |
| A D | f_mass_storage.c | 260 struct fsg_lun *luns[FSG_MAX_LUNS]; member 451 while (i >= 0 && !common->luns[i]) in _fsg_common_get_max_lun() 2389 if (common->luns[i]) in do_set_interface() 2493 curlun = common->luns[i]; in handle_exception() 2715 memset(common->luns, 0, sizeof(common->luns)); in fsg_common_setup() 2792 if (common->luns[i]) { in _fsg_common_remove_luns() 2794 common->luns[i] = NULL; in _fsg_common_remove_luns() 2882 if (common->luns[id]) in fsg_common_create_lun() 2920 common->luns[id] = lun; in fsg_common_create_lun() 2947 common->luns[id] = NULL; in fsg_common_create_lun() [all …]
|
| 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
|
| A D | f_tcm.c | 429 int luns; in usbg_bot_setup() local 442 luns = atomic_read(&fu->tpg->tpg_port_count); in usbg_bot_setup() 443 if (!luns) { in usbg_bot_setup() 447 luns--; in usbg_bot_setup() 448 if (luns > US_BULK_MAX_LUN_LIMIT) { in usbg_bot_setup() 450 luns = US_BULK_MAX_LUN_LIMIT; in usbg_bot_setup() 453 *ret_lun = luns; in usbg_bot_setup()
|
| /drivers/scsi/lpfc/ |
| A D | lpfc_mem.c | 285 while (!list_empty(&phba->luns)) { in lpfc_mem_free() 286 device_data = list_first_entry(&phba->luns, in lpfc_mem_free()
|
| A D | lpfc_scsi.c | 6274 &phba->luns, in lpfc_sdev_init() 6289 list_add_tail(&device_data->listentry, &phba->luns); in lpfc_sdev_init() 6582 list_for_each_entry(lun_info, &phba->luns, listentry) { in lpfc_find_next_oas_lun() 6664 lun_info = __lpfc_get_device_data(phba, &phba->luns, vport_wwpn, in lpfc_enable_oas_lun() 6681 list_add_tail(&lun_info->listentry, &phba->luns); in lpfc_enable_oas_lun() 6725 &phba->luns, vport_wwpn, in lpfc_disable_oas_lun()
|
| A D | lpfc.h | 1457 struct list_head luns; member
|
| A D | lpfc_init.c | 7734 INIT_LIST_HEAD(&phba->luns); in lpfc_setup_driver_resource_phase1()
|
| /drivers/usb/gadget/legacy/ |
| A D | nokia.c | 36 .luns = 2,
|
| /drivers/scsi/aacraid/ |
| A D | aachba.c | 1907 int luns; in aac_free_safw_all_identify_resp() local 1912 luns = aac_get_safw_phys_lun_count(dev); in aac_free_safw_all_identify_resp() 1914 if (luns < lun_count) in aac_free_safw_all_identify_resp() 1915 lun_count = luns; in aac_free_safw_all_identify_resp() 1917 lun_count = luns; in aac_free_safw_all_identify_resp()
|
Completed in 65 milliseconds