Searched refs:map_index (Results 1 – 11 of 11) sorted by relevance
| /linux/tools/testing/selftests/bpf/map_tests/ |
| H A D | map_in_map_batch_ops.c | 34 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 snprintf(map_name, sizeof(map_name), "inner_map_fd_%d", map_index); in create_inner_maps() 51 inner_map_fds[map_index] = map_fd; in create_inner_maps() 196 __u32 map_index, op_index; in _map_in_map_batch_ops() local 209 for (map_index = 0; map_index < max_entries; map_index++) in _map_in_map_batch_ops() 210 outer_map_keys[map_index] = in _map_in_map_batch_ops() 212 ? 9 : 1000) - map_index; in _map_in_map_batch_ops() 252 for (map_index = 0; map_index < OUTER_MAP_ENTRIES; map_index++) in _map_in_map_batch_ops() 253 close(inner_map_fds[map_index]); in _map_in_map_batch_ops()
|
| /linux/include/trace/events/ |
| H A D | xdp.h | 107 __field(int, map_index) 111 u32 ifindex = 0, map_index = index; 121 map_index = 0; 130 __entry->map_index = map_index; 138 __entry->err, __entry->map_id, __entry->map_index)
|
| /linux/net/netfilter/ |
| H A D | nft_set_pipapo_avx2.c | 1145 bool map_index; in pipapo_get_avx2() local 1153 map_index = scratch->map_index; in pipapo_get_avx2() 1155 res = map + (map_index ? m->bsize_max : 0); in pipapo_get_avx2() 1156 fill = map + (map_index ? 0 : m->bsize_max); in pipapo_get_avx2() 1216 scratch->map_index = map_index; in pipapo_get_avx2() 1233 scratch->map_index = map_index; in pipapo_get_avx2() 1239 map_index = !map_index; in pipapo_get_avx2()
|
| H A D | nft_set_pipapo.c | 424 bool map_index; in pipapo_get_slow() local 434 map_index = scratch->map_index; in pipapo_get_slow() 437 res_map = map + (map_index ? m->bsize_max : 0); in pipapo_get_slow() 438 fill_map = map + (map_index ? 0 : m->bsize_max); in pipapo_get_slow() 466 scratch->map_index = map_index; in pipapo_get_slow() 486 scratch->map_index = map_index; in pipapo_get_slow() 496 map_index = !map_index; in pipapo_get_slow()
|
| H A D | nft_set_pipapo.h | 130 u8 map_index; member
|
| /linux/tools/perf/util/ |
| H A D | bpf-event.c | 389 for (__u32 map_index = 0; map_index < info->nr_map_ids; map_index++) { in bpf_metadata_create() local 392 if (bpf_metadata_read_map_data(map_ids[map_index], &map) != 0) in bpf_metadata_create()
|
| /linux/drivers/scsi/ |
| H A D | hpsa.c | 5060 int offload_to_mirror, u32 *map_index, u32 *current_group) in raid_map_helper() argument 5064 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper() 5069 *current_group = *map_index / in raid_map_helper() 5075 *map_index += le16_to_cpu(map->data_disks_per_row); in raid_map_helper() 5079 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper() 5096 u32 map_index; in hpsa_scsi_ioaccel_raid_map() local 5240 map_index = (map_row * total_disks_per_row) + first_column; in hpsa_scsi_ioaccel_raid_map() 5256 map_index += le16_to_cpu(map->data_disks_per_row); in hpsa_scsi_ioaccel_raid_map() 5271 &map_index, ¤t_group); in hpsa_scsi_ioaccel_raid_map() 5371 map_index = (first_group * in hpsa_scsi_ioaccel_raid_map() [all …]
|
| /linux/include/linux/ |
| H A D | bpf_verifier.h | 584 u32 map_index; /* index into used_maps[] */ member
|
| /linux/drivers/scsi/smartpqi/ |
| H A D | smartpqi.h | 1042 u32 map_index; member
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 7215 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument 7239 req->logical_id = cpu_to_le16(map_index); in hwrm_ring_alloc_send_msg() 7278 grp_info = &bp->grp_info[map_index]; in hwrm_ring_alloc_send_msg()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 16607 map = env->used_maps[aux->map_index]; in check_ld_imm() 18527 aux->map_index = map_idx; in check_and_resolve_insns()
|