Lines Matching refs:optlen
341 char __user *optval, unsigned int optlen) in do_set_attach_filter() argument
354 char __user *optval, unsigned int optlen) in compat_sock_setsockopt() argument
359 optval, optlen); in compat_sock_setsockopt()
360 return sock_setsockopt(sock, level, optname, optval, optlen); in compat_sock_setsockopt()
364 char __user *optval, unsigned int optlen) in __compat_sys_setsockopt() argument
369 if (optlen > INT_MAX) in __compat_sys_setsockopt()
382 optname, optval, optlen); in __compat_sys_setsockopt()
385 optname, optval, optlen); in __compat_sys_setsockopt()
388 optname, optval, optlen); in __compat_sys_setsockopt()
395 char __user *, optval, unsigned int, optlen) in COMPAT_SYSCALL_DEFINE5() argument
397 return __compat_sys_setsockopt(fd, level, optname, optval, optlen); in COMPAT_SYSCALL_DEFINE5()
402 int __user *optlen) in __compat_sys_getsockopt() argument
416 optname, optval, optlen); in __compat_sys_getsockopt()
419 optname, optval, optlen); in __compat_sys_getsockopt()
422 optname, optval, optlen); in __compat_sys_getsockopt()
429 char __user *, optval, int __user *, optlen) in COMPAT_SYSCALL_DEFINE5() argument
431 return __compat_sys_getsockopt(fd, level, optname, optval, optlen); in COMPAT_SYSCALL_DEFINE5()
463 char __user *optval, unsigned int optlen, in compat_mc_setsockopt() argument
467 int koptlen = optlen; in compat_mc_setsockopt()
524 koptlen = optlen + sizeof(struct group_filter) - in compat_mc_setsockopt()
550 char __user *optval, int __user *optlen, in compat_mc_getsockopt() argument
560 return getsockopt(sock, level, optname, optval, optlen); in compat_mc_getsockopt()
563 if (!access_ok(optlen, sizeof(*optlen)) || in compat_mc_getsockopt()
564 __get_user(ulen, optlen)) in compat_mc_getsockopt()
578 kgf = compat_alloc_user_space(klen+sizeof(*optlen)); in compat_mc_getsockopt()
600 if (!access_ok(optlen, sizeof(*optlen)) || in compat_mc_getsockopt()
601 __put_user(ulen, optlen)) in compat_mc_getsockopt()