Home
last modified time | relevance | path

Searched refs:EFAULT (Results 1 – 18 of 18) 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; \
170 -EFAULT; \
178 return size ? -EFAULT : size; in __put_user_fn()
189 int __gu_err = -EFAULT; \
233 ((x) = (__typeof__(*(ptr)))0,-EFAULT); \
242 return -EFAULT; in __get_user_fn()
302 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()
Dpagemap.h603 return -EFAULT; in fault_in_multipages_writeable()
610 return -EFAULT; in fault_in_multipages_writeable()
632 return -EFAULT; in fault_in_multipages_readable()
636 return -EFAULT; in fault_in_multipages_readable()
Dpoll.h134 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set()
Dbuffer_head.h239 if (err == -EFAULT || err == -EAGAIN) in block_page_mkwrite_return()
Di2o.h853 return ERR_PTR(-EFAULT); in i2o_msg_get()
Dmm.h1219 return -EFAULT; in fixup_user_fault()
Dpci.h558 return -EFAULT; in pcibios_err_to_errno()
Dskbuff.h2479 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.h1857 return -EFAULT; in skb_do_copy_data_nocache()
1859 return -EFAULT; in skb_do_copy_data_nocache()
1910 return -EFAULT; in skb_copy_to_page()
/include/rdma/
Dib_verbs.h1660 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
1665 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()