Searched refs:optval_end (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | sockopt_sk.c | 31 __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()
|
D | sockopt_multi.c | 12 __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()
|
D | sockopt_inherit.c | 54 __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/ |
D | sockopt.c | 335 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/ |
D | cgroup.c | 1369 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/ |
D | bpf.h | 1080 __bpf_md_ptr(void *, optval_end);
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | bpf.h | 4995 __bpf_md_ptr(void *, optval_end);
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | bpf.h | 4995 __bpf_md_ptr(void *, optval_end);
|
/kernel/linux/linux-5.10/include/linux/ |
D | filter.h | 1303 u8 *optval_end; member
|