/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_ioctl32.c | 33 compat_xfs_flock64_t __user *arg32) in xfs_compat_flock64_copyin() 35 if (get_user(bf->l_type, &arg32->l_type) || in xfs_compat_flock64_copyin() 36 get_user(bf->l_whence, &arg32->l_whence) || in xfs_compat_flock64_copyin() 37 get_user(bf->l_start, &arg32->l_start) || in xfs_compat_flock64_copyin() 38 get_user(bf->l_len, &arg32->l_len) || in xfs_compat_flock64_copyin() 39 get_user(bf->l_sysid, &arg32->l_sysid) || in xfs_compat_flock64_copyin() 40 get_user(bf->l_pid, &arg32->l_pid) || in xfs_compat_flock64_copyin() 41 copy_from_user(bf->l_pad, &arg32->l_pad, 4*sizeof(u32))) in xfs_compat_flock64_copyin() 49 compat_xfs_fsop_geom_v1_t __user *arg32) in xfs_compat_ioc_fsgeometry_v1() 55 if (copy_to_user(arg32, in xfs_compat_ioc_fsgeometry_v1() 31 xfs_compat_flock64_copyin( xfs_flock64_t *bf, compat_xfs_flock64_t __user *arg32) xfs_compat_flock64_copyin() argument 47 xfs_compat_ioc_fsgeometry_v1( struct xfs_mount *mp, compat_xfs_fsop_geom_v1_t __user *arg32) xfs_compat_ioc_fsgeometry_v1() argument 61 xfs_compat_growfs_data_copyin( struct xfs_growfs_data *in, compat_xfs_growfs_data_t __user *arg32) xfs_compat_growfs_data_copyin() argument 72 xfs_compat_growfs_rt_copyin( struct xfs_growfs_rt *in, compat_xfs_growfs_rt_t __user *arg32) xfs_compat_growfs_rt_copyin() argument 323 xfs_compat_handlereq_copyin( xfs_fsop_handlereq_t *hreq, compat_xfs_fsop_handlereq_t __user *arg32) xfs_compat_handlereq_copyin() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_ioctl32.c | 35 compat_xfs_fsop_geom_v1_t __user *arg32) in xfs_compat_ioc_fsgeometry_v1() 41 if (copy_to_user(arg32, &fsgeo, sizeof(struct compat_xfs_fsop_geom_v1))) in xfs_compat_ioc_fsgeometry_v1() 49 compat_xfs_growfs_data_t __user *arg32) in xfs_compat_growfs_data_copyin() 51 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_data_copyin() 52 get_user(in->imaxpct, &arg32->imaxpct)) in xfs_compat_growfs_data_copyin() 60 compat_xfs_growfs_rt_t __user *arg32) in xfs_compat_growfs_rt_copyin() 62 if (get_user(in->newblocks, &arg32->newblocks) || in xfs_compat_growfs_rt_copyin() 63 get_user(in->extsize, &arg32->extsize)) in xfs_compat_growfs_rt_copyin() 313 compat_xfs_fsop_handlereq_t __user *arg32) in xfs_compat_handlereq_copyin() 317 if (copy_from_user(&hreq32, arg32, sizeo in xfs_compat_handlereq_copyin() 33 xfs_compat_ioc_fsgeometry_v1( struct xfs_mount *mp, compat_xfs_fsop_geom_v1_t __user *arg32) xfs_compat_ioc_fsgeometry_v1() argument 47 xfs_compat_growfs_data_copyin( struct xfs_growfs_data *in, compat_xfs_growfs_data_t __user *arg32) xfs_compat_growfs_data_copyin() argument 58 xfs_compat_growfs_rt_copyin( struct xfs_growfs_rt *in, compat_xfs_growfs_rt_t __user *arg32) xfs_compat_growfs_rt_copyin() argument 311 xfs_compat_handlereq_copyin( xfs_fsop_handlereq_t *hreq, compat_xfs_fsop_handlereq_t __user *arg32) xfs_compat_handlereq_copyin() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | hpsa.c | 6245 IOCTL32_Command_struct __user *arg32 = arg; in hpsa_ioctl32_passthru() local 6254 if (copy_from_user(&arg64, arg32, offsetof(IOCTL_Command_struct, buf))) in hpsa_ioctl32_passthru() 6256 if (get_user(cp, &arg32->buf)) in hpsa_ioctl32_passthru() 6266 if (copy_to_user(&arg32->error_info, &arg64.error_info, in hpsa_ioctl32_passthru() 6267 sizeof(arg32->error_info))) in hpsa_ioctl32_passthru() 6276 BIG_IOCTL32_Command_struct __user *arg32 = arg; in hpsa_ioctl32_big_passthru() local 6284 if (copy_from_user(&arg64, arg32, in hpsa_ioctl32_big_passthru() 6287 if (get_user(cp, &arg32->buf)) in hpsa_ioctl32_big_passthru() 6297 if (copy_to_user(&arg32->error_info, &arg64.error_info, in hpsa_ioctl32_big_passthru() 6298 sizeof(arg32 in hpsa_ioctl32_big_passthru() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | hpsa.c | 6273 IOCTL32_Command_struct __user *arg32 = arg; in hpsa_ioctl32_passthru() local 6282 if (copy_from_user(&arg64, arg32, offsetof(IOCTL_Command_struct, buf))) in hpsa_ioctl32_passthru() 6284 if (get_user(cp, &arg32->buf)) in hpsa_ioctl32_passthru() 6294 if (copy_to_user(&arg32->error_info, &arg64.error_info, in hpsa_ioctl32_passthru() 6295 sizeof(arg32->error_info))) in hpsa_ioctl32_passthru() 6304 BIG_IOCTL32_Command_struct __user *arg32 = arg; in hpsa_ioctl32_big_passthru() local 6312 if (copy_from_user(&arg64, arg32, in hpsa_ioctl32_big_passthru() 6315 if (get_user(cp, &arg32->buf)) in hpsa_ioctl32_big_passthru() 6325 if (copy_to_user(&arg32->error_info, &arg64.error_info, in hpsa_ioctl32_big_passthru() 6326 sizeof(arg32 in hpsa_ioctl32_big_passthru() [all...] |