Home
last modified time | relevance | path

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

/include/asm-generic/
Duaccess-unaligned.h11 __copy_from_user(&__x, (ptr), sizeof(*(ptr))) ? -EFAULT : 0; \
23 __copy_to_user((ptr), &__x, sizeof(*(ptr))) ? -EFAULT : 0; \
Duaccess.h147 int __pu_err = -EFAULT; \
169 -EFAULT; \
177 return size ? -EFAULT : size; in __put_user_fn()
188 int __gu_err = -EFAULT; \
231 -EFAULT; \
238 return size ? -EFAULT : size; in __get_user_fn()
294 return -EFAULT; in strncpy_from_user()
Dtermios-base.h44 return -EFAULT; in user_termio_to_kernel_termios()
59 return -EFAULT; in kernel_termios_to_user_termio()
Dtermios.h49 return -EFAULT; in user_termio_to_kernel_termios()
64 return -EFAULT; in kernel_termios_to_user_termio()
Dfutex.h20 return -EFAULT; in futex_atomic_op_inuser()
/include/linux/
Dregset.h236 return -EFAULT; in user_regset_copyout()
261 return -EFAULT; in user_regset_copyin()
290 return -EFAULT; in user_regset_copyout_zero()
343 return -EFAULT; in copy_regset_to_user()
369 return -EFAULT; in copy_regset_from_user()
Dpoll.h134 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set()
Dbuffer_head.h237 if (err == -EFAULT) in block_page_mkwrite_return()
Di2o.h853 return ERR_PTR(-EFAULT); in i2o_msg_get()
Dmm.h1034 return -EFAULT; in fixup_user_fault()
Dpci.h502 return -EFAULT; in pcibios_err_to_errno()
Dskbuff.h2291 return -EFAULT; in skb_add_data()
/include/uapi/linux/
Dkvm_para.h14 #define KVM_EFAULT EFAULT
/include/uapi/asm-generic/
Derrno-base.h17 #define EFAULT 14 /* Bad address */ macro
/include/net/
Dchecksum.h37 *err_ptr = -EFAULT; in csum_and_copy_from_user()
54 *err_ptr = -EFAULT; in csum_and_copy_to_user()
Dsock.h1821 return -EFAULT; in skb_do_copy_data_nocache()
1823 return -EFAULT; in skb_do_copy_data_nocache()
1874 return -EFAULT; in skb_copy_to_page()
/include/rdma/
Dib_verbs.h1321 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
1326 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()