Home
last modified time | relevance | path

Searched refs:new_proto_id (Results 1 – 2 of 2) sorted by relevance

/linux/tools/bpf/resolve_btfids/
H A Dmain.c1220 s32 idx, new_proto_id, new_func_id, proto_id; in process_kfunc_with_implicit_args() local
1288 new_proto_id = btf__add_func_proto(btf, t->type); in process_kfunc_with_implicit_args()
1289 if (new_proto_id < 0) { in process_kfunc_with_implicit_args()
1291 return new_proto_id; in process_kfunc_with_implicit_args()
1313 t->type = new_proto_id; in process_kfunc_with_implicit_args()
1379 s32 new_proto_id, id; in add_arena_tagged_proto() local
1400 new_proto_id = btf__add_func_proto(btf, ret_type_id); in add_arena_tagged_proto()
1401 if (new_proto_id < 0) { in add_arena_tagged_proto()
1403 kfunc->name, new_proto_id); in add_arena_tagged_proto()
1404 return new_proto_id; in add_arena_tagged_proto()
[all …]
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c1222 int new_proto_id; in fixup_btf_from_path() local
1273 new_proto_id = btf__add_func_proto(prog_btf, ret_type_id); in fixup_btf_from_path()
1274 if (new_proto_id < 0) { in fixup_btf_from_path()
1275 err = new_proto_id; in fixup_btf_from_path()
1296 ((struct btf_type *)btf__type_by_id(prog_btf, i))->type = new_proto_id; in fixup_btf_from_path()