Lines Matching refs:map_idx
217 int map_idx; member
3843 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local
3939 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3940 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3946 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
3950 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
3957 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
3968 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3969 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3973 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
3977 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
3985 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
5578 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5581 insn[0].imm = obj->maps[relo->map_idx].fd; in bpf_object__relocate_data()
5588 insn[0].imm = relo->map_idx; in bpf_object__relocate_data()
5591 insn[0].imm = obj->maps[relo->map_idx].fd; in bpf_object__relocate_data()