Lines Matching refs:sym_name

4476 				     __u32 insn_idx, const char *sym_name,  in bpf_program__record_reloc()  argument
4489 prog->name, sym_name, insn_idx, insn->code); in bpf_program__record_reloc()
4505 prog->name, sym_name, sym_idx); in bpf_program__record_reloc()
4529 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
4534 prog->name, sym_name, (size_t)sym->st_value); in bpf_program__record_reloc()
4545 prog->name, sym_name, shdr_idx); in bpf_program__record_reloc()
4556 prog->name, sym_name, (size_t)sym->st_value, insn->imm); in bpf_program__record_reloc()
4582 prog->name, sym_name, sym_sec_name); in bpf_program__record_reloc()
4678 const char *sym_name; in bpf_object__collect_prog_relos() local
4737 sym_name = elf_sec_name(obj, elf_sec_by_idx(obj, sym->st_shndx)); in bpf_object__collect_prog_relos()
4739 sym_name = elf_sym_str(obj, sym->st_name); in bpf_object__collect_prog_relos()
4740 sym_name = sym_name ?: "<?"; in bpf_object__collect_prog_relos()
4743 relo_sec_name, i, insn_idx, sym_name); in bpf_object__collect_prog_relos()
4761 insn_idx, sym_name, sym, rel); in bpf_object__collect_prog_relos()
8121 const char *sym_name, void *ctx);
8125 char sym_type, sym_name[500]; in libbpf_kallsyms_parse() local
8139 &sym_addr, &sym_type, sym_name); in libbpf_kallsyms_parse()
8148 err = cb(sym_addr, sym_type, sym_name, ctx); in libbpf_kallsyms_parse()
8158 const char *sym_name, void *ctx) in kallsyms_cb() argument
8165 res = strstr(sym_name, ".llvm."); in kallsyms_cb()
8167 ext = find_extern_by_name_with_len(obj, sym_name, res - sym_name); in kallsyms_cb()
8169 ext = find_extern_by_name(obj, sym_name); in kallsyms_cb()
8179 sym_name, ext->ksym.addr, sym_addr); in kallsyms_cb()
8185 pr_debug("extern (ksym) '%s': set to 0x%llx\n", sym_name, sym_addr); in kallsyms_cb()
11372 const char *sym_name, void *ctx) in avail_kallsyms_cb() argument
11378 if (!bsearch(&sym_name, data->syms, data->cnt, sizeof(*data->syms), avail_func_cmp)) in avail_kallsyms_cb()
11393 char sym_name[500]; in libbpf_available_kallsyms_parse() local
11409 ret = fscanf(f, "%499s%*[^\n]\n", sym_name); in libbpf_available_kallsyms_parse()
11419 if (!glob_match(sym_name, res->pattern)) in libbpf_available_kallsyms_parse()
11426 name = strdup(sym_name); in libbpf_available_kallsyms_parse()
11469 char sym_name[500]; in libbpf_available_kprobes_parse() local
11482 ret = fscanf(f, "%llx %499s%*[^\n]\n", &sym_addr, sym_name); in libbpf_available_kprobes_parse()
11493 if (!glob_match(sym_name, res->pattern)) in libbpf_available_kprobes_parse()