Lines Matching refs:bpf_elf_howto_table

38 static reloc_howto_type bpf_elf_howto_table [] =  variable
260 return &bpf_elf_howto_table[ (int) R_BPF_NONE]; in bpf_reloc_type_lookup()
263 return &bpf_elf_howto_table[ (int) R_BPF_DATA_8_PCREL]; in bpf_reloc_type_lookup()
265 return &bpf_elf_howto_table[ (int) R_BPF_DATA_16_PCREL]; in bpf_reloc_type_lookup()
267 return &bpf_elf_howto_table[ (int) R_BPF_DATA_32_PCREL]; in bpf_reloc_type_lookup()
269 return &bpf_elf_howto_table[ (int) R_BPF_DATA_64_PCREL]; in bpf_reloc_type_lookup()
272 return &bpf_elf_howto_table[ (int) R_BPF_DATA_8]; in bpf_reloc_type_lookup()
274 return &bpf_elf_howto_table[ (int) R_BPF_DATA_16]; in bpf_reloc_type_lookup()
276 return &bpf_elf_howto_table[ (int) R_BPF_DATA_32]; in bpf_reloc_type_lookup()
278 return &bpf_elf_howto_table[ (int) R_BPF_DATA_64]; in bpf_reloc_type_lookup()
281 return &bpf_elf_howto_table[ (int) R_BPF_INSN_64]; in bpf_reloc_type_lookup()
283 return &bpf_elf_howto_table[ (int) R_BPF_INSN_32]; in bpf_reloc_type_lookup()
285 return &bpf_elf_howto_table[ (int) R_BPF_INSN_16]; in bpf_reloc_type_lookup()
287 return &bpf_elf_howto_table[ (int) R_BPF_INSN_DISP16]; in bpf_reloc_type_lookup()
289 return &bpf_elf_howto_table[ (int) R_BPF_INSN_DISP32]; in bpf_reloc_type_lookup()
305 for (i = 0; i < ARRAY_SIZE (bpf_elf_howto_table); i++) in bpf_reloc_name_lookup()
306 if (bpf_elf_howto_table[i].name != NULL in bpf_reloc_name_lookup()
307 && strcasecmp (bpf_elf_howto_table[i].name, r_name) == 0) in bpf_reloc_name_lookup()
308 return &bpf_elf_howto_table[i]; in bpf_reloc_name_lookup()
331 bfd_reloc->howto = &bpf_elf_howto_table [r_type]; in bpf_info_to_howto()
402 howto = bpf_elf_howto_table + ELF64_R_TYPE (rel->r_info); in bpf_elf_relocate_section()