Home
last modified time | relevance | path

Searched refs:lun_count (Results 1 – 7 of 7) sorted by relevance

/drivers/target/
Dtarget_core_spc.c1249 u32 lun_count = 0, offset = 8; in spc_emulate_report_luns() local
1273 lun_count++; in spc_emulate_report_luns()
1291 if (lun_count == 0) { in spc_emulate_report_luns()
1296 lun_count = 1; in spc_emulate_report_luns()
1300 len = cpu_to_be32(lun_count * 8); in spc_emulate_report_luns()
1305 target_complete_cmd_with_length(cmd, SAM_STAT_GOOD, 8 + lun_count * 8); in spc_emulate_report_luns()
/drivers/mtd/nand/raw/
Dnand_jedec.c109 memorg->luns_per_target = p->lun_count; in nand_jedec_detect()
Dnand_onfi.c260 memorg->luns_per_target = p->lun_count; in nand_onfi_detect()
/drivers/scsi/aacraid/
Daachba.c1906 int lun_count) in aac_free_safw_all_identify_resp() argument
1915 if (luns < lun_count) in aac_free_safw_all_identify_resp()
1916 lun_count = luns; in aac_free_safw_all_identify_resp()
1917 else if (lun_count < 0) in aac_free_safw_all_identify_resp()
1918 lun_count = luns; in aac_free_safw_all_identify_resp()
1920 for (i = 0; i < lun_count; i++) { in aac_free_safw_all_identify_resp()
1932 u32 lun_count; in aac_get_safw_attr_all_targets() local
1937 lun_count = aac_get_safw_phys_lun_count(dev); in aac_get_safw_attr_all_targets()
1939 for (i = 0; i < lun_count; ++i) { in aac_get_safw_attr_all_targets()
1969 u32 lun_count, nexus; in aac_set_safw_attr_all_targets() local
[all …]
/drivers/scsi/smartpqi/
Dsmartpqi.h965 u8 lun_count; /* number of LUNs in a multi-LUN device */ member
975 u8 lun_count; /* number of LUNs in a multi-LUN device */ member
1133 u8 lun_count; member
Dsmartpqi_init.c1211 rpl_16byte_wwid_list->lun_entries[i].lun_count = rpl_8byte_wwid_list->lun_entries[i].lun_count; in pqi_report_phys_luns()
1613 device->lun_count = id_phys->multi_lun_device_lun_count; in pqi_get_physical_device_info()
1772 if (rc == 0 && device->lun_count == 0) in pqi_get_device_info()
1773 device->lun_count = 1; in pqi_get_device_info()
1912 for (lun = 0; lun < device->lun_count; lun++) { in pqi_remove_device()
2091 existing_device->lun_count = new_device->lun_count; in pqi_scsi_update_device()
6499 device->lun_count--; in pqi_slave_destroy()
6500 if (device->lun_count > 0) { in pqi_slave_destroy()
/drivers/scsi/
Dhpsa_cmd.h272 u8 lun_count; /* multi-lun device, how many luns */ member