Lines Matching refs:optval

415 				   sockptr_t optval, unsigned int optlen)  in dccp_setsockopt_service()  argument
430 if (copy_from_sockptr_offset(sl->dccpsl_list, optval, in dccp_setsockopt_service()
485 sockptr_t optval, unsigned int optlen) in dccp_setsockopt_ccid() argument
493 val = memdup_sockptr(optval, optlen); in dccp_setsockopt_ccid()
510 sockptr_t optval, unsigned int optlen) in do_dccp_setsockopt() argument
526 return dccp_setsockopt_ccid(sk, optname, optval, optlen); in do_dccp_setsockopt()
532 if (copy_from_sockptr(&val, optval, sizeof(int))) in do_dccp_setsockopt()
536 return dccp_setsockopt_service(sk, val, optval, optlen); in do_dccp_setsockopt()
575 int dccp_setsockopt(struct sock *sk, int level, int optname, sockptr_t optval, in dccp_setsockopt() argument
580 optname, optval, in dccp_setsockopt()
582 return do_dccp_setsockopt(sk, level, optname, optval, optlen); in dccp_setsockopt()
588 __be32 __user *optval, in dccp_getsockopt_service() argument
607 put_user(dp->dccps_service, optval) || in dccp_getsockopt_service()
608 (sl != NULL && copy_to_user(optval + 1, sl->dccpsl_list, slen))) in dccp_getsockopt_service()
616 char __user *optval, int __user *optlen) in do_dccp_getsockopt() argument
635 (__be32 __user *)optval, optlen); in do_dccp_getsockopt()
640 return ccid_getsockopt_builtin_ccids(sk, len, optval, optlen); in do_dccp_getsockopt()
668 len, (u32 __user *)optval, optlen); in do_dccp_getsockopt()
671 len, (u32 __user *)optval, optlen); in do_dccp_getsockopt()
677 if (put_user(len, optlen) || copy_to_user(optval, &val, len)) in do_dccp_getsockopt()
684 char __user *optval, int __user *optlen) in dccp_getsockopt() argument
688 optname, optval, in dccp_getsockopt()
690 return do_dccp_getsockopt(sk, level, optname, optval, optlen); in dccp_getsockopt()