Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A 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()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A 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)),
/OK3568_Linux_fs/kernel/kernel/bpf/
H A 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()
/OK3568_Linux_fs/kernel/tools/include/uapi/linux/
H A Dbpf.h4995 __bpf_md_ptr(void *, optval_end);
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbpf.h4995 __bpf_md_ptr(void *, optval_end);
/OK3568_Linux_fs/kernel/include/linux/
H A Dfilter.h1303 u8 *optval_end; member