Home
last modified time | relevance | path

Searched refs:compat_alloc_user_space (Results 1 – 24 of 24) sorted by relevance

/Linux-v4.19/fs/quota/
Dcompat.c61 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in COMPAT_SYSCALL_DEFINE4()
72 dqblk = compat_alloc_user_space(sizeof(struct if_dqblk)); in COMPAT_SYSCALL_DEFINE4()
82 fsqstat = compat_alloc_user_space(sizeof(struct fs_quota_stat)); in COMPAT_SYSCALL_DEFINE4()
/Linux-v4.19/fs/
Dcompat_ioctl.c149 compat_alloc_user_space(sizeof(*kevent)); in do_video_get_event()
189 compat_alloc_user_space(sizeof(struct video_still_picture)); in do_video_stillpicture()
273 void __user *top = compat_alloc_user_space(0); in sg_ioctl_trans()
274 void __user *new = compat_alloc_user_space(sizeof(sg_io_hdr_t) + in sg_ioctl_trans()
363 r = compat_alloc_user_space(sizeof(sg_req_info_t)*SG_MAX_QUEUE); in sg_grt_trans()
393 struct sock_fprog __user *u_fprog64 = compat_alloc_user_space(sizeof(struct sock_fprog)); in ppp_sock_fprog_ioctl_trans()
436 idle = compat_alloc_user_space(sizeof(*idle)); in ppp_gidle()
457 odata = compat_alloc_user_space(sizeof(*odata)); in ppp_scompress()
505 pos = compat_alloc_user_space(sizeof(*pos)); in mt_ioctl_trans()
510 get = compat_alloc_user_space(sizeof(*get)); in mt_ioctl_trans()
[all …]
/Linux-v4.19/drivers/staging/comedi/
Dcomedi_compat32.c102 chaninfo = compat_alloc_user_space(sizeof(*chaninfo)); in compat_chaninfo()
136 rangeinfo = compat_alloc_user_space(sizeof(*rangeinfo)); in compat_rangeinfo()
266 cmd = compat_alloc_user_space(sizeof(*cmd)); in compat_cmd()
291 cmd = compat_alloc_user_space(sizeof(*cmd)); in compat_cmdtest()
364 s = compat_alloc_user_space(offsetof(struct combined_insnlist, in compat_insnlist()
395 insn = compat_alloc_user_space(sizeof(*insn)); in compat_insn()
/Linux-v4.19/block/
Dcompat_ioctl.c86 p = compat_alloc_user_space(sizeof(unsigned long)); in compat_hdio_ioctl()
125 cdread_audio = compat_alloc_user_space(sizeof(*cdread_audio)); in compat_cdrom_read_audio()
153 cgc = compat_alloc_user_space(sizeof(*cgc)); in compat_cdrom_generic_command()
186 struct blkpg_ioctl_arg __user *a = compat_alloc_user_space(sizeof(*a)); in compat_blkpg_ioctl()
/Linux-v4.19/drivers/gpu/drm/i915/
Di915_ioc32.c54 request = compat_alloc_user_space(sizeof(*request)); in compat_i915_getparam()
/Linux-v4.19/sound/core/
Dhwdep_compat.c40 dst = compat_alloc_user_space(sizeof(*dst)); in snd_hwdep_dsp_load_compat()
Dcontrol_compat.c42 data = compat_alloc_user_space(sizeof(*data)); in snd_ctl_elem_list_compat()
/Linux-v4.19/net/
Dcompat.c322 struct sock_fprog __user *kfprog = compat_alloc_user_space(sizeof(struct sock_fprog)); in get_compat_bpf_fprog()
587 compat_alloc_user_space(sizeof(struct group_req)); in compat_mc_setsockopt()
607 struct group_source_req __user *kgsr = compat_alloc_user_space( in compat_mc_setsockopt()
640 kgf = compat_alloc_user_space(koptlen); in compat_mc_setsockopt()
674 koptlen = compat_alloc_user_space(sizeof(*koptlen)); in compat_mc_getsockopt()
690 kgf = compat_alloc_user_space(klen+sizeof(*optlen)); in compat_mc_getsockopt()
Dsocket.c2849 rxnfc = compat_alloc_user_space(buf_size); in ethtool_ioctl()
/Linux-v4.19/net/atm/
Dioctl.c255 iobuf = compat_alloc_user_space(sizeof(*iobuf)); in do_atm_iobuf()
286 sioc = compat_alloc_user_space(sizeof(*sioc)); in do_atmif_sioc()
/Linux-v4.19/drivers/video/fbdev/
Dsbuslib.c198 struct fbcmap __user *p = compat_alloc_user_space(sizeof(*p)); in fbiogetputcmap()
219 struct fbcursor __user *p = compat_alloc_user_space(sizeof(*p)); in fbiogscursor()
/Linux-v4.19/kernel/
Dkexec.c278 ksegments = compat_alloc_user_space(nr_segments * sizeof(out)); in COMPAT_SYSCALL_DEFINE4()
Dcompat.c431 void __user *compat_alloc_user_space(unsigned long len) in compat_alloc_user_space() function
446 EXPORT_SYMBOL_GPL(compat_alloc_user_space);
/Linux-v4.19/net/bluetooth/hidp/
Dsock.c168 uca = compat_alloc_user_space(sizeof(*uca)); in hidp_sock_compat_ioctl()
/Linux-v4.19/mm/
Dmempolicy.c1520 nm = compat_alloc_user_space(alloc_size); in COMPAT_SYSCALL_DEFINE5()
1549 nm = compat_alloc_user_space(alloc_size); in COMPAT_SYSCALL_DEFINE3()
1571 nm = compat_alloc_user_space(alloc_size); in COMPAT_SYSCALL_DEFINE6()
1595 old = compat_alloc_user_space(new_nodes ? size * 2 : size); in COMPAT_SYSCALL_DEFINE4()
1605 new = compat_alloc_user_space(size); in COMPAT_SYSCALL_DEFINE4()
Dmigrate.c1807 pages = compat_alloc_user_space(nr_pages * sizeof(void *)); in COMPAT_SYSCALL_DEFINE6()
/Linux-v4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c1594 args = compat_alloc_user_space(sizeof(*args)); in vchiq_compat_ioctl_create_service()
1661 args = compat_alloc_user_space(sizeof(*args) + in vchiq_compat_ioctl_queue_message()
1724 args = compat_alloc_user_space(sizeof(*args)); in vchiq_compat_ioctl_queue_bulk()
1795 args = compat_alloc_user_space(sizeof(*args) + in vchiq_compat_ioctl_await_completion()
1932 args = compat_alloc_user_space(sizeof(*args)); in vchiq_compat_ioctl_dequeue_message()
1967 args = compat_alloc_user_space(sizeof(*args)); in vchiq_compat_ioctl_get_config()
/Linux-v4.19/include/linux/
Dcompat.h520 extern void __user *compat_alloc_user_space(unsigned long len);
/Linux-v4.19/drivers/usb/core/
Ddevio.c1951 p = compat_alloc_user_space(sizeof(*p)); in proc_control_compat()
1966 p = compat_alloc_user_space(sizeof(*p)); in proc_bulk_compat()
/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-compat-ioctl32.c1141 *new_p64 = compat_alloc_user_space(size + aux_space); in alloc_userspace()
/Linux-v4.19/drivers/scsi/aacraid/
Dlinit.c1190 f = compat_alloc_user_space(sizeof(*f)); in aac_compat_do_ioctl()
/Linux-v4.19/drivers/video/fbdev/core/
Dfbmem.c1261 cmap = compat_alloc_user_space(sizeof(*cmap)); in fb_getput_cmap()
/Linux-v4.19/drivers/scsi/
Dhpsa.c6131 IOCTL_Command_struct __user *p = compat_alloc_user_space(sizeof(arg64)); in hpsa_ioctl32_passthru()
6168 compat_alloc_user_space(sizeof(arg64)); in hpsa_ioctl32_big_passthru()
/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_base.c7497 compat_alloc_user_space(sizeof(struct megasas_iocpacket)); in megasas_mgmt_compat_ioctl_fw()