Lines Matching refs:map_idx

329 			int map_idx;  member
3981 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local
4077 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
4078 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
4084 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
4088 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
4095 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
4106 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
4107 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
4111 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
4115 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
4123 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
5790 int map_idx, const struct bpf_map *map) in poison_map_ldimm64() argument
5795 prog->name, relo_idx, insn_idx, map_idx, map->name); in poison_map_ldimm64()
5808 insn->imm = MAP_LDIMM64_POISON_BASE + map_idx; in poison_map_ldimm64()
5832 map = &obj->maps[relo->map_idx]; in bpf_object__relocate_data()
5835 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5841 relo->map_idx, map); in bpf_object__relocate_data()
5845 map = &obj->maps[relo->map_idx]; in bpf_object__relocate_data()
5849 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5855 relo->map_idx, map); in bpf_object__relocate_data()
7006 int insn_idx, map_idx; in fixup_log_missing_map_load() local
7009 if (sscanf(line1, "%d: (%*d) call unknown#%d\n", &insn_idx, &map_idx) != 2) in fixup_log_missing_map_load()
7012 map_idx -= MAP_LDIMM64_POISON_BASE; in fixup_log_missing_map_load()
7013 if (map_idx < 0 || map_idx >= obj->nr_maps) in fixup_log_missing_map_load()
7015 map = &obj->maps[map_idx]; in fixup_log_missing_map_load()