Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/test_kmods/
H A Dbpf_test_no_cfi.c49 static struct bpf_struct_ops test_no_cif_ops = {
H A Dbpf_testmod.c1651 struct bpf_struct_ops bpf_bpf_testmod_ops = {
1674 struct bpf_struct_ops bpf_testmod_ops2 = {
1735 struct bpf_struct_ops bpf_testmod_ops3 = {
1966 static struct bpf_struct_ops testmod_st_ops = {
2107 struct bpf_struct_ops testmod_multi_st_ops = {
/linux/net/ipv4/
H A Dbpf_tcp_ca.c15 static struct bpf_struct_ops bpf_tcp_congestion_ops;
332 static struct bpf_struct_ops bpf_tcp_congestion_ops = {
/linux/fs/
H A Dbinfmt_misc_bpf.c47 static struct bpf_struct_ops bpf_binfmt_misc_ops;
446 static struct bpf_struct_ops bpf_binfmt_misc_ops = {
/linux/net/sched/
H A Dbpf_qdisc.c14 static struct bpf_struct_ops bpf_Qdisc_ops;
446 static struct bpf_struct_ops bpf_Qdisc_ops = {
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-struct_ops.rst34 | *OBJ* := /a/file/of/bpf_struct_ops.o
/linux/kernel/bpf/
H A DMakefile44 obj-$(CONFIG_BPF_SYSCALL) += bpf_struct_ops.o
H A Dbpf_struct_ops.c351 int bpf_struct_ops_supported(const struct bpf_struct_ops *st_ops, u32 moff) in bpf_struct_ops_supported()
362 struct bpf_struct_ops *st_ops = st_ops_desc->st_ops; in bpf_struct_ops_desc_init()
731 const struct bpf_struct_ops *st_ops = st_ops_desc->st_ops; in bpf_struct_ops_map_update_elem()
H A Dbtf.c9952 btf_add_struct_ops(struct btf *btf, struct bpf_struct_ops *st_ops, in btf_add_struct_ops()
10037 int __register_bpf_struct_ops(struct bpf_struct_ops *st_ops) in __register_bpf_struct_ops()
H A Dverifier.c18871 verbose(env, "bpf_struct_ops map cannot be used in prog\n"); in check_map_prog_compatibility()
19788 const struct bpf_struct_ops *st_ops; in check_struct_ops_btf_id()
/linux/include/linux/
H A Dbtf.h540 struct bpf_struct_ops;
541 int __register_bpf_struct_ops(struct bpf_struct_ops *st_ops);
H A Dbpf.h1231 /* Return the return value of fentry prog. Only used by bpf_struct_ops. */
1254 * Used by bpf_struct_ops.
1846 const struct bpf_struct_ops *st_ops;
2093 * struct bpf_struct_ops - A structure of callbacks allowing a subsystem to
2138 * @name: The name of the struct bpf_struct_ops object.
2141 struct bpf_struct_ops {
2174 struct bpf_struct_ops *st_ops; in bpf_prog_get_recursion_context()
2260 int bpf_struct_ops_supported(const struct bpf_struct_ops *st_ops, u32 moff);
2324 static inline int bpf_struct_ops_supported(const struct bpf_struct_ops *st_ops, u32 moff) in bpf_fsession_cnt()
2104 struct bpf_struct_ops { global() struct
2105 verifier_opsbpf_struct_ops global() argument
2106 initbpf_struct_ops global() argument
2107 check_memberbpf_struct_ops global() argument
2131 regbpf_struct_ops global() argument
2137 func_modelsbpf_struct_ops global() argument
/linux/io_uring/
H A Dbpf-ops.c251 static struct bpf_struct_ops bpf_ring_ops = {
/linux/drivers/hid/bpf/
H A Dhid_bpf_struct_ops.c309 static struct bpf_struct_ops bpf_hid_bpf_ops = {
/linux/tools/lib/bpf/
H A Dlibbpf.c524 struct bpf_struct_ops { struct
593 struct bpf_struct_ops *st_ops;
1180 struct bpf_struct_ops *st_ops; in bpf_map__init_kern_struct_ops()
1400 struct bpf_struct_ops *st_ops; in init_struct_ops_maps()
9021 struct bpf_struct_ops *st_ops; in bpf_map_prepare_vdata()
10509 struct bpf_struct_ops *st_ops; in bpf_object__collect_st_ops_relos()
/linux/kernel/sched/ext/
H A Dext.c8042 * bpf_struct_ops plumbing. in bpf_scx_btf_struct_access_common()
8420 static struct bpf_struct_ops bpf_sched_ext_ops = {
8489 * The cid-form struct_ops shares all bpf_struct_ops hooks with the cpu form. in sysrq_handle_sched_ext_reset()
8493 static struct bpf_struct_ops bpf_sched_ext_ops_cid = { in sysrq_handle_sched_ext_reset()