Lines Matching refs:fiemap
776 struct fiemap fiemap; in ext4_ioctl_get_es_cache() local
777 struct fiemap __user *ufiemap = (struct fiemap __user *) arg; in ext4_ioctl_get_es_cache()
782 if (copy_from_user(&fiemap, ufiemap, sizeof(fiemap))) in ext4_ioctl_get_es_cache()
785 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ext4_ioctl_get_es_cache()
788 fieinfo.fi_flags = fiemap.fm_flags; in ext4_ioctl_get_es_cache()
789 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ext4_ioctl_get_es_cache()
792 error = ext4_get_es_cache(inode, &fieinfo, fiemap.fm_start, in ext4_ioctl_get_es_cache()
793 fiemap.fm_length); in ext4_ioctl_get_es_cache()
794 fiemap.fm_flags = fieinfo.fi_flags; in ext4_ioctl_get_es_cache()
795 fiemap.fm_mapped_extents = fieinfo.fi_extents_mapped; in ext4_ioctl_get_es_cache()
796 if (copy_to_user(ufiemap, &fiemap, sizeof(fiemap))) in ext4_ioctl_get_es_cache()