Home
last modified time | relevance | path

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

/include/asm-generic/
Dfutex.h45 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()
Dflat.h11 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()
Duaccess.h107 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/
Dkvm_para.h15 #define KVM_EFAULT EFAULT
/include/uapi/asm-generic/
Derrno-base.h18 #define EFAULT 14 /* Bad address */ macro
/include/linux/
Dsockptr.h105 return ERR_PTR(-EFAULT); in memdup_sockptr()
118 return ERR_PTR(-EFAULT); in memdup_sockptr_nul()
Dmtio.h49 return ret ? -EFAULT : 0; in put_user_mtget()
Dregset.h269 return -EFAULT; in user_regset_copyin()
335 return -EFAULT; in copy_regset_from_user()
Dbpfptr.h76 return ERR_PTR(-EFAULT); in kvmemdup_bpfptr()
Dfile.h108 return -EFAULT; in receive_fd_user()
Dpagemap.h1517 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()
Duaccess.h368 return -EFAULT; in copy_struct_from_user()
Dcompat.h462 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()
Dmm.h2458 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()
Dkvm_host.h1219 int __ret = -EFAULT; \
1239 int __ret = -EFAULT; \
Dskbuff.h3738 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()
Dbpf.h2766 int ret = -EFAULT; in bpf_probe_read_kernel_common()
Dpci.h776 return -EFAULT; in pcibios_err_to_errno()
/include/net/
Dudplite.h25 return copy_from_iter_full(to, len, &msg->msg_iter) ? 0 : -EFAULT; in udplite_getfrag()
Dudp.h389 return -EFAULT; in copy_linear_skb()
Dsock.h2299 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/
Dphonet.h126 return -EFAULT; in phonet_sk_ioctl()
/include/rdma/
Duverbs_ioctl.h813 return -EFAULT; in _uverbs_copy_from()
835 return -EFAULT; in _uverbs_copy_from_or_zero()
Dib_verbs.h2960 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/
Dbluetooth.h543 return ERR_PTR(-EFAULT); in bt_skb_sendmsg()