Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
A Dsockopt_sk.c32 __u8 *optval_end = ctx->optval_end; in _getsockopt() local
75 if (optval + sizeof(struct tcp_zerocopy_receive) > optval_end) in _getsockopt()
85 if (optval + 1 > optval_end) in _getsockopt()
98 if (optval_end - optval != page_size) in _getsockopt()
107 if (optval + 1 > optval_end) in _getsockopt()
130 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
154 if (optval + sizeof(__u32) > optval_end) in _setsockopt()
166 if (optval + 5 > optval_end) in _setsockopt()
180 if (optval + 1 > optval_end) in _setsockopt()
191 if (optval_end - optval != page_size) in _setsockopt()
[all …]
A Dsockopt_multi.c11 __u8 *optval_end = ctx->optval_end; in _getsockopt_child() local
17 if (optval + 1 > optval_end) in _getsockopt_child()
34 __u8 *optval_end = ctx->optval_end; in _getsockopt_parent() local
40 if (optval + 1 > optval_end) in _getsockopt_parent()
57 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
63 if (optval + 1 > optval_end) in _setsockopt()
A Dsockopt_inherit.c53 __u8 *optval_end = ctx->optval_end; in _getsockopt() local
60 if (optval + 1 > optval_end) in _getsockopt()
78 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
85 if (optval + 1 > optval_end) in _setsockopt()
A Dsockopt_qos_to_cc.c15 void *optval_end = ctx->optval_end; in sockopt_qos_to_cc() local
24 if (optval + 1 > optval_end) in sockopt_qos_to_cc()
/linux/tools/testing/selftests/bpf/prog_tests/
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)),
/linux/kernel/bpf/
A Dcgroup.c1389 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()
1397 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()
1613 .optval_end = optval + *optlen, in __cgroup_bpf_run_filter_getsockopt_kern()
2007 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_is_valid_access()
2068 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_convert_ctx_access()
2069 *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_LDX_MEM, optval_end); in cg_sockopt_convert_ctx_access()
/linux/tools/include/uapi/linux/
A Dbpf.h6271 __bpf_md_ptr(void *, optval_end);
/linux/include/uapi/linux/
A Dbpf.h6271 __bpf_md_ptr(void *, optval_end);
/linux/include/linux/
A Dfilter.h1351 u8 *optval_end; member

Completed in 45 milliseconds