Searched refs:bpf_sysctl (Results 1 – 10 of 10) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_sysctl_prog.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()
|
| H A D | test_sysctl_loop1.c | 21 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()
|
| H A D | test_sysctl_loop2.c | 21 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()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_sysctl.c | 72 offsetof(struct bpf_sysctl, write)), 93 offsetof(struct bpf_sysctl, write)), 116 offsetof(struct bpf_sysctl, write)), 119 offsetof(struct bpf_sysctl, write) + 2), 139 offsetof(struct bpf_sysctl, write)), 153 offsetof(struct bpf_sysctl, file_pos)), 176 offsetof(struct bpf_sysctl, file_pos)), 179 offsetof(struct bpf_sysctl, file_pos) + 3), 203 offsetof(struct bpf_sysctl, file_pos)),
|
| H A D | ctx_rewrite.c | 147 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | cgroup_getset_retval_hooks.h | 16 BPF_RETVAL_HOOK(sysctl, "cgroup/sysctl", bpf_sysctl, 0)
|
| /linux/kernel/bpf/ |
| H A D | cgroup.c | 2457 if (off < 0 || off + size > sizeof(struct bpf_sysctl) || off % size) in sysctl_is_valid_access() 2461 case bpf_ctx_range(struct bpf_sysctl, write): in sysctl_is_valid_access() 2466 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() 2487 case offsetof(struct bpf_sysctl, write): in sysctl_convert_ctx_access() 2495 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access()
|
| /linux/Documentation/bpf/ |
| H A D | prog_cgroup_sysctl.rst | 25 struct bpf_sysctl {
|
| /linux/tools/include/uapi/linux/ |
| H A D | bpf.h | 7631 struct bpf_sysctl { struct
|
| /linux/include/uapi/linux/ |
| H A D | bpf.h | 7631 struct bpf_sysctl { struct
|