Searched refs:ret_type_id (Results 1 – 7 of 7) sorted by relevance
| /linux/tools/bpf/bpftool/Documentation/ |
| H A D | bpftool-btf.rst | 186 [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/bpf/resolve_btfids/ |
| H A D | main.c | 1376 s32 ret_type_id = proto->type; in add_arena_tagged_proto() local 1395 ret_type_id = arena_tag_ptr(btf, ret_type_id, kfunc); in add_arena_tagged_proto() 1396 if (ret_type_id < 0) in add_arena_tagged_proto() 1397 return ret_type_id; in add_arena_tagged_proto() 1400 new_proto_id = btf__add_func_proto(btf, ret_type_id); in add_arena_tagged_proto()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_loader.c | 1219 __u32 ret_type_id, vlen; in fixup_btf_from_path() local 1263 ret_type_id = fp->type; in fixup_btf_from_path() 1273 new_proto_id = btf__add_func_proto(prog_btf, ret_type_id); in fixup_btf_from_path()
|
| /linux/tools/lib/bpf/ |
| H A D | btf.h | 262 LIBBPF_API int btf__add_func_proto(struct btf *btf, int ret_type_id);
|
| H A D | btf.c | 3054 int btf__add_func_proto(struct btf *btf, int ret_type_id) in btf__add_func_proto() argument 3060 if (validate_type_id(ret_type_id)) in btf__add_func_proto() 3077 t->type = ret_type_id; in btf__add_func_proto()
|
| H A D | libbpf.c | 7277 int fn_id, fn_proto_id, ret_type_id, orig_proto_id; in clone_func_btf_info() local 7298 ret_type_id = fn_proto_t->type; /* fn_proto_t will be invalidated */ in clone_func_btf_info() 7302 fn_proto_id = btf__add_func_proto(btf, ret_type_id); in clone_func_btf_info()
|
| /linux/kernel/bpf/ |
| H A D | btf.c | 5291 u32 ret_type_id = t->type; in btf_func_proto_check() local 5293 ret_type = btf_type_by_id(btf, ret_type_id); in btf_func_proto_check() 5305 !env_type_is_resolved(env, ret_type_id)) { in btf_func_proto_check() 5306 err = btf_resolve(env, ret_type, ret_type_id); in btf_func_proto_check() 5312 if (!btf_type_id_size(btf, &ret_type_id, NULL)) { in btf_func_proto_check()
|