Searched refs:btf_type_vlen (Results 1 – 7 of 7) sorted by relevance
/linux/include/linux/ |
H A D | btf.h | 249 i < btf_type_vlen(struct_type); \ 254 i < btf_type_vlen(datasec_type); \ 417 static inline u16 btf_type_vlen(const struct btf_type *t) in btf_type_vlen() function 424 return btf_type_vlen(t); in btf_vlen()
|
/linux/net/bpf/ |
H A D | bpf_dummy_struct_ops.c | 100 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/ |
H A D | trace_btf.c | 48 *nr = btf_type_vlen(func_proto); in btf_get_func_param()
|
/linux/kernel/bpf/ |
H A D | bpf_struct_ops.c | 208 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 D | btf.c | 197 i < btf_type_vlen(struct_type); \ 202 i < btf_type_vlen(struct_type); \ 2259 if (btf_type_vlen(t)) { in btf_int_check_meta() 2592 if (btf_type_vlen(t)) { in btf_ref_type_check_meta() 2847 if (btf_type_vlen(t)) { in btf_fwd_check_meta() 2933 if (btf_type_vlen(t)) { in btf_array_check_meta() 3172 meta_needed = btf_type_vlen(t) * sizeof(*member); in btf_struct_check_meta() 3315 btf_verifier_log(env, "size=%u vlen=%u", t->size, btf_type_vlen(t)); in btf_struct_log() 4337 nr_enums = btf_type_vlen(t); in btf_enum_check_meta() 4389 btf_verifier_log(env, "size=%u vlen=%u", t->size, btf_type_vlen( in btf_enum_log() [all...] |
H A D | bpf_lsm.c | 94 if (btf_type_vlen(prog->aux->attach_func_proto) < 1 || in BTF_SET_END()
|
H A D | verifier.c | 13016 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args() 14069 nargs = btf_type_vlen(meta.func_proto); in check_kfunc_call() 17502 cs->num_params = btf_type_vlen(meta.func_proto); in get_call_summary() 23426 if (member_idx >= btf_type_vlen(t)) { in check_struct_ops_btf_id()
|