Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbpf_struct_ops.c26 const struct bpf_struct_ops_desc *st_ops_desc; member
325 void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc) in bpf_struct_ops_desc_release() argument
330 arg_info = st_ops_desc->arg_info; in bpf_struct_ops_desc_release()
331 for (i = 0; i < btf_type_vlen(st_ops_desc->type); i++) in bpf_struct_ops_desc_release()
358 int bpf_struct_ops_desc_init(struct bpf_struct_ops_desc *st_ops_desc, in bpf_struct_ops_desc_init() argument
362 struct bpf_struct_ops *st_ops = st_ops_desc->st_ops; in bpf_struct_ops_desc_init()
412 st_ops_desc->arg_info = arg_info; in bpf_struct_ops_desc_init()
413 st_ops_desc->type = t; in bpf_struct_ops_desc_init()
414 st_ops_desc->type_id = type_id; in bpf_struct_ops_desc_init()
415 st_ops_desc->value_id = value_id; in bpf_struct_ops_desc_init()
[all …]
H A Dverifier.c19555 const struct bpf_struct_ops_desc *st_ops_desc; in check_struct_ops_btf_id() local
19586 st_ops_desc = bpf_struct_ops_find(btf, btf_id); in check_struct_ops_btf_id()
19587 if (!st_ops_desc) { in check_struct_ops_btf_id()
19592 st_ops = st_ops_desc->st_ops; in check_struct_ops_btf_id()
19594 t = st_ops_desc->type; in check_struct_ops_btf_id()
19635 arg_info = &st_ops_desc->arg_info[member_idx]; in check_struct_ops_btf_id()
/linux/include/linux/
H A Dbpf.h2270 int bpf_struct_ops_desc_init(struct bpf_struct_ops_desc *st_ops_desc,
2274 void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc);
2314 static inline void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc) in bpf_struct_ops_desc_release() argument