Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-btf.rst186 [18] FUNC_PROTO '(anon)' ret_type_id=3 vlen=2
262 [104854] FUNC_PROTO '(anon)' ret_type_id=18 vlen=1
266 [104857] FUNC_PROTO '(anon)' ret_type_id=18 vlen=2
/linux/tools/lib/bpf/
H A Dbtf.h260 LIBBPF_API int btf__add_func_proto(struct btf *btf, int ret_type_id);
H A Dlibbpf.c7221 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; in clone_func_btf_info()
7242 ret_type_id = fn_proto_t->type; /* fn_proto_t will be invalidated */ in bpf_program_fixup_func_info()
7246 fn_proto_id = btf__add_func_proto(btf, ret_type_id); in bpf_program_fixup_func_info()
7166 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; clone_func_btf_info() local
/linux/kernel/bpf/
H A Dbtf.c5195 u32 ret_type_id = t->type; in btf_func_proto_check() local
5197 ret_type = btf_type_by_id(btf, ret_type_id); in btf_func_proto_check()
5209 !env_type_is_resolved(env, ret_type_id)) { in btf_func_proto_check()
5210 err = btf_resolve(env, ret_type, ret_type_id); in btf_func_proto_check()
5216 if (!btf_type_id_size(btf, &ret_type_id, NULL)) { in btf_func_proto_check()