.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "__COPY_FROM_USER" 9 "August 2005" "Kernel Hackers Manual" "LINUX" .SH NAME __copy_from_user_inatomic \- Copy a block of data from user space, with less checking. .SH "SYNOPSIS" .ad l .hy 0 .HP 44 unsigned\ long\ \fB__copy_from_user_inatomic\ \fR\ (void\ *\ \fIto\fR, const\ void\ __user\ *\ \fIfrom\fR, unsigned\ long\ \fIn\fR); .ad .hy .SH "ARGUMENTS" .TP \fIto\fR Destination address, in kernel space\&. .TP \fIfrom\fR Source address, in user space\&. .TP \fIn\fR Number of bytes to copy\&. .SH "CONTEXT" .PP User context only\&. This function may sleep\&. .SH "DESCRIPTION" .PP Copy data from user space to kernel space\&. Caller must check the specified block with \fBaccess_ok\fR before calling this function\&. .PP Returns number of bytes that could not be copied\&. On success, this will be zero\&. .PP If some data could not be copied, this function will pad the copied data to the requested size using zero bytes\&.