Searched refs:is_weak (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/tools/lib/bpf/ |
D | bpf_gen_internal.h | 12 bool is_weak; member 67 void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak,
|
D | gen_loader.c | 562 void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak, in bpf_gen__record_extern() argument 575 relo->is_weak = is_weak; in bpf_gen__record_extern() 679 if (!relo->is_weak) in emit_relo_kfunc_btf() 741 relo->is_typeless, relo->is_weak, relo->name, ref); in emit_ksym_relo_log() 744 relo->is_typeless, relo->is_weak, relo->name, ref); in emit_ksym_relo_log() 818 if (!relo->is_weak) in emit_relo_ksym_btf()
|
D | linker.c | 98 bool is_weak; member 1878 && !glob_sym->is_weak && sym_bind != STB_WEAK) { in linker_append_elf_sym() 1899 glob_sym->is_weak = false; in linker_append_elf_sym() 1991 glob_sym->is_weak = sym_bind == STB_WEAK; in linker_append_elf_sym()
|
D | libbpf.c | 540 bool is_weak; member 3740 ext->is_weak = ELF64_ST_BIND(sym->st_info) == STB_WEAK; in bpf_object__collect_externs() 7062 ext->is_weak, !ext->ksym.type_id, in bpf_program_record_relos() 7067 ext->is_weak, false, BTF_KIND_FUNC, in bpf_program_record_relos() 7423 if (id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_var_btf_id() 7477 if (kfunc_id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_func_btf_id() 7598 } else if (!str_has_pfx(ext->name, "LINUX_") || !ext->is_weak) { in bpf_object__resolve_externs() 7651 if (!ext->is_set && !ext->is_weak) { in bpf_object__resolve_externs()
|