Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/map_tests/
Dmap_in_map_batch_ops.c34 int map_fd, map_index, ret; in create_inner_maps() local
38 for (map_index = 0; map_index < OUTER_MAP_ENTRIES; map_index++) { in create_inner_maps()
40 sprintf(map_name, "inner_map_fd_%d", map_index); in create_inner_maps()
51 inner_map_fds[map_index] = map_fd; in create_inner_maps()
194 __u32 map_index, op_index; in _map_in_map_batch_ops() local
207 for (map_index = 0; map_index < max_entries; map_index++) in _map_in_map_batch_ops()
208 outer_map_keys[map_index] = in _map_in_map_batch_ops()
210 ? 9 : 1000) - map_index; in _map_in_map_batch_ops()
230 for (map_index = 0; map_index < max_entries; map_index++) in _map_in_map_batch_ops()
231 close(inner_map_fds[map_index]); in _map_in_map_batch_ops()
/Linux-v6.1/include/trace/events/
Dxdp.h106 __field(int, map_index)
110 u32 ifindex = 0, map_index = index;
120 map_index = 0;
129 __entry->map_index = map_index;
137 __entry->err, __entry->map_id, __entry->map_index)
/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_mr.c220 int map_index; in lookup_iova() local
230 map_index = 0; in lookup_iova()
233 length = mr->map[map_index]->buf[buf_index].size; in lookup_iova()
240 map_index++; in lookup_iova()
243 length = mr->map[map_index]->buf[buf_index].size; in lookup_iova()
246 *m_out = map_index; in lookup_iova()
/Linux-v6.1/net/netfilter/
Dnft_set_pipapo.c420 bool map_index; in nft_pipapo_lookup() local
425 map_index = raw_cpu_read(nft_pipapo_scratch_index); in nft_pipapo_lookup()
432 res_map = *raw_cpu_ptr(m->scratch) + (map_index ? m->bsize_max : 0); in nft_pipapo_lookup()
433 fill_map = *raw_cpu_ptr(m->scratch) + (map_index ? 0 : m->bsize_max); in nft_pipapo_lookup()
463 raw_cpu_write(nft_pipapo_scratch_index, map_index); in nft_pipapo_lookup()
480 raw_cpu_write(nft_pipapo_scratch_index, map_index); in nft_pipapo_lookup()
490 map_index = !map_index; in nft_pipapo_lookup()
Dnft_set_pipapo_avx2.c1128 bool map_index; in nft_pipapo_avx2_lookup() local
1149 map_index = raw_cpu_read(nft_pipapo_avx2_scratch_index); in nft_pipapo_avx2_lookup()
1151 res = scratch + (map_index ? m->bsize_max : 0); in nft_pipapo_avx2_lookup()
1152 fill = scratch + (map_index ? 0 : m->bsize_max); in nft_pipapo_avx2_lookup()
1224 raw_cpu_write(nft_pipapo_avx2_scratch_index, !map_index); in nft_pipapo_avx2_lookup()
/Linux-v6.1/include/linux/
Dbpf_verifier.h404 u32 map_index; /* index into used_maps[] */ member
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/scsi/smartpqi/
Dsmartpqi_init.c2761 rmd->map_index = (rmd->map_row * rmd->total_disks_per_row) + in pci_get_aio_common_raid_map_values()
2854 rmd->map_index = (rmd->first_group * in pqi_calc_aio_r5_or_r6()
2871 index = DIV_ROUND_UP(rmd->map_index + 1, rmd->total_disks_per_row); in pqi_calc_aio_r5_or_r6()
2878 rmd->xor_mult = raid_map->disk_data[rmd->map_index].xor_mult[1]; in pqi_calc_aio_r5_or_r6()
2920 group = rmd->map_index / rmd->data_disks_per_row; in pqi_calc_aio_r1_nexus()
2922 index = rmd->map_index - (group * rmd->data_disks_per_row); in pqi_calc_aio_r1_nexus()
2969 group = device->next_bypass_group[rmd.map_index]; in pqi_raid_bypass_submit_scsi_cmd()
2973 device->next_bypass_group[rmd.map_index] = next_bypass_group; in pqi_raid_bypass_submit_scsi_cmd()
2974 rmd.map_index += group * rmd.data_disks_per_row; in pqi_raid_bypass_submit_scsi_cmd()
2984 if (unlikely(rmd.map_index >= RAID_MAP_MAX_ENTRIES)) in pqi_raid_bypass_submit_scsi_cmd()
[all …]
Dsmartpqi.h1032 u32 map_index; member
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5690 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument
5714 req->logical_id = cpu_to_le16(map_index); in hwrm_ring_alloc_send_msg()
5769 grp_info = &bp->grp_info[map_index]; in hwrm_ring_alloc_send_msg()
/Linux-v6.1/kernel/bpf/
Dverifier.c10395 map = env->used_maps[aux->map_index]; in check_ld_imm()
12887 aux->map_index = j; in resolve_pseudo_ldimm64()
12905 aux->map_index = env->used_map_cnt; in resolve_pseudo_ldimm64()