Searched refs:EFAULT (Results 1 – 25 of 25) sorted by relevance
/include/asm-generic/ |
D | futex.h | 45 ret = -EFAULT; in futex_atomic_op_inuser_local() 73 ret = -EFAULT; in futex_atomic_op_inuser_local() 107 return -EFAULT; in futex_atomic_cmpxchg_inatomic_local() 112 return -EFAULT; in futex_atomic_cmpxchg_inatomic_local()
|
D | flat.h | 11 return copy_from_user(addr, rp, 4) ? -EFAULT : 0; in flat_get_addr_from_rp() 20 return copy_to_user(rp, &addr, 4) ? -EFAULT : 0; in flat_put_addr_at_rp()
|
D | uaccess.h | 107 int __pu_err = -EFAULT; \ 130 -EFAULT; \ 137 return unlikely(raw_copy_to_user(ptr, x, size)) ? -EFAULT : 0; in __put_user_fn() 148 int __gu_err = -EFAULT; \ 192 ((x) = (__typeof__(*(ptr)))0,-EFAULT); \ 198 return unlikely(raw_copy_from_user(x, ptr, size)) ? -EFAULT : 0; in __get_user_fn()
|
/include/uapi/linux/ |
D | kvm_para.h | 15 #define KVM_EFAULT EFAULT
|
/include/uapi/asm-generic/ |
D | errno-base.h | 18 #define EFAULT 14 /* Bad address */ macro
|
/include/linux/ |
D | sockptr.h | 105 return ERR_PTR(-EFAULT); in memdup_sockptr() 118 return ERR_PTR(-EFAULT); in memdup_sockptr_nul()
|
D | mtio.h | 49 return ret ? -EFAULT : 0; in put_user_mtget()
|
D | regset.h | 269 return -EFAULT; in user_regset_copyin() 335 return -EFAULT; in copy_regset_from_user()
|
D | bpfptr.h | 76 return ERR_PTR(-EFAULT); in kvmemdup_bpfptr()
|
D | file.h | 108 return -EFAULT; in receive_fd_user()
|
D | pagemap.h | 1517 return -EFAULT; in folio_mkwrite_check_truncate() 1524 return -EFAULT; in folio_mkwrite_check_truncate() 1545 return -EFAULT; in page_mkwrite_check_truncate() 1552 return -EFAULT; in page_mkwrite_check_truncate()
|
D | uaccess.h | 368 return -EFAULT; in copy_struct_from_user()
|
D | compat.h | 462 return copy_to_user(compat, &v, size) ? -EFAULT : 0; in put_compat_sigset() 464 return copy_to_user(compat, set, size) ? -EFAULT : 0; in put_compat_sigset()
|
D | mm.h | 2458 return -EFAULT; in fixup_user_fault() 3582 if (err == -EFAULT || err == -EAGAIN) in vmf_fs_error() 3598 return (foll_flags & FOLL_HWPOISON) ? -EHWPOISON : -EFAULT; in vm_fault_to_errno() 3600 return -EFAULT; in vm_fault_to_errno()
|
D | kvm_host.h | 1219 int __ret = -EFAULT; \ 1239 int __ret = -EFAULT; \
|
D | skbuff.h | 3738 return -EFAULT; in skb_add_data() 4054 return copy_from_iter_full(data, len, &msg->msg_iter) ? 0 : -EFAULT; in memcpy_from_msg() 4059 return copy_to_iter(data, len, &msg->msg_iter) == len ? 0 : -EFAULT; in memcpy_to_msg()
|
D | bpf.h | 2766 int ret = -EFAULT; in bpf_probe_read_kernel_common()
|
D | pci.h | 776 return -EFAULT; in pcibios_err_to_errno()
|
/include/net/ |
D | udplite.h | 25 return copy_from_iter_full(to, len, &msg->msg_iter) ? 0 : -EFAULT; in udplite_getfrag()
|
D | udp.h | 389 return -EFAULT; in copy_linear_skb()
|
D | sock.h | 2299 return -EFAULT; in skb_do_copy_data_nocache() 2303 return -EFAULT; in skb_do_copy_data_nocache() 2305 return -EFAULT; in skb_do_copy_data_nocache()
|
/include/net/phonet/ |
D | phonet.h | 126 return -EFAULT; in phonet_sk_ioctl()
|
/include/rdma/ |
D | uverbs_ioctl.h | 813 return -EFAULT; in _uverbs_copy_from() 835 return -EFAULT; in _uverbs_copy_from_or_zero()
|
D | ib_verbs.h | 2960 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata() 2965 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()
|
/include/net/bluetooth/ |
D | bluetooth.h | 543 return ERR_PTR(-EFAULT); in bt_skb_sendmsg()
|