Lines Matching refs:data
1953 void *data, int offset, int len) in __kvm_read_guest_page() argument
1961 r = __copy_from_user(data, (void __user *)addr + offset, len); in __kvm_read_guest_page()
1967 int kvm_read_guest_page(struct kvm *kvm, gfn_t gfn, void *data, int offset, in kvm_read_guest_page() argument
1972 return __kvm_read_guest_page(slot, gfn, data, offset, len); in kvm_read_guest_page()
1976 int kvm_vcpu_read_guest_page(struct kvm_vcpu *vcpu, gfn_t gfn, void *data, in kvm_vcpu_read_guest_page() argument
1981 return __kvm_read_guest_page(slot, gfn, data, offset, len); in kvm_vcpu_read_guest_page()
1985 int kvm_read_guest(struct kvm *kvm, gpa_t gpa, void *data, unsigned long len) in kvm_read_guest() argument
1993 ret = kvm_read_guest_page(kvm, gfn, data, offset, seg); in kvm_read_guest()
1998 data += seg; in kvm_read_guest()
2005 int kvm_vcpu_read_guest(struct kvm_vcpu *vcpu, gpa_t gpa, void *data, unsigned long len) in kvm_vcpu_read_guest() argument
2013 ret = kvm_vcpu_read_guest_page(vcpu, gfn, data, offset, seg); in kvm_vcpu_read_guest()
2018 data += seg; in kvm_vcpu_read_guest()
2026 void *data, int offset, unsigned long len) in __kvm_read_guest_atomic() argument
2035 r = __copy_from_user_inatomic(data, (void __user *)addr + offset, len); in __kvm_read_guest_atomic()
2042 int kvm_read_guest_atomic(struct kvm *kvm, gpa_t gpa, void *data, in kvm_read_guest_atomic() argument
2049 return __kvm_read_guest_atomic(slot, gfn, data, offset, len); in kvm_read_guest_atomic()
2054 void *data, unsigned long len) in kvm_vcpu_read_guest_atomic() argument
2060 return __kvm_read_guest_atomic(slot, gfn, data, offset, len); in kvm_vcpu_read_guest_atomic()
2065 const void *data, int offset, int len) in __kvm_write_guest_page() argument
2073 r = __copy_to_user((void __user *)addr + offset, data, len); in __kvm_write_guest_page()
2081 const void *data, int offset, int len) in kvm_write_guest_page() argument
2085 return __kvm_write_guest_page(slot, gfn, data, offset, len); in kvm_write_guest_page()
2090 const void *data, int offset, int len) in kvm_vcpu_write_guest_page() argument
2094 return __kvm_write_guest_page(slot, gfn, data, offset, len); in kvm_vcpu_write_guest_page()
2098 int kvm_write_guest(struct kvm *kvm, gpa_t gpa, const void *data, in kvm_write_guest() argument
2107 ret = kvm_write_guest_page(kvm, gfn, data, offset, seg); in kvm_write_guest()
2112 data += seg; in kvm_write_guest()
2119 int kvm_vcpu_write_guest(struct kvm_vcpu *vcpu, gpa_t gpa, const void *data, in kvm_vcpu_write_guest() argument
2128 ret = kvm_vcpu_write_guest_page(vcpu, gfn, data, offset, seg); in kvm_vcpu_write_guest()
2133 data += seg; in kvm_vcpu_write_guest()
2187 void *data, unsigned int offset, in kvm_write_guest_offset_cached() argument
2200 return kvm_write_guest(kvm, gpa, data, len); in kvm_write_guest_offset_cached()
2205 r = __copy_to_user((void __user *)ghc->hva + offset, data, len); in kvm_write_guest_offset_cached()
2215 void *data, unsigned long len) in kvm_write_guest_cached() argument
2217 return kvm_write_guest_offset_cached(kvm, ghc, data, 0, len); in kvm_write_guest_cached()
2222 void *data, unsigned long len) in kvm_read_guest_cached() argument
2233 return kvm_read_guest(kvm, ghc->gpa, data, len); in kvm_read_guest_cached()
2238 r = __copy_from_user(data, (void __user *)ghc->hva, len); in kvm_read_guest_cached()
3337 struct kvm_irqfd data; in kvm_vm_ioctl() local
3340 if (copy_from_user(&data, argp, sizeof(data))) in kvm_vm_ioctl()
3342 r = kvm_irqfd(kvm, &data); in kvm_vm_ioctl()
3346 struct kvm_ioeventfd data; in kvm_vm_ioctl() local
3349 if (copy_from_user(&data, argp, sizeof(data))) in kvm_vm_ioctl()
3351 r = kvm_ioeventfd(kvm, &data); in kvm_vm_ioctl()
4023 static int vm_stat_get_per_vm(void *data, u64 *val) in vm_stat_get_per_vm() argument
4025 struct kvm_stat_data *stat_data = (struct kvm_stat_data *)data; in vm_stat_get_per_vm()
4032 static int vm_stat_clear_per_vm(void *data, u64 val) in vm_stat_clear_per_vm() argument
4034 struct kvm_stat_data *stat_data = (struct kvm_stat_data *)data; in vm_stat_clear_per_vm()
4060 static int vcpu_stat_get_per_vm(void *data, u64 *val) in vcpu_stat_get_per_vm() argument
4063 struct kvm_stat_data *stat_data = (struct kvm_stat_data *)data; in vcpu_stat_get_per_vm()
4074 static int vcpu_stat_clear_per_vm(void *data, u64 val) in vcpu_stat_clear_per_vm() argument
4077 struct kvm_stat_data *stat_data = (struct kvm_stat_data *)data; in vcpu_stat_clear_per_vm()
4442 uintptr_t data; member
4455 uintptr_t data = init_context->data; in kvm_vm_worker_thread() local
4485 err = thread_fn(kvm, data); in kvm_vm_worker_thread()
4491 uintptr_t data, const char *name, in kvm_vm_create_worker_thread() argument
4501 init_context.data = data; in kvm_vm_create_worker_thread()