Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dsockopt_sk.c32 __u8 *optval_end = ctx->optval_end; in _getsockopt() local
76 if (optval + sizeof(__u64) > optval_end) in _getsockopt()
86 if (optval + 1 > optval_end) in _getsockopt()
99 if (optval_end - optval != page_size) in _getsockopt()
108 if (optval + 1 > optval_end) in _getsockopt()
131 __u8 *optval_end = ctx->optval_end; in _setsockopt() local
155 if (optval + sizeof(__u32) > optval_end) in _setsockopt()
167 if (optval + 5 > optval_end) in _setsockopt()
181 if (optval + 1 > optval_end) in _setsockopt()
192 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-6.3-rc2/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-6.3-rc2/kernel/bpf/
A Dcgroup.c1760 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()
1768 ctx->optval_end = ctx->optval + max_optlen; in sockopt_alloc_buf()
1953 .optval_end = optval + *optlen, in __cgroup_bpf_run_filter_getsockopt_kern()
2362 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_is_valid_access()
2452 case offsetof(struct bpf_sockopt, optval_end): in cg_sockopt_convert_ctx_access()
2453 *insn++ = CG_SOCKOPT_ACCESS_FIELD(BPF_LDX_MEM, optval_end); in cg_sockopt_convert_ctx_access()
/linux-6.3-rc2/include/uapi/linux/
A Dbpf.h6949 __bpf_md_ptr(void *, optval_end);
/linux-6.3-rc2/tools/include/uapi/linux/
A Dbpf.h6949 __bpf_md_ptr(void *, optval_end);
/linux-6.3-rc2/include/linux/
A Dfilter.h1345 u8 *optval_end; member

Completed in 48 milliseconds