Home
last modified time | relevance | path

Searched refs:btf_type_vlen (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/include/linux/
H A Dbtf.h246 i < btf_type_vlen(struct_type); \
251 i < btf_type_vlen(datasec_type); \
414 static inline u16 btf_type_vlen(const struct btf_type *t) in btf_type_vlen() function
421 return btf_type_vlen(t); in btf_vlen()
/linux-6.15/net/bpf/
H A Dbpf_dummy_struct_ops.c100 for (u32 arg_no = 0; arg_no < btf_type_vlen(func_proto) ; ++arg_no) { in check_test_run_args()
153 args = dummy_ops_init_args(kattr, btf_type_vlen(func_proto)); in bpf_struct_ops_test_run()
/linux-6.15/kernel/trace/
H A Dtrace_btf.c48 *nr = btf_type_vlen(func_proto); in btf_get_func_param()
/linux-6.15/kernel/bpf/
H A Dbpf_struct_ops.c208 nargs = btf_type_vlen(func_proto); in prepare_arg_info()
209 if (nargs != btf_type_vlen(stub_func_proto)) { in prepare_arg_info()
304 for (i = 0; i < btf_type_vlen(st_ops_desc->type); i++) in bpf_struct_ops_desc_release()
365 if (btf_type_vlen(t) > BPF_STRUCT_OPS_MAX_NR_MEMBERS) { in bpf_struct_ops_desc_init()
367 btf_type_vlen(t), st_ops->name); in bpf_struct_ops_desc_init()
381 arg_info = kcalloc(btf_type_vlen(t), sizeof(*arg_info), in bpf_struct_ops_desc_init()
H A Dbtf.c2241 if (btf_type_vlen(t)) { in btf_int_check_meta()
2574 if (btf_type_vlen(t)) { in btf_ref_type_check_meta()
2829 if (btf_type_vlen(t)) { in btf_fwd_check_meta()
2915 if (btf_type_vlen(t)) { in btf_array_check_meta()
4669 if (btf_type_vlen(t)) { in btf_var_check_meta()
4875 if (btf_type_vlen(t)) { in btf_float_check_meta()
4968 if (btf_type_vlen(t)) { in btf_decl_tag_check_meta()
5056 nr_args = btf_type_vlen(t); in btf_func_proto_check()
6931 vlen = btf_type_vlen(t); in btf_struct_walk()
7440 nargs1 = btf_type_vlen(t1); in btf_check_func_type_match()
[all …]
H A Dbpf_lsm.c94 if (btf_type_vlen(prog->aux->attach_func_proto) < 1 || in BTF_SET_END()
H A Dverifier.c12886 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args()
13901 nargs = btf_type_vlen(meta.func_proto); in check_kfunc_call()
17248 cs->num_params = btf_type_vlen(meta.func_proto); in get_call_summary()
22950 if (member_idx >= btf_type_vlen(t)) { in check_struct_ops_btf_id()