Searched refs:EFAULT (Results 1 – 17 of 17) sorted by relevance
/include/asm-generic/ |
D | uaccess-unaligned.h | 11 __copy_from_user(&__x, (ptr), sizeof(*(ptr))) ? -EFAULT : 0; \ 23 __copy_to_user((ptr), &__x, sizeof(*(ptr))) ? -EFAULT : 0; \
|
D | uaccess.h | 146 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()
|
D | termios-base.h | 44 return -EFAULT; in user_termio_to_kernel_termios() 59 return -EFAULT; in kernel_termios_to_user_termio()
|
D | errno-base.h | 17 #define EFAULT 14 /* Bad address */ macro
|
D | termios.h | 94 return -EFAULT; in user_termio_to_kernel_termios() 109 return -EFAULT; in kernel_termios_to_user_termio()
|
D | futex.h | 20 return -EFAULT; in futex_atomic_op_inuser()
|
/include/linux/ |
D | regset.h | 236 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()
|
D | kvm_para.h | 14 #define KVM_EFAULT EFAULT
|
D | poll.h | 136 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set()
|
D | buffer_head.h | 229 if (err == -EFAULT) in block_page_mkwrite_return()
|
D | i2o.h | 853 return ERR_PTR(-EFAULT); in i2o_msg_get()
|
D | mm.h | 996 return -EFAULT; in fixup_user_fault()
|
D | skbuff.h | 1961 return -EFAULT; in skb_add_data()
|
/include/net/ |
D | checksum.h | 37 *err_ptr = -EFAULT; in csum_and_copy_from_user() 54 *err_ptr = -EFAULT; in csum_and_copy_to_user()
|
D | sock.h | 1721 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/ |
D | drm_os_linux.h | 92 (access_ok( VERIFY_READ, uaddr, size ) ? 0 : -EFAULT)
|
/include/rdma/ |
D | ib_verbs.h | 1281 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()
|