Searched refs:st_ops_desc (Results 1 – 3 of 3) sorted by relevance
303 arg_info = st_ops_desc->arg_info; in bpf_struct_ops_desc_release()386 st_ops_desc->arg_info = arg_info; in bpf_struct_ops_desc_init()387 st_ops_desc->type = t; in bpf_struct_ops_desc_init()388 st_ops_desc->type_id = type_id; in bpf_struct_ops_desc_init()680 const struct bpf_struct_ops_desc *st_ops_desc = st_map->st_ops_desc; in bpf_struct_ops_map_update_elem() local1064 if (!st_ops_desc) { in bpf_struct_ops_map_alloc()1069 vt = st_ops_desc->value_type; in bpf_struct_ops_map_alloc()1075 t = st_ops_desc->type; in bpf_struct_ops_map_alloc()1089 st_map->st_ops_desc = st_ops_desc; in bpf_struct_ops_map_alloc()1123 const struct bpf_struct_ops_desc *st_ops_desc = st_map->st_ops_desc; in bpf_struct_ops_map_mem_usage() local[all …]
22910 const struct bpf_struct_ops_desc *st_ops_desc; in check_struct_ops_btf_id() local22940 st_ops_desc = bpf_struct_ops_find(btf, btf_id); in check_struct_ops_btf_id()22941 if (!st_ops_desc) { in check_struct_ops_btf_id()22946 st_ops = st_ops_desc->st_ops; in check_struct_ops_btf_id()22948 t = st_ops_desc->type; in check_struct_ops_btf_id()22989 for (i = 0; i < st_ops_desc->arg_info[member_idx].cnt; i++) { in check_struct_ops_btf_id()22990 if (st_ops_desc->arg_info[member_idx].info->refcounted) { in check_struct_ops_btf_id()23013 return bpf_prog_ctx_arg_info_init(prog, st_ops_desc->arg_info[member_idx].info, in check_struct_ops_btf_id()23014 st_ops_desc->arg_info[member_idx].cnt); in check_struct_ops_btf_id()
1940 int bpf_struct_ops_desc_init(struct bpf_struct_ops_desc *st_ops_desc,1944 void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc);1973 static inline void bpf_struct_ops_desc_release(struct bpf_struct_ops_desc *st_ops_desc) in bpf_struct_ops_desc_release() argument