Searched refs:bpf_sysctl (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_sysctl_loop1.c | 22 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()
|
D | test_sysctl_loop2.c | 22 static __attribute__((noinline)) int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem() 43 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
|
D | test_sysctl_prog.c | 23 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx) in is_tcp_mem() 43 int sysctl_tcp_mem(struct bpf_sysctl *ctx) in sysctl_tcp_mem()
|
/Linux-v6.6/tools/testing/selftests/bpf/ |
D | test_sysctl.c | 85 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)),
|
D | cgroup_getset_retval_hooks.h | 16 BPF_RETVAL_HOOK(sysctl, "cgroup/sysctl", bpf_sysctl, 0)
|
/Linux-v6.6/include/linux/ |
D | bpf_types.h | 56 struct bpf_sysctl, struct bpf_sysctl_kern)
|
/Linux-v6.6/kernel/bpf/ |
D | cgroup.c | 2187 if (off < 0 || off + size > sizeof(struct bpf_sysctl) || off % size) in sysctl_is_valid_access() 2191 case bpf_ctx_range(struct bpf_sysctl, write): in sysctl_is_valid_access() 2196 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() 2217 case offsetof(struct bpf_sysctl, write): in sysctl_convert_ctx_access() 2225 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
|
/Linux-v6.6/Documentation/bpf/ |
D | prog_cgroup_sysctl.rst | 25 struct bpf_sysctl {
|
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | ctx_rewrite.c | 144 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 7150 struct bpf_sysctl { struct
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 7150 struct bpf_sysctl { struct
|