Home
last modified time | relevance | path

Searched refs:user_range (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/fs/fat/
Dfile.c129 struct fstrim_range __user *user_range; in fat_ioctl_fitrim() local
139 user_range = (struct fstrim_range __user *)arg; in fat_ioctl_fitrim()
140 if (copy_from_user(&range, user_range, sizeof(range))) in fat_ioctl_fitrim()
150 if (copy_to_user(user_range, &range, sizeof(range))) in fat_ioctl_fitrim()
/Linux-v6.6/fs/ntfs3/
Dfile.c23 struct fstrim_range __user *user_range; in ntfs_ioctl_fitrim() local
35 user_range = (struct fstrim_range __user *)arg; in ntfs_ioctl_fitrim()
36 if (copy_from_user(&range, user_range, sizeof(range))) in ntfs_ioctl_fitrim()
45 if (copy_to_user(user_range, &range, sizeof(range))) in ntfs_ioctl_fitrim()
/Linux-v6.6/arch/x86/kvm/
Dx86.c6541 struct kvm_msr_filter_range *user_range) in kvm_add_msr_filter() argument
6546 if (!user_range->nmsrs) in kvm_add_msr_filter()
6549 if (user_range->flags & ~KVM_MSR_FILTER_RANGE_VALID_MASK) in kvm_add_msr_filter()
6552 if (!user_range->flags) in kvm_add_msr_filter()
6555 bitmap_size = BITS_TO_LONGS(user_range->nmsrs) * sizeof(long); in kvm_add_msr_filter()
6559 bitmap = memdup_user((__user u8*)user_range->bitmap, bitmap_size); in kvm_add_msr_filter()
6564 .flags = user_range->flags, in kvm_add_msr_filter()
6565 .base = user_range->base, in kvm_add_msr_filter()
6566 .nmsrs = user_range->nmsrs, in kvm_add_msr_filter()