Home
last modified time | relevance | path

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

/drivers/infiniband/sw/rxe/
Drxe_mr.c215 int map_index; in lookup_iova() local
225 map_index = 0; in lookup_iova()
228 length = mr->map[map_index]->buf[buf_index].size; in lookup_iova()
235 map_index++; in lookup_iova()
238 length = mr->map[map_index]->buf[buf_index].size; in lookup_iova()
241 *m_out = map_index; in lookup_iova()
/drivers/scsi/
Dhpsa.c5074 int offload_to_mirror, u32 *map_index, u32 *current_group) in raid_map_helper() argument
5078 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper()
5083 *current_group = *map_index / in raid_map_helper()
5089 *map_index += le16_to_cpu(map->data_disks_per_row); in raid_map_helper()
5093 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper()
5110 u32 map_index; in hpsa_scsi_ioaccel_raid_map() local
5254 map_index = (map_row * total_disks_per_row) + first_column; in hpsa_scsi_ioaccel_raid_map()
5270 map_index += le16_to_cpu(map->data_disks_per_row); in hpsa_scsi_ioaccel_raid_map()
5285 &map_index, &current_group); in hpsa_scsi_ioaccel_raid_map()
5385 map_index = (first_group * in hpsa_scsi_ioaccel_raid_map()
[all …]
/drivers/scsi/smartpqi/
Dsmartpqi_init.c2770 rmd->map_index = (rmd->map_row * rmd->total_disks_per_row) + in pci_get_aio_common_raid_map_values()
2863 rmd->map_index = (rmd->first_group * in pqi_calc_aio_r5_or_r6()
2880 index = DIV_ROUND_UP(rmd->map_index + 1, rmd->total_disks_per_row); in pqi_calc_aio_r5_or_r6()
2887 rmd->xor_mult = raid_map->disk_data[rmd->map_index].xor_mult[1]; in pqi_calc_aio_r5_or_r6()
2929 group = rmd->map_index / rmd->data_disks_per_row; in pqi_calc_aio_r1_nexus()
2931 index = rmd->map_index - (group * rmd->data_disks_per_row); in pqi_calc_aio_r1_nexus()
2978 group = device->next_bypass_group[rmd.map_index]; in pqi_raid_bypass_submit_scsi_cmd()
2982 device->next_bypass_group[rmd.map_index] = next_bypass_group; in pqi_raid_bypass_submit_scsi_cmd()
2983 rmd.map_index += group * rmd.data_disks_per_row; in pqi_raid_bypass_submit_scsi_cmd()
2993 if (unlikely(rmd.map_index >= RAID_MAP_MAX_ENTRIES)) in pqi_raid_bypass_submit_scsi_cmd()
[all …]
Dsmartpqi.h1032 u32 map_index; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5731 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument
5755 req->logical_id = cpu_to_le16(map_index); in hwrm_ring_alloc_send_msg()
5810 grp_info = &bp->grp_info[map_index]; in hwrm_ring_alloc_send_msg()