Lines Matching refs:map_idx
194 int map_idx; member
3341 size_t map_idx, nr_maps = prog->obj->nr_maps; in bpf_program__record_reloc() local
3419 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3420 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3426 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
3430 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
3437 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
3448 for (map_idx = 0; map_idx < nr_maps; map_idx++) { in bpf_program__record_reloc()
3449 map = &obj->maps[map_idx]; in bpf_program__record_reloc()
3453 prog->name, map_idx, map->name, map->sec_idx, in bpf_program__record_reloc()
3457 if (map_idx >= nr_maps) { in bpf_program__record_reloc()
3465 reloc_desc->map_idx = map_idx; in bpf_program__record_reloc()
6003 insn[0].imm = obj->maps[relo->map_idx].fd; in bpf_object__relocate_data()
6009 insn[0].imm = obj->maps[relo->map_idx].fd; in bpf_object__relocate_data()