Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dbpf_struct_ops.c162 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()
H A Dbtf.c195 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 …]
H A Dbpf_lsm.c77 if (btf_type_vlen(prog->aux->attach_func_proto) < 1 || in BTF_SET_END()
H A Dverifier.c11274 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()
/openbmc/linux/include/linux/
H A Dbtf.h226 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() function
391 return btf_type_vlen(t); in btf_vlen()
/openbmc/linux/kernel/trace/
H A Dtrace_btf.c48 *nr = btf_type_vlen(func_proto); in btf_get_func_param()
/openbmc/linux/net/bpf/
H A Dbpf_dummy_struct_ops.c94 args = dummy_ops_init_args(kattr, btf_type_vlen(func_proto)); in bpf_struct_ops_test_run()