Home
last modified time | relevance | path

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

12

/include/asm-generic/
A 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()
A 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()
A 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/
A Dkvm_para.h15 #define KVM_EFAULT EFAULT
/include/linux/
A Dsockptr.h83 return -EFAULT; in copy_safe_from_sockptr()
132 return ERR_PTR(-EFAULT); in memdup_sockptr_noprof()
146 return ERR_PTR(-EFAULT); in memdup_sockptr_nul_noprof()
A Dmtio.h49 return ret ? -EFAULT : 0; in put_user_mtget()
A Dregset.h279 return -EFAULT; in user_regset_copyin()
345 return -EFAULT; in copy_regset_from_user()
A Duaccess.h404 return -EFAULT; in copy_struct_from_user()
494 return -EFAULT; in copy_struct_to_user()
501 return -EFAULT; in copy_struct_to_user()
A Dbpfptr.h76 return ERR_PTR(-EFAULT); in kvmemdup_bpfptr_noprof()
A Dtpm.h457 return -EFAULT; in tpm_ret_to_err()
A Dpagemap.h1526 return -EFAULT; in folio_mkwrite_check_truncate()
1533 return -EFAULT; in folio_mkwrite_check_truncate()
A 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()
A Dmm.h2445 return -EFAULT; in fixup_user_fault()
3580 if (err == -EFAULT || err == -EAGAIN) in vmf_fs_error()
3593 return (foll_flags & FOLL_HWPOISON) ? -EHWPOISON : -EFAULT; in vm_fault_to_errno()
3595 return -EFAULT; in vm_fault_to_errno()
A Dkvm_host.h1324 int __ret = -EFAULT; \
1344 int __ret = -EFAULT; \
A Diommu.h546 return -EFAULT; in iommu_copy_struct_from_full_user_array()
/include/uapi/asm-generic/
A Derrno-base.h18 #define EFAULT 14 /* Bad address */ macro
/include/net/
A Dudplite.h25 return copy_from_iter_full(to, len, &msg->msg_iter) ? 0 : -EFAULT; in udplite_getfrag()
A Dscm.h114 return -EFAULT; in scm_recv_one_fd()
A Dudp.h509 return copy_to_iter_full(skb->data + off, len, to) ? 0 : -EFAULT; in copy_linear_skb()
A Dsock.h2244 return -EFAULT; in skb_do_copy_data_nocache()
2248 return -EFAULT; in skb_do_copy_data_nocache()
2250 return -EFAULT; in skb_do_copy_data_nocache()
/include/net/phonet/
A Dphonet.h126 return -EFAULT; in phonet_sk_ioctl()
/include/linux/mfd/
A DidtRC38xxx_reg.h268 return -EFAULT; in idtfc3_set_hw_param()
/include/rdma/
A Duverbs_ioctl.h815 return -EFAULT; in _uverbs_copy_from()
837 return -EFAULT; in _uverbs_copy_from_or_zero()
A Dib_verbs.h3070 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
3075 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()
/include/net/bluetooth/
A Dbluetooth.h563 return ERR_PTR(-EFAULT); in bt_skb_sendmsg()

Completed in 86 milliseconds

12