/kernel/liteos_a/syscall/ |
D | time_syscall.c | 63 if (ret == -EFAULT) { in SysUtime() 75 errno = EFAULT; in SysUtime() 76 return -EFAULT; in SysUtime() 101 errno = EFAULT; in SysTime() 102 ret = -EFAULT; in SysTime() 120 errno = EFAULT; in SysSetiTimer() 121 return -EFAULT; in SysSetiTimer() 130 errno = EFAULT; in SysSetiTimer() 131 return -EFAULT; in SysSetiTimer() 153 errno = EFAULT; in SysGetiTimer() [all …]
|
D | misc_syscall.c | 58 return -EFAULT; in SysSetHostName() 67 return -EFAULT; in SysSetHostName() 74 return -EFAULT; in SysSetHostName() 81 return -EFAULT; in SysSetHostName() 94 return -EFAULT; in SysUname() 102 return -EFAULT; in SysUname() 121 return -EFAULT; in SysInfo() 138 return -EFAULT; in SysReboot() 157 return -EFAULT; in SysShellExec() 164 return -EFAULT; in SysShellExec() [all …]
|
D | ipc_syscall.c | 101 return -EFAULT; in SysMqNotify() 121 return -EFAULT; in SysMqGetSetAttr() 132 return -EFAULT; in SysMqGetSetAttr() 166 return -EFAULT; in SysMqTimedSend() 179 return -EFAULT; in SysMqTimedSend() 201 return -EFAULT; in SysMqTimedReceive() 222 return -EFAULT; in SysMqTimedReceive() 229 return -EFAULT; in SysMqTimedReceive() 271 return -EFAULT; in SysSigTimedWait() 279 return -EFAULT; in SysSigTimedWait() [all …]
|
/kernel/linux/linux-5.10/drivers/firmware/efi/test/ |
D | efi_test.c | 93 return -EFAULT; in get_ucs2_strsize_from_user() 117 return -EFAULT; in copy_ucs2_from_user() 155 return -EFAULT; in efi_runtime_get_variable() 158 return -EFAULT; in efi_runtime_get_variable() 162 return -EFAULT; in efi_runtime_get_variable() 188 rv = -EFAULT; in efi_runtime_get_variable() 195 rv = -EFAULT; in efi_runtime_get_variable() 210 rv = -EFAULT; in efi_runtime_get_variable() 216 rv = -EFAULT; in efi_runtime_get_variable() 221 rv = -EFAULT; in efi_runtime_get_variable() [all …]
|
/kernel/linux/linux-5.10/sound/core/seq/oss/ |
D | seq_oss_ioctl.c | 23 return -EFAULT; in snd_seq_oss_synth_info_user() 27 return -EFAULT; in snd_seq_oss_synth_info_user() 36 return -EFAULT; in snd_seq_oss_midi_info_user() 40 return -EFAULT; in snd_seq_oss_midi_info_user() 50 return -EFAULT; in snd_seq_oss_oob_user() 98 return -EFAULT; in snd_seq_oss_ioctl() 104 return put_user(dp->readq->qlen, p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 109 return put_user(snd_seq_oss_writeq_get_free_size(dp->writeq), p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 112 return put_user(snd_seq_oss_timer_cur_tick(dp->timer), p) ? -EFAULT : 0; in snd_seq_oss_ioctl() 116 return -EFAULT; in snd_seq_oss_ioctl() [all …]
|
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 169 return -EFAULT; in get_v4l2_window32() 176 return -EFAULT; in get_v4l2_window32() 179 return -EFAULT; in get_v4l2_window32() 182 return -EFAULT; in get_v4l2_window32() 186 return -EFAULT; in get_v4l2_window32() 188 return -EFAULT; in get_v4l2_window32() 209 return -EFAULT; in put_v4l2_window32() 214 return -EFAULT; in put_v4l2_window32() 216 return -EFAULT; in put_v4l2_window32() 220 return -EFAULT; in put_v4l2_window32() [all …]
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | unaligned-emul.h | 27 : "r" (addr), "i" (-EFAULT)); \ 48 : "r" (addr), "i" (-EFAULT)); \ 83 : "r" (addr), "i" (-EFAULT)); \ 109 : "r" (addr), "i" (-EFAULT)); \ 132 : "r" (addr), "i" (-EFAULT)); \ 152 : "r" (addr), "i" (-EFAULT)); \ 187 : "r" (addr), "i" (-EFAULT)); \ 236 : "r" (addr), "i" (-EFAULT)); \ 262 : "r" (value), "r" (addr), "i" (-EFAULT));\ 283 : "r" (value), "r" (addr), "i" (-EFAULT)); \ [all …]
|
D | termios.h | 36 return -EFAULT; in user_termio_to_kernel_termios() 48 return -EFAULT; in user_termio_to_kernel_termios() 51 return -EFAULT; in user_termio_to_kernel_termios() 65 return -EFAULT; in kernel_termios_to_user_termio() 73 return -EFAULT; in kernel_termios_to_user_termio() 76 return -EFAULT; in kernel_termios_to_user_termio() 84 return copy_from_user(k, u, sizeof(struct termios2)) ? -EFAULT : 0; in user_termios_to_kernel_termios() 90 return copy_to_user(u, k, sizeof(struct termios2)) ? -EFAULT : 0; in kernel_termios_to_user_termios() 96 return copy_from_user(k, u, sizeof(struct termios)) ? -EFAULT : 0; in user_termios_to_kernel_termios_1() 102 return copy_to_user(u, k, sizeof(struct termios)) ? -EFAULT : 0; in kernel_termios_to_user_termios_1()
|
/kernel/linux/linux-5.10/drivers/input/ |
D | input-compat.c | 22 return -EFAULT; in input_event_from_user() 32 return -EFAULT; in input_event_from_user() 52 return -EFAULT; in input_event_to_user() 56 return -EFAULT; in input_event_to_user() 80 return -EFAULT; in input_ff_effect_from_user() 91 return -EFAULT; in input_ff_effect_from_user() 103 return -EFAULT; in input_event_from_user() 112 return -EFAULT; in input_event_to_user() 124 return -EFAULT; in input_ff_effect_from_user()
|
/kernel/linux/linux-5.10/drivers/staging/gasket/ |
D | gasket_ioctl.c | 33 return -EFAULT; in gasket_set_event_fd() 49 return -EFAULT; in gasket_read_page_table_size() 52 return -EFAULT; in gasket_read_page_table_size() 62 return -EFAULT; in gasket_read_page_table_size() 75 return -EFAULT; in gasket_read_simple_page_table_size() 78 return -EFAULT; in gasket_read_simple_page_table_size() 88 return -EFAULT; in gasket_read_simple_page_table_size() 102 return -EFAULT; in gasket_partition_page_table() 109 return -EFAULT; in gasket_partition_page_table() 136 return -EFAULT; in gasket_map_buffers() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_ioc32.c | 100 return -EFAULT; in compat_drm_version() 124 return -EFAULT; in compat_drm_version() 141 return -EFAULT; in compat_drm_getunique() 156 return -EFAULT; in compat_drm_getunique() 186 return -EFAULT; in compat_drm_getmap() 200 return -EFAULT; in compat_drm_getmap() 214 return -EFAULT; in compat_drm_addmap() 234 return -EFAULT; in compat_drm_addmap() 247 return -EFAULT; in compat_drm_rmmap() 271 return -EFAULT; in compat_drm_getclient() [all …]
|
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
D | vmci_host.c | 267 return -EFAULT; in vmci_host_get_version() 305 return -EFAULT; in vmci_host_do_init_context() 343 retval = -EFAULT; in vmci_host_do_init_context() 373 return -EFAULT; in vmci_host_do_send_datagram() 411 return copy_to_user(uptr, &send_info, sizeof(send_info)) ? -EFAULT : 0; in vmci_host_do_send_datagram() 429 return -EFAULT; in vmci_host_do_receive_datagram() 440 return -EFAULT; in vmci_host_do_receive_datagram() 443 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram() 464 return -EFAULT; in vmci_host_do_alloc_queuepair() 486 return -EFAULT; in vmci_host_do_alloc_queuepair() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_ioctl32.c | 42 return -EFAULT; in xfs_compat_flock64_copyin() 56 return -EFAULT; in xfs_compat_ioc_fsgeometry_v1() 67 return -EFAULT; in xfs_compat_growfs_data_copyin() 78 return -EFAULT; in xfs_compat_growfs_rt_copyin() 96 return -EFAULT; in xfs_fsinumbers_fmt_compat() 114 return -EFAULT; in xfs_ioctl32_bstime_copyin() 150 return -EFAULT; in xfs_ioctl32_bstat_copyin() 166 return -EFAULT; in xfs_bstime_store_compat() 204 return -EFAULT; in xfs_fsbulkstat_one_fmt_compat() 259 return -EFAULT; in xfs_compat_ioc_fsbulkstat() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
D | i915_query.c | 26 return -EFAULT; in copy_query_item() 73 return -EFAULT; in query_topology_info() 77 return -EFAULT; in query_topology_info() 82 return -EFAULT; in query_topology_info() 88 return -EFAULT; in query_topology_info() 130 return -EFAULT; in query_engine_info() 137 return -EFAULT; in query_engine_info() 175 return -EFAULT; in copy_perf_config_registers_or_number() 186 return -EFAULT; in copy_perf_config_registers_or_number() 223 return -EFAULT; in query_perf_config_data() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/ |
D | adf_init.c | 43 return -EFAULT; in adf_service_unregister() 69 return -EFAULT; in adf_dev_init() 74 return -EFAULT; in adf_dev_init() 79 return -EFAULT; in adf_dev_init() 84 return -EFAULT; in adf_dev_init() 89 return -EFAULT; in adf_dev_init() 97 return -EFAULT; in adf_dev_init() 104 return -EFAULT; in adf_dev_init() 110 return -EFAULT; in adf_dev_init() 125 return -EFAULT; in adf_dev_init() [all …]
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
D | ipmi_devintf.c | 153 return -EFAULT; in handle_send_req() 178 rv = -EFAULT; in handle_send_req() 238 rv = -EFAULT; in handle_recv() 260 rv = -EFAULT; in handle_recv() 289 return copy_to_user(to, rsp, sizeof(struct ipmi_recv)) ? -EFAULT : 0; in copyout_recv() 309 rv = -EFAULT; in ipmi_ioctl() 327 rv = -EFAULT; in ipmi_ioctl() 344 rv = -EFAULT; in ipmi_ioctl() 356 rv = -EFAULT; in ipmi_ioctl() 370 rv = -EFAULT; in ipmi_ioctl() [all …]
|
/kernel/linux/linux-5.10/arch/sh/boards/mach-landisk/ |
D | gio.c | 65 return -EFAULT; in gio_ioctl() 80 return -EFAULT; in gio_ioctl() 87 return -EFAULT; in gio_ioctl() 98 return -EFAULT; in gio_ioctl() 105 return -EFAULT; in gio_ioctl() 110 return -EFAULT; in gio_ioctl() 116 return -EFAULT; in gio_ioctl()
|
/kernel/linux/linux-5.10/fs/ocfs2/ |
D | ioctl.c | 145 return -EFAULT; in ocfs2_info_handle_blocksize() 152 return -EFAULT; in ocfs2_info_handle_blocksize() 164 return -EFAULT; in ocfs2_info_handle_clustersize() 171 return -EFAULT; in ocfs2_info_handle_clustersize() 183 return -EFAULT; in ocfs2_info_handle_maxslots() 190 return -EFAULT; in ocfs2_info_handle_maxslots() 202 return -EFAULT; in ocfs2_info_handle_label() 209 return -EFAULT; in ocfs2_info_handle_label() 221 return -EFAULT; in ocfs2_info_handle_uuid() 228 return -EFAULT; in ocfs2_info_handle_uuid() [all …]
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
D | sock.c | 70 return -EFAULT; in do_bnep_sock_ioctl() 85 err = -EFAULT; in do_bnep_sock_ioctl() 96 return -EFAULT; in do_bnep_sock_ioctl() 102 return -EFAULT; in do_bnep_sock_ioctl() 109 return -EFAULT; in do_bnep_sock_ioctl() 115 return -EFAULT; in do_bnep_sock_ioctl() 119 return -EFAULT; in do_bnep_sock_ioctl() 125 return -EFAULT; in do_bnep_sock_ioctl() 152 return -EFAULT; in bnep_sock_compat_ioctl() 162 err = -EFAULT; in bnep_sock_compat_ioctl()
|
/kernel/linux/linux-5.10/kernel/time/ |
D | time.c | 68 return -EFAULT; in SYSCALL_DEFINE1() 87 return -EFAULT; in SYSCALL_DEFINE1() 113 return -EFAULT; in SYSCALL_DEFINE1() 125 return -EFAULT; in SYSCALL_DEFINE1() 149 return -EFAULT; in SYSCALL_DEFINE2() 153 return -EFAULT; in SYSCALL_DEFINE2() 208 return -EFAULT; in SYSCALL_DEFINE2() 217 return -EFAULT; in SYSCALL_DEFINE2() 233 return -EFAULT; in COMPAT_SYSCALL_DEFINE2() 237 return -EFAULT; in COMPAT_SYSCALL_DEFINE2() [all …]
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
D | compat_signal.c | 82 return -EFAULT; in save_sigregs32() 95 return -EFAULT; in restore_sigregs32() 136 return -EFAULT; in save_sigregs_ext32() 147 return -EFAULT; in save_sigregs_ext32() 162 return -EFAULT; in restore_sigregs_ext32() 173 return -EFAULT; in restore_sigregs_ext32() 272 return -EFAULT; in setup_frame32() 276 return -EFAULT; in setup_frame32() 281 return -EFAULT; in setup_frame32() 283 return -EFAULT; in setup_frame32() [all …]
|
/kernel/linux/linux-5.10/net/ethtool/ |
D | ioctl.c | 83 return -EFAULT; in ethtool_get_features() 89 return -EFAULT; in ethtool_get_features() 92 return -EFAULT; in ethtool_get_features() 105 return -EFAULT; in ethtool_set_features() 112 return -EFAULT; in ethtool_set_features() 235 return -EFAULT; in ethtool_get_one_feature() 246 return -EFAULT; in ethtool_set_one_feature() 449 return -EFAULT; in load_link_ksettings_from_user() 505 return -EFAULT; in store_link_ksettings_for_user() 524 return -EFAULT; in ethtool_get_link_ksettings() [all …]
|
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
D | osf_sys.c | 145 buf->error = -EFAULT; in osf_filldir() 146 return -EFAULT; in osf_filldir() 299 return copy_to_user(osf_stat, &tmp, sizeof(tmp)) ? -EFAULT : 0; in linux_to_osf_stat() 320 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs() 340 return copy_to_user(osf_stat, &tmp_stat, bufsiz) ? -EFAULT : 0; in linux_to_osf_statfs64() 461 retval = -EFAULT; in osf_ufs_mount() 482 retval = -EFAULT; in osf_cdfs_mount() 502 return -EFAULT; in osf_procfs_mount() 543 return -EFAULT; in SYSCALL_DEFINE1() 577 return -EFAULT; in SYSCALL_DEFINE2() [all …]
|
/kernel/linux/linux-5.10/mm/ |
D | maccess.c | 39 return -EFAULT; in copy_from_kernel_nofault() 62 return -EFAULT; in copy_to_kernel_nofault() 87 return -EFAULT; in strncpy_from_kernel_nofault() 121 return -EFAULT; in copy_from_kernel_nofault() 147 return -EFAULT; in copy_to_kernel_nofault() 192 return ret ? -EFAULT : src - unsafe_addr; in strncpy_from_kernel_nofault() 207 long ret = -EFAULT; in copy_from_user_nofault() 218 return -EFAULT; in copy_from_user_nofault() 234 long ret = -EFAULT; in copy_to_user_nofault() 245 return -EFAULT; in copy_to_user_nofault()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | futex.h | 38 : "r" (uaddr), "r" (oparg), "Ir" (-EFAULT) \ 52 return -EFAULT; in futex_atomic_cmpxchg_inatomic() 68 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 92 : "r" (uaddr), "r" (oparg), "Ir" (-EFAULT) \ 106 return -EFAULT; in futex_atomic_cmpxchg_inatomic() 118 : "r" (oldval), "r" (newval), "r" (uaddr), "Ir" (-EFAULT) in futex_atomic_cmpxchg_inatomic() 136 return -EFAULT; in arch_futex_atomic_op_inuser()
|