Home
last modified time | relevance | path

Searched refs:bpf_struct_ops (Results 1 – 8 of 8) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/bpf/
H A Dbpf_struct_ops.c32 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
104 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init()
122 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_init()
123 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
201 static const struct bpf_struct_ops *
209 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find_value()
210 if (bpf_struct_ops[i]->value_id == value_id) in bpf_struct_ops_find_value()
211 return bpf_struct_ops[i]; in bpf_struct_ops_find_value()
[all …]
H A DMakefile35 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o
H A Dverifier.c11900 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dbpf_tcp_ca.c244 extern struct bpf_struct_ops bpf_tcp_congestion_ops;
246 struct bpf_struct_ops bpf_tcp_congestion_ops = {
/OK3568_Linux_fs/kernel/tools/bpf/bpftool/Documentation/
H A Dbpftool-struct_ops.rst30 | *OBJ* := /a/file/of/bpf_struct_ops.o
/OK3568_Linux_fs/kernel/include/linux/
H A Dbpf_types.h71 BPF_PROG_TYPE(BPF_PROG_TYPE_STRUCT_OPS, bpf_struct_ops,
H A Dbpf.h925 struct bpf_struct_ops { struct
945 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id); argument
966 static inline const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
/OK3568_Linux_fs/kernel/tools/lib/bpf/
H A Dlibbpf.c291 struct bpf_struct_ops { struct
351 struct bpf_struct_ops *st_ops;
793 struct bpf_struct_ops *st_ops; in bpf_map__init_kern_struct_ops()
941 struct bpf_struct_ops *st_ops; in bpf_object__init_struct_ops_maps()
8558 struct bpf_struct_ops *st_ops; in bpf_object__collect_st_ops_relos()
9856 struct bpf_struct_ops *st_ops; in bpf_map__attach_struct_ops()