Lines Matching refs:bpf_struct_ops
33 const struct bpf_struct_ops *st_ops;
70 extern struct bpf_struct_ops bpf_##_name; \
86 static struct bpf_struct_ops * const bpf_struct_ops[] = { variable
108 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init()
126 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_init()
127 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
205 static const struct bpf_struct_ops *
213 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find_value()
214 if (bpf_struct_ops[i]->value_id == value_id) in bpf_struct_ops_find_value()
215 return bpf_struct_ops[i]; in bpf_struct_ops_find_value()
221 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
228 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find()
229 if (bpf_struct_ops[i]->type_id == type_id) in bpf_struct_ops_find()
230 return bpf_struct_ops[i]; in bpf_struct_ops_find()
356 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_update_elem()
596 const struct bpf_struct_ops *st_ops; in bpf_struct_ops_map_alloc()