Lines Matching refs:bpf_struct_ops
35 const struct bpf_struct_ops *st_ops;
79 extern struct bpf_struct_ops bpf_##_name; \
95 static struct bpf_struct_ops * const bpf_struct_ops[] = { variable
117 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init()
135 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_init()
136 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
214 static const struct bpf_struct_ops *
222 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find_value()
223 if (bpf_struct_ops[i]->value_id == value_id) in bpf_struct_ops_find_value()
224 return bpf_struct_ops[i]; in bpf_struct_ops_find_value()
230 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
237 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find()
238 if (bpf_struct_ops[i]->type_id == type_id) in bpf_struct_ops_find()
239 return bpf_struct_ops[i]; in bpf_struct_ops_find()
373 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_update_elem()
655 const struct bpf_struct_ops *st_ops; in bpf_struct_ops_map_alloc()
704 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_mem_usage()