Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/bpf/
Dbpf_struct_ops.c31 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()
[all …]
DMakefile35 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o
Dverifier.c11410 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id()
/Linux-v5.10/net/ipv4/
Dbpf_tcp_ca.c244 extern struct bpf_struct_ops bpf_tcp_congestion_ops;
246 struct bpf_struct_ops bpf_tcp_congestion_ops = {
/Linux-v5.10/tools/bpf/bpftool/Documentation/
Dbpftool-struct_ops.rst30 | *OBJ* := /a/file/of/bpf_struct_ops.o
/Linux-v5.10/include/linux/
Dbpf_types.h71 BPF_PROG_TYPE(BPF_PROG_TYPE_STRUCT_OPS, bpf_struct_ops,
Dbpf.h887 struct bpf_struct_ops { struct
907 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id); argument
928 static inline const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
/Linux-v5.10/tools/lib/bpf/
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()
8477 struct bpf_struct_ops *st_ops; in bpf_object__collect_st_ops_relos()
9775 struct bpf_struct_ops *st_ops; in bpf_map__attach_struct_ops()