Searched refs:func_proto (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/kernel/bpf/ |
A D | cgroup.c | 1607 if (func_proto) in cgroup_dev_func_proto() 1608 return func_proto; in cgroup_dev_func_proto() 1611 if (func_proto) in cgroup_dev_func_proto() 1612 return func_proto; in cgroup_dev_func_proto() 2137 if (func_proto) in sysctl_func_proto() 2138 return func_proto; in sysctl_func_proto() 2141 if (func_proto) in sysctl_func_proto() 2142 return func_proto; in sysctl_func_proto() 2282 if (func_proto) in cg_sockopt_func_proto() 2283 return func_proto; in cg_sockopt_func_proto() [all …]
|
A D | bpf_lsm.c | 199 const struct bpf_func_proto *func_proto; in bpf_lsm_func_proto() local 202 func_proto = cgroup_common_func_proto(func_id, prog); in bpf_lsm_func_proto() 203 if (func_proto) in bpf_lsm_func_proto() 204 return func_proto; in bpf_lsm_func_proto()
|
A D | bpf_struct_ops.c | 160 const struct btf_type *func_proto; in bpf_struct_ops_init() local 175 func_proto = btf_type_resolve_func_ptr(btf, in bpf_struct_ops_init() 178 if (func_proto && in bpf_struct_ops_init() 180 func_proto, mname, in bpf_struct_ops_init()
|
A D | verifier.c | 2257 const struct btf_type *func, *func_proto; in add_kfunc_call() local 2335 if (!func_proto || !btf_type_is_func_proto(func_proto)) { in add_kfunc_call() 2368 func_proto, func_name, in add_kfunc_call() 8603 const struct btf_type *func_proto; member 9467 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args() 9815 meta.func_proto = func_proto; in check_kfunc_call() 10053 nargs = btf_type_vlen(func_proto); in check_kfunc_call() 13396 if (unlikely(!func_proto || !btf_type_is_func_proto(func_proto))) in check_btf_func() 17185 const struct btf_type *t, *func_proto; in check_struct_ops_btf_id() local 17217 if (!func_proto) { in check_struct_ops_btf_id() [all …]
|
A D | btf.c | 5904 static u32 get_ctx_arg_idx(struct btf *btf, const struct btf_type *func_proto, in get_ctx_arg_idx() argument 5912 if (!func_proto) in get_ctx_arg_idx() 5915 nr_args = btf_type_vlen(func_proto); in get_ctx_arg_idx() 5916 args = (const struct btf_param *)(func_proto + 1); in get_ctx_arg_idx() 5924 t = btf_type_skip_modifiers(btf, func_proto->type, NULL); in get_ctx_arg_idx()
|
/linux-6.3-rc2/net/bpf/ |
A D | bpf_dummy_struct_ops.c | 81 const struct btf_type *func_proto; in bpf_struct_ops_test_run() local 93 func_proto = prog->aux->attach_func_proto; in bpf_struct_ops_test_run() 94 args = dummy_ops_init_args(kattr, btf_type_vlen(func_proto)); in bpf_struct_ops_test_run()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | test_btf.h | 69 #define BTF_FUNC_ENC(name, func_proto) \ argument 70 BTF_TYPE_ENC(name, BTF_INFO_ENC(BTF_KIND_FUNC, 0, 0), func_proto)
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | btf_dumper.c | 28 const struct btf_type *func_proto, 32 const struct btf_type *func_proto, in dump_prog_id_as_func_ptr() argument 47 func_sig_len = btf_dump_func(d->btf, prog_str, func_proto, NULL, 0, in dump_prog_id_as_func_ptr() 711 const struct btf_type *func_proto, in btf_dump_func() argument 716 BTF_PRINT_TYPE(func_proto->type); in btf_dump_func() 721 vlen = BTF_INFO_VLEN(func_proto->info); in btf_dump_func() 723 struct btf_param *arg = &((struct btf_param *)(func_proto + 1))[i]; in btf_dump_func()
|
/linux-6.3-rc2/net/core/ |
A D | filter.c | 7682 if (func_proto) in sock_filter_func_proto() 7683 return func_proto; in sock_filter_func_proto() 7686 if (func_proto) in sock_filter_func_proto() 7687 return func_proto; in sock_filter_func_proto() 7711 if (func_proto) in sock_addr_func_proto() 7712 return func_proto; in sock_addr_func_proto() 7715 if (func_proto) in sock_addr_func_proto() 7716 return func_proto; in sock_addr_func_proto() 7816 if (func_proto) in cg_skb_func_proto() 7817 return func_proto; in cg_skb_func_proto() [all …]
|
/linux-6.3-rc2/Documentation/bpf/ |
A D | btf.rst | 526 int, ptr, array, struct, union, enum, func_proto and float types.
|
/linux-6.3-rc2/include/linux/ |
A D | bpf.h | 2213 const struct btf_type *func_proto,
|
/linux-6.3-rc2/tools/lib/bpf/ |
A D | libbpf.c | 3857 const struct btf_type *func_proto; in bpf_object__collect_externs() local 3861 func_proto = btf__type_by_id(obj->btf, in bpf_object__collect_externs() 3863 param = btf_params(func_proto); in bpf_object__collect_externs() 3867 for (j = 0; j < btf_vlen(func_proto); j++) in bpf_object__collect_externs()
|
Completed in 101 milliseconds