/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A 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()
|
H A 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A 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()
|
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A 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)),
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A 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)),
|
/kernel/linux/linux-5.10/kernel/bpf/ |
H A D | cgroup.c | 1772 if (off < 0 || off + size > sizeof(struct bpf_sysctl) || off % size) in sysctl_is_valid_access() 1776 case bpf_ctx_range(struct bpf_sysctl, write): in sysctl_is_valid_access() 1781 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() argument 1802 case offsetof(struct bpf_sysctl, write): in sysctl_convert_ctx_access() 1810 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access() argument
|
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | cgroup.c | 2200 if (off < 0 || off + size > sizeof(struct bpf_sysctl) || off % size) in sysctl_is_valid_access() 2204 case bpf_ctx_range(struct bpf_sysctl, write): in sysctl_is_valid_access() 2209 case bpf_ctx_range(struct bpf_sysctl, file_pos): in sysctl_is_valid_access() argument 2230 case offsetof(struct bpf_sysctl, write): in sysctl_convert_ctx_access() 2238 case offsetof(struct bpf_sysctl, file_pos): in sysctl_convert_ctx_access() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 144 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
H A D | bpf.h | 2748 * long bpf_sysctl_get_name(struct bpf_sysctl *ctx, char *buf, size_t buf_len, u64 flags) 2764 * long bpf_sysctl_get_current_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 2783 * long bpf_sysctl_get_new_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 2800 * long bpf_sysctl_set_new_value(struct bpf_sysctl *ctx, const char *buf, size_t buf_len) 5010 struct bpf_sysctl { struct
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | bpf.h | 2748 * long bpf_sysctl_get_name(struct bpf_sysctl *ctx, char *buf, size_t buf_len, u64 flags) 2764 * long bpf_sysctl_get_current_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 2783 * long bpf_sysctl_get_new_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 2800 * long bpf_sysctl_set_new_value(struct bpf_sysctl *ctx, const char *buf, size_t buf_len) 5010 struct bpf_sysctl { struct
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | bpf.h | 1073 struct bpf_sysctl { struct
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | bpf.h | 1073 struct bpf_sysctl { struct
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | bpf.h | 3805 * long bpf_sysctl_get_name(struct bpf_sysctl *ctx, char *buf, size_t buf_len, u64 flags) 3821 * long bpf_sysctl_get_current_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3840 * long bpf_sysctl_get_new_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3857 * long bpf_sysctl_set_new_value(struct bpf_sysctl *ctx, const char *buf, size_t buf_len) 7163 struct bpf_sysctl { struct
|
/kernel/linux/linux-6.6/tools/include/uapi/linux/ |
H A D | bpf.h | 3805 * long bpf_sysctl_get_name(struct bpf_sysctl *ctx, char *buf, size_t buf_len, u64 flags) 3821 * long bpf_sysctl_get_current_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3840 * long bpf_sysctl_get_new_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3857 * long bpf_sysctl_set_new_value(struct bpf_sysctl *ctx, const char *buf, size_t buf_len) 7163 struct bpf_sysctl { struct
|