Home
last modified time | relevance | path

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

/openbmc/linux/tools/lib/bpf/
H A 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()
H A Dlibbpf.c582 __s16 btf_fd_idx; member
6026 insn[0].off = ext->ksym.btf_fd_idx; in bpf_object__relocate_data()
7741 ext->ksym.btf_fd_idx = mod_btf ? mod_btf->fd_array_idx : 0; in bpf_object__resolve_ksym_func_btf_id()
/openbmc/linux/include/linux/
H A Dbpf.h2468 u16 btf_fd_idx, u8 **func_addr);
2722 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
/openbmc/linux/kernel/bpf/
H A Dverifier.c2738 u16 btf_fd_idx, u8 **func_addr) in bpf_get_kfunc_addr() argument
2742 desc = find_kfunc_desc(prog, func_id, btf_fd_idx); in bpf_get_kfunc_addr()