Lines Matching refs:map_idx
215 int map_idx; member
3601 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local
3697 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3698 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3704 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
3708 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
3715 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
3726 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3727 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3731 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
3735 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
3743 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
5288 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5291 insn[0].imm = obj->maps[relo->map_idx].fd; in bpf_object__relocate_data()
5298 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5301 insn[0].imm = obj->maps[relo->map_idx].fd; in bpf_object__relocate_data()