Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dsockopt_sk.c31 __u8 *optval_end = ctx->optval_end; in _getsockopt() local
61 if (optval + 1 > optval_end) in _getsockopt()
74 if (optval_end - optval != PAGE_SIZE) in _getsockopt()
83 if (optval + 1 > optval_end) in _getsockopt()
106 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
122 if (optval + sizeof(__u32) > optval_end) in _setsockopt()
134 if (optval + 5 > optval_end) in _setsockopt()
148 if (optval + 1 > optval_end) in _setsockopt()
159 if (optval_end - optval != PAGE_SIZE) in _setsockopt()
168 if (optval + 1 > optval_end) in _setsockopt()
Dsockopt_multi.c12 __u8 *optval_end = ctx->optval_end; in _getsockopt_child() local
18 if (optval + 1 > optval_end) in _getsockopt_child()
35 __u8 *optval_end = ctx->optval_end; in _getsockopt_parent() local
41 if (optval + 1 > optval_end) in _getsockopt_parent()
58 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
64 if (optval + 1 > optval_end) in _setsockopt()
Dsockopt_inherit.c54 __u8 *optval_end = ctx->optval_end; in _getsockopt() local
61 if (optval + 1 > optval_end) in _getsockopt()
79 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
86 if (optval + 1 > optval_end) in _setsockopt()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsockopt.c335 offsetof(struct bpf_sockopt, optval_end)),
356 offsetof(struct bpf_sockopt, optval_end)),
664 offsetof(struct bpf_sockopt, optval_end)),
748 offsetof(struct bpf_sockopt, optval_end)),
768 offsetof(struct bpf_sockopt, optval_end)),
814 offsetof(struct bpf_sockopt, optval_end)),
/kernel/linux/linux-5.10/kernel/bpf/
Dcgroup.c1369 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()
1879 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_is_valid_access()
1940 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_convert_ctx_access()
1941 *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_LDX_MEM, optval_end); in cg_sockopt_convert_ctx_access()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h1080 __bpf_md_ptr(void *, optval_end);
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h4995 __bpf_md_ptr(void *, optval_end);
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h4995 __bpf_md_ptr(void *, optval_end);
/kernel/linux/linux-5.10/include/linux/
Dfilter.h1303 u8 *optval_end; member