Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dbpf_struct_ops.c35 const struct bpf_struct_ops *st_ops;
79 extern struct bpf_struct_ops bpf_##_name; \
95 static struct bpf_struct_ops * const bpf_struct_ops[] = { variable
117 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init()
135 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_init()
136 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
214 static const struct bpf_struct_ops *
222 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find_value()
223 if (bpf_struct_ops[i]->value_id == value_id) in bpf_struct_ops_find_value()
224 return bpf_struct_ops[i]; in bpf_struct_ops_find_value()
[all …]
DMakefile40 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o
Dverifier.c19706 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id()
/linux-6.6.21/net/bpf/
Dbpf_dummy_struct_ops.c10 extern struct bpf_struct_ops bpf_bpf_dummy_ops;
80 const struct bpf_struct_ops *st_ops = &bpf_bpf_dummy_ops; in bpf_struct_ops_test_run()
223 struct bpf_struct_ops bpf_bpf_dummy_ops = {
/linux-6.6.21/net/ipv4/
Dbpf_tcp_ca.c15 extern struct bpf_struct_ops bpf_tcp_congestion_ops;
274 struct bpf_struct_ops bpf_tcp_congestion_ops = {
/linux-6.6.21/tools/bpf/bpftool/Documentation/
Dbpftool-struct_ops.rst34 | *OBJ* := /a/file/of/bpf_struct_ops.o
/linux-6.6.21/include/linux/
Dbpf_types.h71 BPF_PROG_TYPE(BPF_PROG_TYPE_STRUCT_OPS, bpf_struct_ops,
Dbpf.h1619 struct bpf_struct_ops { struct
1642 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id); argument
1685 static inline const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.c458 struct bpf_struct_ops { struct
525 struct bpf_struct_ops *st_ops;
996 struct bpf_struct_ops *st_ops; in bpf_map__init_kern_struct_ops()
1145 struct bpf_struct_ops *st_ops; in init_struct_ops_maps()
7886 struct bpf_struct_ops *st_ops; in bpf_map_prepare_vdata()
9125 struct bpf_struct_ops *st_ops; in bpf_object__collect_st_ops_relos()