Searched refs:bpf_sysctl (Results 1 - 10 of 10) sorted by last modified time

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_sysctl_prog.c25 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx)
45 int sysctl_tcp_mem(struct bpf_sysctl *ctx)
H A Dtest_sysctl_loop1.c24 static __always_inline int is_tcp_mem(struct bpf_sysctl *ctx)
44 int sysctl_tcp_mem(struct bpf_sysctl *ctx)
H A Dtest_sysctl_loop2.c24 static __attribute__((noinline)) int is_tcp_mem(struct bpf_sysctl *ctx)
45 int sysctl_tcp_mem(struct bpf_sysctl *ctx)
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c144 N(CGROUP_SYSCTL, struct bpf_sysctl, file_pos),
/linux-master/tools/include/uapi/linux/
H A Dbpf.h3935 * 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/kernel/bpf/
H A Dcgroup.c2201 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/include/uapi/linux/
H A Dbpf.h3935 * 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/include/linux/
H A Dbpf_types.h56 struct bpf_sysctl, struct bpf_sysctl_kern)
/linux-master/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)

Completed in 228 milliseconds