Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/bpf/
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 …]
DMakefile35 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o
Dverifier.c13251 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id()
/Linux-v5.15/net/ipv4/
Dbpf_tcp_ca.c14 extern struct bpf_struct_ops bpf_tcp_congestion_ops;
327 struct bpf_struct_ops bpf_tcp_congestion_ops = {
/Linux-v5.15/tools/bpf/bpftool/Documentation/
Dbpftool-struct_ops.rst30 | *OBJ* := /a/file/of/bpf_struct_ops.o
/Linux-v5.15/include/linux/
Dbpf_types.h71 BPF_PROG_TYPE(BPF_PROG_TYPE_STRUCT_OPS, bpf_struct_ops,
Dbpf.h975 struct bpf_struct_ops { struct
995 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id); argument
1016 static inline const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
/Linux-v5.15/tools/lib/bpf/
Dlibbpf.c313 struct bpf_struct_ops { struct
373 struct bpf_struct_ops *st_ops;
862 struct bpf_struct_ops *st_ops; in bpf_map__init_kern_struct_ops()
1010 struct bpf_struct_ops *st_ops; in bpf_object__init_struct_ops_maps()
8168 struct bpf_struct_ops *st_ops; in bpf_object__collect_st_ops_relos()
9704 struct bpf_struct_ops *st_ops; in bpf_map__attach_struct_ops()