Home
last modified time | relevance | path

Searched refs:st_ops_desc (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/kernel/bpf/
Dbpf_struct_ops.c27 const struct bpf_struct_ops_desc *st_ops_desc; member
300 void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc) in bpf_struct_ops_desc_release() argument
305 arg_info = st_ops_desc->arg_info; in bpf_struct_ops_desc_release()
306 for (i = 0; i < btf_type_vlen(st_ops_desc->type); i++) in bpf_struct_ops_desc_release()
312 int bpf_struct_ops_desc_init(struct bpf_struct_ops_desc *st_ops_desc, in bpf_struct_ops_desc_init() argument
316 struct bpf_struct_ops *st_ops = st_ops_desc->st_ops; in bpf_struct_ops_desc_init()
367 st_ops_desc->arg_info = arg_info; in bpf_struct_ops_desc_init()
368 st_ops_desc->type = t; in bpf_struct_ops_desc_init()
369 st_ops_desc->type_id = type_id; in bpf_struct_ops_desc_init()
370 st_ops_desc->value_id = value_id; in bpf_struct_ops_desc_init()
[all …]
Dverifier.c21740 const struct bpf_struct_ops_desc *st_ops_desc; in check_struct_ops_btf_id() local
21769 st_ops_desc = bpf_struct_ops_find(btf, btf_id); in check_struct_ops_btf_id()
21770 if (!st_ops_desc) { in check_struct_ops_btf_id()
21775 st_ops = st_ops_desc->st_ops; in check_struct_ops_btf_id()
21777 t = st_ops_desc->type; in check_struct_ops_btf_id()
21814 st_ops_desc->arg_info[member_idx].info; in check_struct_ops_btf_id()
21816 st_ops_desc->arg_info[member_idx].cnt; in check_struct_ops_btf_id()
/linux-6.12.1/include/linux/
Dbpf.h1862 int bpf_struct_ops_desc_init(struct bpf_struct_ops_desc *st_ops_desc,
1866 void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc);
1895 static inline void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc) in bpf_struct_ops_desc_release() argument
/linux-6.12.1/kernel/sched/
Dext.c5320 const struct bpf_struct_ops_desc *st_ops_desc; in set_arg_maybe_null() local
5332 st_ops_desc = bpf_struct_ops_find(btf, btf_id); in set_arg_maybe_null()
5333 if (!st_ops_desc) in set_arg_maybe_null()
5337 t = st_ops_desc->type; in set_arg_maybe_null()