Home
last modified time | relevance | path

Searched refs:bfdf (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/tools/bpf/bpftool/
Djit_disasm.c142 bfd *bfdf; member
222 bfd *bfdf; in init_context() local
230 ctx->bfdf = bfd_openr(tpath, NULL); in init_context()
231 if (!ctx->bfdf) { in init_context()
235 if (!bfd_check_format(ctx->bfdf, bfd_object)) { in init_context()
239 bfdf = ctx->bfdf; in init_context()
262 bfdf->arch_info = inf; in init_context()
269 info->arch = bfd_get_arch(bfdf); in init_context()
270 info->mach = bfd_get_mach(bfdf); in init_context()
280 bfd_big_endian(bfdf), in init_context()
[all …]
/linux-6.6.21/tools/bpf/
Dbpf_jit_disasm.c59 bfd *bfdf; in get_asm_insns() local
64 bfdf = bfd_openr(tpath, NULL); in get_asm_insns()
65 assert(bfdf); in get_asm_insns()
66 assert(bfd_check_format(bfdf, bfd_object)); in get_asm_insns()
71 info.arch = bfd_get_arch(bfdf); in get_asm_insns()
72 info.mach = bfd_get_mach(bfdf); in get_asm_insns()
80 bfd_big_endian(bfdf), in get_asm_insns()
82 bfdf); in get_asm_insns()
84 disassemble = disassembler(bfdf); in get_asm_insns()
103 bfd_close(bfdf); in get_asm_insns()
/linux-6.6.21/tools/perf/util/
Dannotate.c1835 bfd *bfdf; in symbol__disassemble_bpf() local
1848 bfdf = bfd_openr(tpath, NULL); in symbol__disassemble_bpf()
1849 if (bfdf == NULL) in symbol__disassemble_bpf()
1852 if (!bfd_check_format(bfdf, bfd_object)) in symbol__disassemble_bpf()
1863 info.arch = bfd_get_arch(bfdf); in symbol__disassemble_bpf()
1864 info.mach = bfd_get_mach(bfdf); in symbol__disassemble_bpf()
1895 bfd_big_endian(bfdf), in symbol__disassemble_bpf()
1897 bfdf); in symbol__disassemble_bpf()
1899 disassemble = disassembler(bfdf); in symbol__disassemble_bpf()
1960 bfd_close(bfdf); in symbol__disassemble_bpf()