Home
last modified time | relevance | path

Searched refs:optval_end (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/bpf/progs/
H A Dsockopt_sk.c32 __u8 *optval_end = ctx->optval_end; in _getsockopt() local
81 if (optval + sizeof(__u64) > optval_end) in _getsockopt()
91 if (optval + 1 > optval_end) in _getsockopt()
104 if (optval_end - optval != page_size) in _getsockopt()
113 if (optval + 1 > optval_end) in _getsockopt()
142 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
172 if (optval + sizeof(__u32) > optval_end) in _setsockopt()
184 if (optval + 5 > optval_end) in _setsockopt()
198 if (optval + 1 > optval_end) in _setsockopt()
209 if (optval_end - optval != page_size) in _setsockopt()
[all …]
H A Dsockopt_multi.c13 __u8 *optval_end = ctx->optval_end; in _getsockopt_child() local
19 if (optval + 1 > optval_end) in _getsockopt_child()
42 __u8 *optval_end = ctx->optval_end; in _getsockopt_parent() local
48 if (optval + 1 > optval_end) in _getsockopt_parent()
71 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
77 if (optval + 1 > optval_end) in _setsockopt()
H A Dsockopt_inherit.c55 __u8 *optval_end = ctx->optval_end; in _getsockopt() local
62 if (optval + 1 > optval_end) in _getsockopt()
86 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
93 if (optval + 1 > optval_end) in _setsockopt()
H A Dsockopt_qos_to_cc.c15 void *optval_end = ctx->optval_end; in sockopt_qos_to_cc() local
22 if (optval + 1 > optval_end) in sockopt_qos_to_cc()
H A Dsetget_sockopt.c369 if (ctx->optval + sizeof(int) <= ctx->optval_end) { in _getsockopt()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt.c301 offsetof(struct bpf_sockopt, optval_end)),
372 offsetof(struct bpf_sockopt, optval_end)),
393 offsetof(struct bpf_sockopt, optval_end)),
709 offsetof(struct bpf_sockopt, optval_end)),
746 offsetof(struct bpf_sockopt, optval_end)),
830 offsetof(struct bpf_sockopt, optval_end)),
850 offsetof(struct bpf_sockopt, optval_end)),
896 offsetof(struct bpf_sockopt, optval_end)),
H A Dctx_rewrite.c205 N(CGROUP_SOCKOPT, struct bpf_sockopt, optval_end),
/linux/include/uapi/linux/
H A Dbpf.h7370 __bpf_md_ptr(void *, optval_end);
/linux/tools/include/uapi/linux/
H A Dbpf.h7370 __bpf_md_ptr(void *, optval_end);
/linux/include/linux/
H A Dfilter.h1545 u8 *optval_end; member