Lines Matching refs:map_idx

329 			int map_idx;  member
3950 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local
4046 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
4047 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
4053 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
4057 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
4064 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
4075 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
4076 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
4080 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
4084 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
4092 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
5762 int map_idx, const struct bpf_map *map) in poison_map_ldimm64() argument
5767 prog->name, relo_idx, insn_idx, map_idx, map->name); in poison_map_ldimm64()
5780 insn->imm = MAP_LDIMM64_POISON_BASE + map_idx; in poison_map_ldimm64()
5804 map = &obj->maps[relo->map_idx]; in bpf_object__relocate_data()
5807 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5813 relo->map_idx, map); in bpf_object__relocate_data()
5817 map = &obj->maps[relo->map_idx]; in bpf_object__relocate_data()
5821 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5827 relo->map_idx, map); in bpf_object__relocate_data()
6977 int insn_idx, map_idx; in fixup_log_missing_map_load() local
6980 if (sscanf(line1, "%d: (%*d) call unknown#%d\n", &insn_idx, &map_idx) != 2) in fixup_log_missing_map_load()
6983 map_idx -= MAP_LDIMM64_POISON_BASE; in fixup_log_missing_map_load()
6984 if (map_idx < 0 || map_idx >= obj->nr_maps) in fixup_log_missing_map_load()
6986 map = &obj->maps[map_idx]; in fixup_log_missing_map_load()