Home
last modified time | relevance | path

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

/linux/tools/bpf/bpftool/Documentation/
A Dbpftool-btf.rst179 [18] FUNC_PROTO '(anon)' ret_type_id=3 vlen=2
255 [104854] FUNC_PROTO '(anon)' ret_type_id=18 vlen=1
259 [104857] FUNC_PROTO '(anon)' ret_type_id=18 vlen=2
/linux/tools/lib/bpf/
A Dbtf.h234 LIBBPF_API int btf__add_func_proto(struct btf *btf, int ret_type_id);
A Dbtf.c2278 int btf__add_func_proto(struct btf *btf, int ret_type_id) in btf__add_func_proto() argument
2283 if (validate_type_id(ret_type_id)) in btf__add_func_proto()
2299 t->type = ret_type_id; in btf__add_func_proto()
/linux/kernel/bpf/
A Dbtf.c3942 u32 ret_type_id = t->type; in btf_func_proto_check() local
3944 ret_type = btf_type_by_id(btf, ret_type_id); in btf_func_proto_check()
3951 !env_type_is_resolved(env, ret_type_id)) { in btf_func_proto_check()
3952 err = btf_resolve(env, ret_type, ret_type_id); in btf_func_proto_check()
3958 if (!btf_type_id_size(btf, &ret_type_id, NULL)) { in btf_func_proto_check()

Completed in 26 milliseconds