Searched refs:bpf_sysctl (Results 1 - 10 of 10) sorted by relevance
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_sysctl_loop1.c | 24 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx) 44 int sysctl_tcp_mem(struct bpf_sysctl *ctx)
|
H A D | test_sysctl_loop2.c | 24 static __attribute__((noinline)) int is_tcp_mem(struct bpf_sysctl *ctx) 45 int sysctl_tcp_mem(struct bpf_sysctl *ctx)
|
H A D | test_sysctl_prog.c | 25 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx) 45 int sysctl_tcp_mem(struct bpf_sysctl *ctx)
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | cgroup_getset_retval_hooks.h | 16 BPF_RETVAL_HOOK(sysctl, "cgroup/sysctl", bpf_sysctl, 0)
|
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)),
|
/linux-master/include/linux/ |
H A D | bpf_types.h | 56 struct bpf_sysctl, struct bpf_sysctl_kern)
|
/linux-master/kernel/bpf/ |
H A D | cgroup.c | 2201 if (off < 0 || off + size > sizeof(struct bpf_sysctl) || off % size) 2205 case bpf_ctx_range(struct bpf_sysctl, write): 2210 case bpf_ctx_range(struct bpf_sysctl, file_pos): argument 2231 case offsetof(struct bpf_sysctl, write): 2239 case offsetof(struct bpf_sysctl, file_pos): argument
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | ctx_rewrite.c | 144 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 3935 * long bpf_sysctl_get_name(struct bpf_sysctl *ctx, char *buf, size_t buf_len, u64 flags) 3951 * long bpf_sysctl_get_current_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3970 * long bpf_sysctl_get_new_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3987 * long bpf_sysctl_set_new_value(struct bpf_sysctl *ctx, const char *buf, size_t buf_len) 7310 struct bpf_sysctl { struct
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 3935 * long bpf_sysctl_get_name(struct bpf_sysctl *ctx, char *buf, size_t buf_len, u64 flags) 3951 * long bpf_sysctl_get_current_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3970 * long bpf_sysctl_get_new_value(struct bpf_sysctl *ctx, char *buf, size_t buf_len) 3987 * long bpf_sysctl_set_new_value(struct bpf_sysctl *ctx, const char *buf, size_t buf_len) 7310 struct bpf_sysctl { struct
|
Completed in 197 milliseconds