Home
last modified time | relevance | path

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

/openbmc/qemu/hw/scsi/
H A Dmegasas.c1166 uint32_t num_ld_disks = 0, max_ld_disks; in megasas_dcmd_ld_get_list() local
1187 if (num_ld_disks >= max_ld_disks) { in megasas_dcmd_ld_get_list()
1192 info.ld_list[num_ld_disks].ld.v.target_id = sdev->id; in megasas_dcmd_ld_get_list()
1193 info.ld_list[num_ld_disks].state = MFI_LD_STATE_OPTIMAL; in megasas_dcmd_ld_get_list()
1194 info.ld_list[num_ld_disks].size = cpu_to_le64(ld_size); in megasas_dcmd_ld_get_list()
1195 num_ld_disks++; in megasas_dcmd_ld_get_list()
1197 info.ld_count = cpu_to_le32(num_ld_disks); in megasas_dcmd_ld_get_list()
1198 trace_megasas_dcmd_ld_get_list(cmd->index, num_ld_disks, max_ld_disks); in megasas_dcmd_ld_get_list()
1212 uint32_t num_ld_disks = 0, max_ld_disks = s->fw_luns; in megasas_dcmd_ld_list_query() local
1240 if (num_ld_disks >= max_ld_disks) { in megasas_dcmd_ld_list_query()
[all …]