Home
last modified time | relevance | path

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

/linux/kernel/bpf/
A Dbpf_struct_ops.c222 nargs = btf_type_vlen(func_proto); in prepare_arg_info()
223 if (nargs != btf_type_vlen(stub_func_proto)) { in prepare_arg_info()
306 for (i = 0; i < btf_type_vlen(st_ops_desc->type); i++) in bpf_struct_ops_desc_release()
346 if (btf_type_vlen(t) > BPF_STRUCT_OPS_MAX_NR_MEMBERS) { in bpf_struct_ops_desc_init()
348 btf_type_vlen(t), st_ops->name); in bpf_struct_ops_desc_init()
362 arg_info = kcalloc(btf_type_vlen(t), sizeof(*arg_info), in bpf_struct_ops_desc_init()
964 st_map->links_cnt = btf_type_vlen(t); in bpf_struct_ops_map_alloc()
997 usage += btf_type_vlen(vt) * sizeof(struct bpf_links *); in bpf_struct_ops_map_mem_usage()
A Dbtf.c2245 if (btf_type_vlen(t)) { in btf_int_check_meta()
2578 if (btf_type_vlen(t)) { in btf_ref_type_check_meta()
2833 if (btf_type_vlen(t)) { in btf_fwd_check_meta()
2919 if (btf_type_vlen(t)) { in btf_array_check_meta()
4624 if (btf_type_vlen(t)) { in btf_var_check_meta()
4830 if (btf_type_vlen(t)) { in btf_float_check_meta()
4923 if (btf_type_vlen(t)) { in btf_decl_tag_check_meta()
5016 nr_args = btf_type_vlen(t); in btf_func_proto_check()
6645 vlen = btf_type_vlen(t); in btf_struct_walk()
7154 nargs1 = btf_type_vlen(t1); in btf_check_func_type_match()
[all …]
A Dbpf_lsm.c94 if (btf_type_vlen(prog->aux->attach_func_proto) < 1 || in BTF_SET_END()
A Dverifier.c11929 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args()
12873 nargs = btf_type_vlen(meta.func_proto); in check_kfunc_call()
16166 vlen = btf_type_vlen(meta->func_proto); in kfunc_fastcall_clobber_mask()
21779 if (member_idx >= btf_type_vlen(t)) { in check_struct_ops_btf_id()
/linux/include/linux/
A Dbtf.h242 i < btf_type_vlen(struct_type); \
247 i < btf_type_vlen(datasec_type); \
405 static inline u16 btf_type_vlen(const struct btf_type *t) in btf_type_vlen() function
412 return btf_type_vlen(t); in btf_vlen()
/linux/net/bpf/
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/kernel/trace/
A Dtrace_btf.c48 *nr = btf_type_vlen(func_proto); in btf_get_func_param()
/linux/kernel/sched/
A Dext.c5340 if (member_idx >= btf_type_vlen(t)) in set_arg_maybe_null()

Completed in 77 milliseconds