Lines Matching refs:bpf_struct_ops
31 const struct bpf_struct_ops *st_ops;
68 extern struct bpf_struct_ops bpf_##_name; \
84 static struct bpf_struct_ops * const bpf_struct_ops[] = { variable
103 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init()
121 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_init()
122 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
200 static const struct bpf_struct_ops *
208 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find_value()
209 if (bpf_struct_ops[i]->value_id == value_id) in bpf_struct_ops_find_value()
210 return bpf_struct_ops[i]; in bpf_struct_ops_find_value()
216 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
223 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find()
224 if (bpf_struct_ops[i]->type_id == type_id) in bpf_struct_ops_find()
225 return bpf_struct_ops[i]; in bpf_struct_ops_find()
318 const struct bpf_struct_ops *st_ops = st_map->st_ops; in bpf_struct_ops_map_update_elem()
550 const struct bpf_struct_ops *st_ops; in bpf_struct_ops_map_alloc()