Searched refs:is_weak (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/lib/bpf/ |
D | bpf_gen_internal.h | 12 bool is_weak; member 69 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() 683 if (!relo->is_weak) in emit_relo_kfunc_btf() 745 relo->is_typeless, relo->is_weak, relo->name, ref); in emit_ksym_relo_log() 748 relo->is_typeless, relo->is_weak, relo->name, ref); in emit_ksym_relo_log() 824 if (!relo->is_weak) in emit_relo_ksym_btf()
|
D | linker.c | 98 bool is_weak; member 1923 && !glob_sym->is_weak && sym_bind != STB_WEAK) { in linker_append_elf_sym() 1944 glob_sym->is_weak = false; in linker_append_elf_sym() 2036 glob_sym->is_weak = sym_bind == STB_WEAK; in linker_append_elf_sym()
|
D | libbpf.c | 600 bool is_weak; member 4226 ext->is_weak = ELF64_ST_BIND(sym->st_info) == STB_WEAK; in bpf_object__collect_externs() 7807 ext->is_weak, !ext->ksym.type_id, in bpf_program_record_relos() 7812 ext->is_weak, false, false, BTF_KIND_FUNC, in bpf_program_record_relos() 8196 if (id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_var_btf_id() 8251 if (kfunc_id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_func_btf_id() 8264 if (ext->is_weak) in bpf_object__resolve_ksym_func_btf_id() 8382 } else if (!str_has_pfx(ext->name, "LINUX_") || !ext->is_weak) { in bpf_object__resolve_externs() 8435 if (!ext->is_set && !ext->is_weak) { in bpf_object__resolve_externs()
|