Searched refs:st_ops_desc (Results 1 – 4 of 4) sorted by relevance
27 const struct bpf_struct_ops_desc *st_ops_desc; member300 void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc) in bpf_struct_ops_desc_release() argument305 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() argument316 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 …]
21740 const struct bpf_struct_ops_desc *st_ops_desc; in check_struct_ops_btf_id() local21769 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()
1862 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
5320 const struct bpf_struct_ops_desc *st_ops_desc; in set_arg_maybe_null() local5332 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()