Home
last modified time | relevance | path

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

12

/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.h81 return -EFAULT; in copy_safe_from_sockptr()
130 return ERR_PTR(-EFAULT); in memdup_sockptr_noprof()
144 return ERR_PTR(-EFAULT); in memdup_sockptr_nul_noprof()
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_noprof()
Dpagemap.h1594 return -EFAULT; in folio_mkwrite_check_truncate()
1601 return -EFAULT; in folio_mkwrite_check_truncate()
1622 return -EFAULT; in page_mkwrite_check_truncate()
1629 return -EFAULT; in page_mkwrite_check_truncate()
Duaccess.h402 return -EFAULT; in copy_struct_from_user()
Dtpm.h455 return -EFAULT; in tpm_ret_to_err()
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.h2630 return -EFAULT; in fixup_user_fault()
3769 if (err == -EFAULT || err == -EAGAIN) in vmf_fs_error()
3782 return (foll_flags & FOLL_HWPOISON) ? -EHWPOISON : -EFAULT; in vm_fault_to_errno()
3784 return -EFAULT; in vm_fault_to_errno()
Dkvm_host.h1284 int __ret = -EFAULT; \
1304 int __ret = -EFAULT; \
Dskbuff.h3855 return -EFAULT; in skb_add_data()
4166 return copy_from_iter_full(data, len, &msg->msg_iter) ? 0 : -EFAULT; in memcpy_from_msg()
4171 return copy_to_iter(data, len, &msg->msg_iter) == len ? 0 : -EFAULT; in memcpy_to_msg()
/include/net/
Dudplite.h25 return copy_from_iter_full(to, len, &msg->msg_iter) ? 0 : -EFAULT; in udplite_getfrag()
Dscm.h227 return -EFAULT; in scm_recv_one_fd()
Dudp.h384 return copy_to_iter_full(skb->data + off, len, to) ? 0 : -EFAULT; in copy_linear_skb()
Dsock.h2221 return -EFAULT; in skb_do_copy_data_nocache()
2225 return -EFAULT; in skb_do_copy_data_nocache()
2227 return -EFAULT; in skb_do_copy_data_nocache()
/include/net/phonet/
Dphonet.h126 return -EFAULT; in phonet_sk_ioctl()
/include/linux/mfd/
DidtRC38xxx_reg.h268 return -EFAULT; in idtfc3_set_hw_param()
/include/rdma/
Duverbs_ioctl.h815 return -EFAULT; in _uverbs_copy_from()
837 return -EFAULT; in _uverbs_copy_from_or_zero()
Dib_verbs.h2981 return copy_from_user(dest, udata->inbuf, len) ? -EFAULT : 0; in ib_copy_from_udata()
2986 return copy_to_user(udata->outbuf, src, len) ? -EFAULT : 0; in ib_copy_to_udata()
/include/net/bluetooth/
Dbluetooth.h549 return ERR_PTR(-EFAULT); in bt_skb_sendmsg()

12