Searched refs:btf_type_vlen (Results 1 – 7 of 7) sorted by relevance
162 if (btf_type_vlen(t) > BPF_STRUCT_OPS_MAX_NR_MEMBERS) { in bpf_struct_ops_init()164 btf_type_vlen(t), st_ops->name); in bpf_struct_ops_init()197 if (j == btf_type_vlen(t)) { in bpf_struct_ops_init()302 for (i = 0; i < btf_type_vlen(t); i++) { in bpf_struct_ops_map_put_progs()686 bpf_map_area_alloc(btf_type_vlen(t) * sizeof(struct bpf_links *), in bpf_struct_ops_map_alloc()711 usage += btf_type_vlen(vt) * sizeof(struct bpf_links *); in bpf_struct_ops_map_mem_usage()
195 i < btf_type_vlen(struct_type); \200 i < btf_type_vlen(struct_type); \2182 if (btf_type_vlen(t)) { in btf_int_check_meta()2515 if (btf_type_vlen(t)) { in btf_ref_type_check_meta()2770 if (btf_type_vlen(t)) { in btf_fwd_check_meta()2856 if (btf_type_vlen(t)) { in btf_array_check_meta()3095 meta_needed = btf_type_vlen(t) * sizeof(*member); in btf_struct_check_meta()3238 btf_verifier_log(env, "size=%u vlen=%u", t->size, btf_type_vlen(t)); in btf_struct_log()4068 nr_enums = btf_type_vlen(t); in btf_enum_check_meta()4120 btf_verifier_log(env, "size=%u vlen=%u", t->size, btf_type_vlen(t)); in btf_enum_log()[all …]
77 if (btf_type_vlen(prog->aux->attach_func_proto) < 1 || in BTF_SET_END()
11274 nargs = btf_type_vlen(meta->func_proto); in check_kfunc_args()12050 nargs = btf_type_vlen(meta.func_proto); in check_kfunc_call()19761 if (member_idx >= btf_type_vlen(t)) { in check_struct_ops_btf_id()
226 i < btf_type_vlen(struct_type); \231 i < btf_type_vlen(datasec_type); \384 static inline u16 btf_type_vlen(const struct btf_type *t) in btf_type_vlen() function391 return btf_type_vlen(t); in btf_vlen()
48 *nr = btf_type_vlen(func_proto); in btf_get_func_param()
94 args = dummy_ops_init_args(kattr, btf_type_vlen(func_proto)); in bpf_struct_ops_test_run()