Searched refs:optval_end (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/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 | 28 __u8 *optval_end = ctx->optval_end; in _getsockopt() local 58 if (optval + 1 > optval_end) in _getsockopt() 81 __u8 *optval_end = ctx->optval_end; in _setsockopt() local 95 if (optval + sizeof(__u32) > optval_end) in _setsockopt() 107 if (optval + 5 > optval_end) in _setsockopt() 119 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()
|
| /Linux-v5.4/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)),
|
| /Linux-v5.4/kernel/bpf/ |
| D | cgroup.c | 966 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf() 1466 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_is_valid_access() 1527 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_convert_ctx_access() 1528 *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_LDX_MEM, optval_end); in cg_sockopt_convert_ctx_access()
|
| /Linux-v5.4/include/uapi/linux/ |
| D | bpf.h | 3608 __bpf_md_ptr(void *, optval_end);
|
| /Linux-v5.4/tools/include/uapi/linux/ |
| D | bpf.h | 3608 __bpf_md_ptr(void *, optval_end);
|
| /Linux-v5.4/include/linux/ |
| D | filter.h | 1224 u8 *optval_end; member
|