Searched refs:optval_end (Results 1 – 5 of 5) sorted by relevance
/tools/testing/selftests/bpf/progs/ |
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_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_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()
|
/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)),
|
/tools/include/uapi/linux/ |
D | bpf.h | 5000 __bpf_md_ptr(void *, optval_end);
|