Home
last modified time | relevance | path

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

12345678910>>...90

/Linux-v5.4/drivers/firmware/efi/test/
Defi_test.c74 return -EFAULT; in copy_ucs2_from_user_len()
95 return -EFAULT; in get_ucs2_strsize_from_user()
99 return -EFAULT; in get_ucs2_strsize_from_user()
122 return -EFAULT; in copy_ucs2_from_user()
126 return -EFAULT; in copy_ucs2_from_user()
146 return -EFAULT; in copy_ucs2_to_user_len()
167 return -EFAULT; in efi_runtime_get_variable()
170 return -EFAULT; in efi_runtime_get_variable()
174 return -EFAULT; in efi_runtime_get_variable()
200 rv = -EFAULT; in efi_runtime_get_variable()
[all …]
/Linux-v5.4/sound/core/seq/oss/
Dseq_oss_ioctl.c23 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 …]
/Linux-v5.4/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c169 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 …]
/Linux-v5.4/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-v5.4/drivers/misc/mic/scif/
Dscif_fd.c88 return -EFAULT; in scif_fdioctl()
95 return -EFAULT; in scif_fdioctl()
107 return -EFAULT; in scif_fdioctl()
117 return -EFAULT; in scif_fdioctl()
134 return -EFAULT; in scif_fdioctl()
142 return -EFAULT; in scif_fdioctl()
168 return -EFAULT; in scif_fdioctl()
213 err = -EFAULT; in scif_fdioctl()
223 err = -EFAULT; in scif_fdioctl()
237 err = -EFAULT; in scif_fdioctl()
[all …]
/Linux-v5.4/kernel/
Dcompat.c33 __get_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_get_timeval()
40 __put_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_put_timeval()
47 __get_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_get_timespec()
54 __put_user(ts->tv_nsec, &cts->tv_nsec)) ? -EFAULT : 0; in __compat_put_timespec()
60 return copy_from_user(tv, utv, sizeof(*tv)) ? -EFAULT : 0; in compat_get_timeval()
69 return copy_to_user(utv, tv, sizeof(*tv)) ? -EFAULT : 0; in compat_put_timeval()
78 return copy_from_user(ts, uts, sizeof(*ts)) ? -EFAULT : 0; in compat_get_timespec()
87 return copy_to_user(uts, ts, sizeof(*ts)) ? -EFAULT : 0; in compat_put_timespec()
98 return -EFAULT; in get_compat_itimerval()
114 return copy_to_user(o, &v32, sizeof(struct compat_itimerval)) ? -EFAULT : 0; in put_compat_itimerval()
[all …]
/Linux-v5.4/drivers/input/
Dinput-compat.c22 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()
/Linux-v5.4/drivers/staging/gasket/
Dgasket_ioctl.c33 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 …]
/Linux-v5.4/drivers/gpu/drm/
Ddrm_ioc32.c100 return -EFAULT; in compat_drm_version()
122 return -EFAULT; in compat_drm_version()
139 return -EFAULT; in compat_drm_getunique()
151 return -EFAULT; in compat_drm_getunique()
181 return -EFAULT; in compat_drm_getmap()
195 return -EFAULT; in compat_drm_getmap()
209 return -EFAULT; in compat_drm_addmap()
229 return -EFAULT; in compat_drm_addmap()
242 return -EFAULT; in compat_drm_rmmap()
266 return -EFAULT; in compat_drm_getclient()
[all …]
/Linux-v5.4/drivers/misc/vmw_vmci/
Dvmci_host.c258 return -EFAULT; in vmci_host_get_version()
296 return -EFAULT; in vmci_host_do_init_context()
334 retval = -EFAULT; in vmci_host_do_init_context()
362 return -EFAULT; in vmci_host_do_send_datagram()
400 return copy_to_user(uptr, &send_info, sizeof(send_info)) ? -EFAULT : 0; in vmci_host_do_send_datagram()
418 return -EFAULT; in vmci_host_do_receive_datagram()
429 return -EFAULT; in vmci_host_do_receive_datagram()
432 return copy_to_user(uptr, &recv_info, sizeof(recv_info)) ? -EFAULT : 0; in vmci_host_do_receive_datagram()
453 return -EFAULT; in vmci_host_do_alloc_queuepair()
475 return -EFAULT; in vmci_host_do_alloc_queuepair()
[all …]
/Linux-v5.4/net/atm/
Dresources.c193 return error ? -EFAULT : 0; in fetch_stats()
214 return -EFAULT; in atm_dev_ioctl()
221 return -EFAULT; in atm_dev_ioctl()
224 return -EFAULT; in atm_dev_ioctl()
245 ? -EFAULT : 0; in atm_dev_ioctl()
259 return -EFAULT; in atm_dev_ioctl()
263 return -EFAULT; in atm_dev_ioctl()
265 return -EFAULT; in atm_dev_ioctl()
272 return -EFAULT; in atm_dev_ioctl()
274 return -EFAULT; in atm_dev_ioctl()
[all …]
/Linux-v5.4/fs/xfs/
Dxfs_ioctl32.c42 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 …]
/Linux-v5.4/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-v5.4/drivers/char/ipmi/
Dipmi_devintf.c153 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 …]
/Linux-v5.4/arch/sh/boards/mach-landisk/
Dgio.c65 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()
/Linux-v5.4/fs/ocfs2/
Dioctl.c145 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 …]
/Linux-v5.4/net/bluetooth/bnep/
Dsock.c70 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()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_query.c25 return -EFAULT; in copy_query_item()
29 return -EFAULT; in copy_query_item()
78 return -EFAULT; in query_topology_info()
82 return -EFAULT; in query_topology_info()
87 return -EFAULT; in query_topology_info()
93 return -EFAULT; in query_topology_info()
133 return -EFAULT; in query_engine_info()
140 return -EFAULT; in query_engine_info()
168 return -EFAULT; in i915_query_ioctl()
187 return -EFAULT; in i915_query_ioctl()
/Linux-v5.4/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-v5.4/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()
543 return -EFAULT; in SYSCALL_DEFINE1()
577 return -EFAULT; in SYSCALL_DEFINE2()
[all …]
/Linux-v5.4/net/core/
Dethtool.c163 return -EFAULT; in ethtool_get_features()
169 return -EFAULT; in ethtool_get_features()
172 return -EFAULT; in ethtool_get_features()
185 return -EFAULT; in ethtool_set_features()
192 return -EFAULT; in ethtool_set_features()
304 return -EFAULT; in ethtool_get_one_feature()
315 return -EFAULT; in ethtool_set_one_feature()
566 return -EFAULT; in load_link_ksettings_from_user()
604 return -EFAULT; in store_link_ksettings_for_user()
623 return -EFAULT; in ethtool_get_link_ksettings()
[all …]
/Linux-v5.4/kernel/time/
Dtime.c68 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()
218 return -EFAULT; in SYSCALL_DEFINE2()
234 return -EFAULT; in COMPAT_SYSCALL_DEFINE2()
238 return -EFAULT; in COMPAT_SYSCALL_DEFINE2()
[all …]
/Linux-v5.4/net/bluetooth/cmtp/
Dsock.c83 return -EFAULT; in do_cmtp_sock_ioctl()
97 err = -EFAULT; in do_cmtp_sock_ioctl()
108 return -EFAULT; in do_cmtp_sock_ioctl()
114 return -EFAULT; in do_cmtp_sock_ioctl()
121 return -EFAULT; in do_cmtp_sock_ioctl()
127 return -EFAULT; in do_cmtp_sock_ioctl()
131 return -EFAULT; in do_cmtp_sock_ioctl()
155 return -EFAULT; in cmtp_sock_compat_ioctl()
165 err = -EFAULT; in cmtp_sock_compat_ioctl()
/Linux-v5.4/sound/core/
Dpcm_compat.c22 return -EFAULT; in snd_pcm_ioctl_delay_compat()
33 return -EFAULT; in snd_pcm_ioctl_rewind_compat()
36 return -EFAULT; in snd_pcm_ioctl_rewind_compat()
47 return -EFAULT; in snd_pcm_ioctl_forward_compat()
50 return -EFAULT; in snd_pcm_ioctl_forward_compat()
118 return -EFAULT; in snd_pcm_ioctl_sw_params_compat()
130 return -EFAULT; in snd_pcm_ioctl_sw_params_compat()
151 return -EFAULT; in snd_pcm_ioctl_channel_info_compat()
159 return -EFAULT; in snd_pcm_ioctl_channel_info_compat()
205 return -EFAULT; in snd_pcm_status_user_compat()
[all …]

12345678910>>...90