Home
last modified time | relevance | path

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

12345678910>>...83

/Linux-v4.19/drivers/firmware/efi/test/
Defi_test.c72 return -EFAULT; in copy_ucs2_from_user_len()
93 return -EFAULT; in get_ucs2_strsize_from_user()
97 return -EFAULT; in get_ucs2_strsize_from_user()
120 return -EFAULT; in copy_ucs2_from_user()
124 return -EFAULT; in copy_ucs2_from_user()
144 return -EFAULT; in copy_ucs2_to_user_len()
165 return -EFAULT; in efi_runtime_get_variable()
168 return -EFAULT; in efi_runtime_get_variable()
172 return -EFAULT; in efi_runtime_get_variable()
198 rv = -EFAULT; in efi_runtime_get_variable()
[all …]
/Linux-v4.19/sound/core/seq/oss/
Dseq_oss_ioctl.c36 return -EFAULT; in snd_seq_oss_synth_info_user()
40 return -EFAULT; in snd_seq_oss_synth_info_user()
49 return -EFAULT; in snd_seq_oss_midi_info_user()
53 return -EFAULT; in snd_seq_oss_midi_info_user()
63 return -EFAULT; in snd_seq_oss_oob_user()
111 return -EFAULT; in snd_seq_oss_ioctl()
117 return put_user(dp->readq->qlen, p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
122 return put_user(snd_seq_oss_writeq_get_free_size(dp->writeq), p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
125 return put_user(snd_seq_oss_timer_cur_tick(dp->timer), p) ? -EFAULT : 0; in snd_seq_oss_ioctl()
129 return -EFAULT; in snd_seq_oss_ioctl()
[all …]
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c168 return -EFAULT; in get_v4l2_window32()
175 return -EFAULT; in get_v4l2_window32()
178 return -EFAULT; in get_v4l2_window32()
181 return -EFAULT; in get_v4l2_window32()
185 return -EFAULT; in get_v4l2_window32()
187 return -EFAULT; in get_v4l2_window32()
208 return -EFAULT; in put_v4l2_window32()
213 return -EFAULT; in put_v4l2_window32()
215 return -EFAULT; in put_v4l2_window32()
219 return -EFAULT; in put_v4l2_window32()
[all …]
/Linux-v4.19/drivers/misc/mic/scif/
Dscif_fd.c97 return -EFAULT; in scif_fdioctl()
104 return -EFAULT; in scif_fdioctl()
116 return -EFAULT; in scif_fdioctl()
126 return -EFAULT; in scif_fdioctl()
143 return -EFAULT; in scif_fdioctl()
151 return -EFAULT; in scif_fdioctl()
177 return -EFAULT; in scif_fdioctl()
222 err = -EFAULT; in scif_fdioctl()
232 err = -EFAULT; in scif_fdioctl()
246 err = -EFAULT; in scif_fdioctl()
[all …]
/Linux-v4.19/arch/mips/include/asm/
Dtermios.h36 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()
/Linux-v4.19/drivers/input/
Dinput-compat.c25 return -EFAULT; in input_event_from_user()
35 return -EFAULT; in input_event_from_user()
55 return -EFAULT; in input_event_to_user()
59 return -EFAULT; in input_event_to_user()
83 return -EFAULT; in input_ff_effect_from_user()
94 return -EFAULT; in input_ff_effect_from_user()
106 return -EFAULT; in input_event_from_user()
115 return -EFAULT; in input_event_to_user()
127 return -EFAULT; in input_ff_effect_from_user()
/Linux-v4.19/drivers/staging/gasket/
Dgasket_ioctl.c33 return -EFAULT; in gasket_set_event_fd()
50 return -EFAULT; in gasket_read_page_table_size()
53 return -EFAULT; in gasket_read_page_table_size()
63 return -EFAULT; in gasket_read_page_table_size()
77 return -EFAULT; in gasket_read_simple_page_table_size()
80 return -EFAULT; in gasket_read_simple_page_table_size()
90 return -EFAULT; in gasket_read_simple_page_table_size()
105 return -EFAULT; in gasket_partition_page_table()
112 return -EFAULT; in gasket_partition_page_table()
139 return -EFAULT; in gasket_map_buffers()
[all …]
/Linux-v4.19/drivers/misc/vmw_vmci/
Dvmci_host.c267 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()
371 return -EFAULT; in vmci_host_do_send_datagram()
409 return copy_to_user(uptr, &send_info, sizeof(send_info)) ? -EFAULT : 0; in vmci_host_do_send_datagram()
427 return -EFAULT; in vmci_host_do_receive_datagram()
438 return -EFAULT; in vmci_host_do_receive_datagram()
441 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
465 return -EFAULT; in vmci_host_do_alloc_queuepair()
487 return -EFAULT; in vmci_host_do_alloc_queuepair()
[all …]
/Linux-v4.19/drivers/gpu/drm/
Ddrm_ioc32.c97 return -EFAULT; in compat_drm_version()
119 return -EFAULT; in compat_drm_version()
136 return -EFAULT; in compat_drm_getunique()
148 return -EFAULT; in compat_drm_getunique()
177 return -EFAULT; in compat_drm_getmap()
191 return -EFAULT; in compat_drm_getmap()
205 return -EFAULT; in compat_drm_addmap()
225 return -EFAULT; in compat_drm_addmap()
238 return -EFAULT; in compat_drm_rmmap()
261 return -EFAULT; in compat_drm_getclient()
[all …]
/Linux-v4.19/net/core/
Dethtool.c162 return -EFAULT; in ethtool_get_features()
168 return -EFAULT; in ethtool_get_features()
171 return -EFAULT; in ethtool_get_features()
184 return -EFAULT; in ethtool_set_features()
191 return -EFAULT; in ethtool_set_features()
303 return -EFAULT; in ethtool_get_one_feature()
314 return -EFAULT; in ethtool_set_one_feature()
595 return -EFAULT; in load_link_ksettings_from_user()
633 return -EFAULT; in store_link_ksettings_for_user()
662 return -EFAULT; in ethtool_get_link_ksettings()
[all …]
/Linux-v4.19/net/atm/
Dresources.c193 return error ? -EFAULT : 0; in fetch_stats()
218 return -EFAULT; in atm_dev_ioctl()
225 return -EFAULT; in atm_dev_ioctl()
228 return -EFAULT; in atm_dev_ioctl()
249 ? -EFAULT : 0; in atm_dev_ioctl()
263 return -EFAULT; in atm_dev_ioctl()
267 return -EFAULT; in atm_dev_ioctl()
269 return -EFAULT; in atm_dev_ioctl()
276 return -EFAULT; in atm_dev_ioctl()
278 return -EFAULT; in atm_dev_ioctl()
[all …]
/Linux-v4.19/kernel/
Dcompat.c39 return -EFAULT; in compat_get_timex()
92 return -EFAULT; in compat_put_timex()
100 __get_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_get_timeval()
107 __put_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_put_timeval()
114 __get_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_get_timespec()
121 __put_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_put_timespec()
127 return copy_from_user(tv, utv, sizeof(*tv)) ? -EFAULT : 0; in compat_get_timeval()
136 return copy_to_user(utv, tv, sizeof(*tv)) ? -EFAULT : 0; in compat_put_timeval()
145 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in compat_get_timespec()
154 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in compat_put_timespec()
[all …]
/Linux-v4.19/fs/xfs/
Dxfs_ioctl32.c46 return -EFAULT; in xfs_compat_flock64_copyin()
63 return -EFAULT; in xfs_compat_ioc_fsgeometry_v1()
74 return -EFAULT; in xfs_compat_growfs_data_copyin()
85 return -EFAULT; in xfs_compat_growfs_rt_copyin()
103 return -EFAULT; in xfs_inumbers_fmt_compat()
122 return -EFAULT; in xfs_ioctl32_bstime_copyin()
155 return -EFAULT; in xfs_ioctl32_bstat_copyin()
171 return -EFAULT; in xfs_bstime_store_compat()
210 return -EFAULT; in xfs_bulkstat_one_fmt_compat()
254 return -EFAULT; in xfs_compat_ioc_bulkstat()
[all …]
/Linux-v4.19/drivers/crypto/qat/qat_common/
Dadf_init.c87 return -EFAULT; in adf_service_unregister()
112 return -EFAULT; in adf_dev_init()
117 return -EFAULT; in adf_dev_init()
122 return -EFAULT; in adf_dev_init()
127 return -EFAULT; in adf_dev_init()
132 return -EFAULT; in adf_dev_init()
140 return -EFAULT; in adf_dev_init()
147 return -EFAULT; in adf_dev_init()
153 return -EFAULT; in adf_dev_init()
168 return -EFAULT; in adf_dev_init()
[all …]
Dadf_ctl_drv.c97 return -EFAULT; in adf_chr_drv_create()
126 return -EFAULT; in adf_chr_drv_create()
164 return -EFAULT; in adf_add_key_value_data()
172 return -EFAULT; in adf_add_key_value_data()
221 return -EFAULT; in adf_copy_key_value_data()
237 ret = -EFAULT; in adf_ctl_ioctl_dev_config()
242 ret = -EFAULT; in adf_ctl_ioctl_dev_config()
247 ret = -EFAULT; in adf_ctl_ioctl_dev_config()
381 return -EFAULT; in adf_ctl_ioctl_get_num_devices()
396 return -EFAULT; in adf_ctl_ioctl_get_status()
[all …]
/Linux-v4.19/drivers/char/ipmi/
Dipmi_devintf.c156 return -EFAULT; in handle_send_req()
181 rv = -EFAULT; in handle_send_req()
241 rv = -EFAULT; in handle_recv()
263 rv = -EFAULT; in handle_recv()
292 return copy_to_user(to, rsp, sizeof(struct ipmi_recv)) ? -EFAULT : 0; in copyout_recv()
312 rv = -EFAULT; in ipmi_ioctl()
330 rv = -EFAULT; in ipmi_ioctl()
347 rv = -EFAULT; in ipmi_ioctl()
359 rv = -EFAULT; in ipmi_ioctl()
373 rv = -EFAULT; in ipmi_ioctl()
[all …]
/Linux-v4.19/arch/sh/boards/mach-landisk/
Dgio.c69 return -EFAULT; in gio_ioctl()
84 return -EFAULT; in gio_ioctl()
91 return -EFAULT; in gio_ioctl()
102 return -EFAULT; in gio_ioctl()
109 return -EFAULT; in gio_ioctl()
114 return -EFAULT; in gio_ioctl()
120 return -EFAULT; in gio_ioctl()
/Linux-v4.19/fs/ocfs2/
Dioctl.c152 return -EFAULT; in ocfs2_info_handle_blocksize()
159 return -EFAULT; in ocfs2_info_handle_blocksize()
171 return -EFAULT; in ocfs2_info_handle_clustersize()
178 return -EFAULT; in ocfs2_info_handle_clustersize()
190 return -EFAULT; in ocfs2_info_handle_maxslots()
197 return -EFAULT; in ocfs2_info_handle_maxslots()
209 return -EFAULT; in ocfs2_info_handle_label()
216 return -EFAULT; in ocfs2_info_handle_label()
228 return -EFAULT; in ocfs2_info_handle_uuid()
235 return -EFAULT; in ocfs2_info_handle_uuid()
[all …]
/Linux-v4.19/net/bluetooth/bnep/
Dsock.c71 return -EFAULT; in bnep_sock_ioctl()
86 err = -EFAULT; in bnep_sock_ioctl()
97 return -EFAULT; in bnep_sock_ioctl()
103 return -EFAULT; in bnep_sock_ioctl()
110 return -EFAULT; in bnep_sock_ioctl()
116 return -EFAULT; in bnep_sock_ioctl()
120 return -EFAULT; in bnep_sock_ioctl()
126 return -EFAULT; in bnep_sock_ioctl()
147 return -EFAULT; in bnep_sock_compat_ioctl()
157 err = -EFAULT; in bnep_sock_compat_ioctl()
/Linux-v4.19/arch/s390/kernel/
Dcompat_signal.c82 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 …]
/Linux-v4.19/arch/alpha/kernel/
Dosf_sys.c145 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()
544 return -EFAULT; in SYSCALL_DEFINE1()
578 return -EFAULT; in SYSCALL_DEFINE2()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_query.c45 return -EFAULT; in query_topology_info()
52 return -EFAULT; in query_topology_info()
67 return -EFAULT; in query_topology_info()
71 return -EFAULT; in query_topology_info()
76 return -EFAULT; in query_topology_info()
82 return -EFAULT; in query_topology_info()
109 return -EFAULT; in i915_query_ioctl()
128 return -EFAULT; in i915_query_ioctl()
/Linux-v4.19/net/bluetooth/hidp/
Dsock.c68 return -EFAULT; in hidp_sock_ioctl()
82 err = -EFAULT; in hidp_sock_ioctl()
94 return -EFAULT; in hidp_sock_ioctl()
100 return -EFAULT; in hidp_sock_ioctl()
107 return -EFAULT; in hidp_sock_ioctl()
113 return -EFAULT; in hidp_sock_ioctl()
117 return -EFAULT; in hidp_sock_ioctl()
151 return -EFAULT; in hidp_sock_compat_ioctl()
161 err = -EFAULT; in hidp_sock_compat_ioctl()
171 return -EFAULT; in hidp_sock_compat_ioctl()
[all …]
/Linux-v4.19/kernel/time/
Dtime.c71 return -EFAULT; in SYSCALL_DEFINE1()
90 return -EFAULT; in SYSCALL_DEFINE1()
116 return -EFAULT; in COMPAT_SYSCALL_DEFINE1()
128 return -EFAULT; in COMPAT_SYSCALL_DEFINE1()
150 return -EFAULT; in SYSCALL_DEFINE2()
154 return -EFAULT; in SYSCALL_DEFINE2()
209 return -EFAULT; in SYSCALL_DEFINE2()
219 return -EFAULT; in SYSCALL_DEFINE2()
234 return -EFAULT; in COMPAT_SYSCALL_DEFINE2()
238 return -EFAULT; in COMPAT_SYSCALL_DEFINE2()
[all …]
/Linux-v4.19/net/bluetooth/cmtp/
Dsock.c84 return -EFAULT; in cmtp_sock_ioctl()
98 err = -EFAULT; in cmtp_sock_ioctl()
109 return -EFAULT; in cmtp_sock_ioctl()
115 return -EFAULT; in cmtp_sock_ioctl()
122 return -EFAULT; in cmtp_sock_ioctl()
128 return -EFAULT; in cmtp_sock_ioctl()
132 return -EFAULT; in cmtp_sock_ioctl()
150 return -EFAULT; in cmtp_sock_compat_ioctl()
160 err = -EFAULT; in cmtp_sock_compat_ioctl()

12345678910>>...83