| /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/kernel/bpf/ |
| H A D | const_fold.c | 25 u32 map_index; member 160 dst->map_index = env->insn_aux_data[idx].map_index; in const_reg_xfer() 165 dst->map_index = env->insn_aux_data[idx].map_index; in const_reg_xfer() 178 struct bpf_map *map = env->used_maps[src->map_index]; in const_reg_xfer() 224 new->map_index != old->map_index)) { in const_reg_join() 296 aux->const_reg_vals[r] = c->map_index; in bpf_compute_const_regs()
|
| H A D | fixups.c | 1853 map = env->used_maps[aux->map_index]; in bpf_do_misc_fixups()
|
| H A D | verifier.c | 17091 map = env->used_maps[aux->map_index]; in check_ld_imm() 19109 aux->map_index = map_idx; in check_and_resolve_insns()
|
| /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.c | 426 bool map_index; in pipapo_get_slow() local 436 map_index = scratch->map_index; in pipapo_get_slow() 439 res_map = map + (map_index ? m->bsize_max : 0); in pipapo_get_slow() 440 fill_map = map + (map_index ? 0 : m->bsize_max); in pipapo_get_slow() 468 scratch->map_index = map_index; in pipapo_get_slow() 488 scratch->map_index = map_index; in pipapo_get_slow() 498 map_index = !map_index; in pipapo_get_slow()
|
| H A D | nft_set_pipapo.h | 130 u8 map_index; member
|
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_hwrm_lib.h | 56 u32 ring_type, u32 map_index);
|
| H A D | bnge_hwrm_lib.c | 1313 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument 1338 req->logical_id = cpu_to_le16(map_index); in hwrm_ring_alloc_send_msg() 1386 grp_info = &bn->grp_info[map_index]; in hwrm_ring_alloc_send_msg()
|
| /linux/tools/perf/util/ |
| H A D | bpf-event.c | 406 for (__u32 map_index = 0; map_index < info->nr_map_ids; map_index++) { in bpf_metadata_create() 409 if (bpf_metadata_read_map_data(map_ids[map_index], &map) != 0) in bpf_metadata_create() 389 for (__u32 map_index = 0; map_index < info->nr_map_ids; map_index++) { bpf_metadata_create() local
|
| /linux/drivers/scsi/ |
| H A D | hpsa.c | 5064 int offload_to_mirror, u32 *map_index, u32 *current_group) in raid_map_helper() argument 5068 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper() 5073 *current_group = *map_index / in raid_map_helper() 5079 *map_index += le16_to_cpu(map->data_disks_per_row); in raid_map_helper() 5083 *map_index %= le16_to_cpu(map->data_disks_per_row); in raid_map_helper() 5100 u32 map_index; in hpsa_scsi_ioaccel_raid_map() local 5244 map_index = (map_row * total_disks_per_row) + first_column; in hpsa_scsi_ioaccel_raid_map() 5260 map_index += le16_to_cpu(map->data_disks_per_row); in hpsa_scsi_ioaccel_raid_map() 5275 &map_index, ¤t_group); in hpsa_scsi_ioaccel_raid_map() 5375 map_index = (first_group * in hpsa_scsi_ioaccel_raid_map() [all …]
|
| /linux/arch/x86/kvm/ |
| H A D | lapic.c | 845 size_t map_index; in __pv_send_ipi() local 852 map_index = array_index_nospec(min + i, map->max_apic_id + 1); in __pv_send_ipi() 853 if (map->phys_map[map_index]) { in __pv_send_ipi() 854 vcpu = map->phys_map[map_index]->vcpu; in __pv_send_ipi()
|
| /linux/drivers/scsi/smartpqi/ |
| H A D | smartpqi.h | 1042 u32 map_index; member
|
| /linux/include/linux/ |
| H A D | bpf_verifier.h | 649 u32 map_index; /* index into used_maps[] */ member
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt.c | 7231 u32 ring_type, u32 map_index) in hwrm_ring_alloc_send_msg() argument 7255 req->logical_id = cpu_to_le16(map_index); in hwrm_ring_alloc_send_msg() 7294 grp_info = &bp->grp_info[map_index]; in hwrm_ring_alloc_send_msg()
|