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.h146 int __pu_err = -EFAULT; \
168 -EFAULT; \
174 return size ? -EFAULT : size; in __put_user_fn()
181 int __gu_err = -EFAULT; \
224 -EFAULT; \
230 return size ? -EFAULT : size; in __get_user_fn()
282 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()
Derrno-base.h17 #define EFAULT 14 /* Bad address */ macro
Dtermios.h94 return -EFAULT; in user_termio_to_kernel_termios()
109 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()
Dkvm_para.h14 #define KVM_EFAULT EFAULT
Dpoll.h136 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set()
Dbuffer_head.h229 if (err == -EFAULT) in block_page_mkwrite_return()
Di2o.h853 return ERR_PTR(-EFAULT); in i2o_msg_get()
Dmm.h996 return -EFAULT; in fixup_user_fault()
Dskbuff.h1961 return -EFAULT; in skb_add_data()
/include/net/
Dchecksum.h37 *err_ptr = -EFAULT; in csum_and_copy_from_user()
54 *err_ptr = -EFAULT; in csum_and_copy_to_user()
Dsock.h1721 return -EFAULT; in skb_do_copy_data_nocache()
1723 return -EFAULT; in skb_do_copy_data_nocache()
1774 return -EFAULT; in skb_copy_to_page()
/include/drm/
Ddrm_os_linux.h92 (access_ok( VERIFY_READ, uaddr, size ) ? 0 : -EFAULT)
/include/rdma/
Dib_verbs.h1281 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
1286 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()