Home
last modified time | relevance | path

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

/kernel/bpf/
Dcgroup.c985 int *optlen, char **kernel_optval) in __cgroup_bpf_run_filter_setsockopt() argument
1007 max_optlen = max_t(int, 16, *optlen); in __cgroup_bpf_run_filter_setsockopt()
1013 ctx.optlen = *optlen; in __cgroup_bpf_run_filter_setsockopt()
1015 if (copy_from_user(ctx.optval, optval, *optlen) != 0) { in __cgroup_bpf_run_filter_setsockopt()
1030 if (ctx.optlen == -1) { in __cgroup_bpf_run_filter_setsockopt()
1033 } else if (ctx.optlen > max_optlen || ctx.optlen < -1) { in __cgroup_bpf_run_filter_setsockopt()
1043 *optlen = ctx.optlen; in __cgroup_bpf_run_filter_setsockopt()
1056 int __user *optlen, int max_optlen, in __cgroup_bpf_run_filter_getsockopt() argument
1080 ctx.optlen = max_optlen; in __cgroup_bpf_run_filter_getsockopt()
1090 if (get_user(ctx.optlen, optlen)) { in __cgroup_bpf_run_filter_getsockopt()
[all …]