Home
last modified time | relevance | path

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

/linux-6.6.21/tools/lib/bpf/
Dgen_loader.c667 int btf_fd_idx; in emit_relo_kfunc_btf() local
686 btf_fd_idx = add_kfunc_btf_fd(gen); in emit_relo_kfunc_btf()
687 if (btf_fd_idx > INT16_MAX) { in emit_relo_kfunc_btf()
689 btf_fd_idx, relo->name); in emit_relo_kfunc_btf()
693 kdesc->off = btf_fd_idx; in emit_relo_kfunc_btf()
708 0, 0, 0, blob_fd_array_off(gen, btf_fd_idx))); in emit_relo_kfunc_btf()
718 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), btf_fd_idx)); in emit_relo_kfunc_btf()
Dlibbpf.c581 __s16 btf_fd_idx; member
6022 insn[0].off = ext->ksym.btf_fd_idx; in bpf_object__relocate_data()
7733 ext->ksym.btf_fd_idx = mod_btf ? mod_btf->fd_array_idx : 0; in bpf_object__resolve_ksym_func_btf_id()
/linux-6.6.21/include/linux/
Dbpf.h2443 u16 btf_fd_idx, u8 **func_addr);
2697 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
/linux-6.6.21/kernel/bpf/
Dverifier.c2736 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
2740 desc = find_kfunc_desc(prog, func_id, btf_fd_idx); in bpf_get_kfunc_addr()