Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/bpf/
Dbpf_struct_ops.c33 const struct bpf_struct_ops *st_ops;
70 extern struct bpf_struct_ops bpf_##_name; \
86 static struct bpf_struct_ops * const bpf_struct_ops[] = { variable
108 struct bpf_struct_ops *st_ops; in bpf_struct_ops_init()
126 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_init()
127 st_ops = bpf_struct_ops[i]; in bpf_struct_ops_init()
205 static const struct bpf_struct_ops *
213 for (i = 0; i < ARRAY_SIZE(bpf_struct_ops); i++) { in bpf_struct_ops_find_value()
214 if (bpf_struct_ops[i]->value_id == value_id) in bpf_struct_ops_find_value()
215 return bpf_struct_ops[i]; in bpf_struct_ops_find_value()
[all …]
DMakefile38 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o
Dverifier.c14781 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id()
/linux-6.1.9/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()
209 struct bpf_struct_ops bpf_bpf_dummy_ops = {
/linux-6.1.9/net/ipv4/
Dbpf_tcp_ca.c15 extern struct bpf_struct_ops bpf_tcp_congestion_ops;
267 struct bpf_struct_ops bpf_tcp_congestion_ops = {
/linux-6.1.9/tools/bpf/bpftool/Documentation/
Dbpftool-struct_ops.rst34 | *OBJ* := /a/file/of/bpf_struct_ops.o
/linux-6.1.9/include/linux/
Dbpf_types.h71 BPF_PROG_TYPE(BPF_PROG_TYPE_STRUCT_OPS, bpf_struct_ops,
Dbpf.h1306 struct bpf_struct_ops { struct
1326 const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id); argument
1367 static inline const struct bpf_struct_ops *bpf_struct_ops_find(u32 type_id) in bpf_struct_ops_find()
/linux-6.1.9/tools/lib/bpf/
Dlibbpf.c441 struct bpf_struct_ops { struct
507 struct bpf_struct_ops *st_ops;
1012 struct bpf_struct_ops *st_ops; in bpf_map__init_kern_struct_ops()
1160 struct bpf_struct_ops *st_ops; in bpf_object__init_struct_ops_maps()
8818 struct bpf_struct_ops *st_ops; in bpf_object__collect_st_ops_relos()
11419 struct bpf_struct_ops *st_ops; in bpf_map__attach_struct_ops()