Lines Matching refs:bpf_struct_ops
32 const struct bpf_struct_ops *st_ops;
69 extern struct bpf_struct_ops bpf_##_name; \
85 static struct bpf_struct_ops * const bpf_struct_ops[] = { variable
107 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init()
125 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_init()
126 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
204 static const struct bpf_struct_ops *
212 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find_value()
213 if (bpf_struct_ops[i]->value_id == value_id) in bpf_struct_ops_find_value()
214 return bpf_struct_ops[i]; in bpf_struct_ops_find_value()
220 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
227 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find()
228 if (bpf_struct_ops[i]->type_id == type_id) in bpf_struct_ops_find()
229 return bpf_struct_ops[i]; in bpf_struct_ops_find()
336 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_update_elem()
566 const struct bpf_struct_ops *st_ops; in bpf_struct_ops_map_alloc()