Home
last modified time | relevance | path

Searched refs:bpf_sysctl (Results 1 – 11 of 11) sorted by relevance

/linux-6.15/tools/testing/selftests/bpf/progs/
H A Dtest_sysctl_prog.c22 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem()
42 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
H A Dtest_sysctl_loop2.c21 static __attribute__((noinline)) int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem()
42 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
H A Dtest_sysctl_loop1.c21 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem()
41 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
/linux-6.15/tools/testing/selftests/bpf/
H A Dtest_sysctl.c85 offsetof(struct bpf_sysctl, write)),
106 offsetof(struct bpf_sysctl, write)),
129 offsetof(struct bpf_sysctl, write)),
132 offsetof(struct bpf_sysctl, write) + 2),
152 offsetof(struct bpf_sysctl, write)),
166 offsetof(struct bpf_sysctl, file_pos)),
189 offsetof(struct bpf_sysctl, file_pos)),
192 offsetof(struct bpf_sysctl, file_pos) + 3),
216 offsetof(struct bpf_sysctl, file_pos)),
H A Dcgroup_getset_retval_hooks.h16 BPF_RETVAL_HOOK(sysctl, "cgroup/sysctl", bpf_sysctl, 0)
/linux-6.15/include/linux/
H A Dbpf_types.h56 struct bpf_sysctl, struct bpf_sysctl_kern)
/linux-6.15/kernel/bpf/
H A Dcgroup.c2235 if (off < 0 || off + size > sizeof(struct bpf_sysctl) || off % size) in sysctl_is_valid_access()
2239 case bpf_ctx_range(struct bpf_sysctl, write): in sysctl_is_valid_access()
2244 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access()
2265 case offsetof(struct bpf_sysctl, write): in sysctl_convert_ctx_access()
2273 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
/linux-6.15/Documentation/bpf/
H A Dprog_cgroup_sysctl.rst25 struct bpf_sysctl {
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c147 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
/linux-6.15/tools/include/uapi/linux/
H A Dbpf.h7399 struct bpf_sysctl { struct
/linux-6.15/include/uapi/linux/
H A Dbpf.h7399 struct bpf_sysctl { struct