Home
last modified time | relevance | path

Searched refs:is_weak (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/tools/lib/bpf/
Dbpf_gen_internal.h12 bool is_weak; member
69 void bpf_gen__record_extern(struct bpf_gen *gen, const char *name, bool is_weak,
Dgen_loader.c562 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()
Dlinker.c98 bool is_weak; member
1890 && !glob_sym->is_weak && sym_bind != STB_WEAK) { in linker_append_elf_sym()
1911 glob_sym->is_weak = false; in linker_append_elf_sym()
2003 glob_sym->is_weak = sym_bind == STB_WEAK; in linker_append_elf_sym()
Dlibbpf.c559 bool is_weak; member
3826 ext->is_weak = ELF64_ST_BIND(sym->st_info) == STB_WEAK; in bpf_object__collect_externs()
7272 ext->is_weak, !ext->ksym.type_id, in bpf_program_record_relos()
7277 ext->is_weak, false, false, BTF_KIND_FUNC, in bpf_program_record_relos()
7633 if (id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_var_btf_id()
7688 if (kfunc_id == -ESRCH && ext->is_weak) in bpf_object__resolve_ksym_func_btf_id()
7701 if (ext->is_weak) in bpf_object__resolve_ksym_func_btf_id()
7819 } else if (!str_has_pfx(ext->name, "LINUX_") || !ext->is_weak) { in bpf_object__resolve_externs()
7872 if (!ext->is_set && !ext->is_weak) { in bpf_object__resolve_externs()