Lines Matching refs:bp_data
175 struct kvm_hw_breakpoint *bp_data, in __import_wp_info() argument
179 wp_info->len = bp_data->len; in __import_wp_info()
180 wp_info->addr = bp_data->addr; in __import_wp_info()
181 wp_info->phys_addr = bp_data->phys_addr; in __import_wp_info()
187 wp_info->old_data = kmalloc(bp_data->len, GFP_KERNEL_ACCOUNT); in __import_wp_info()
207 struct kvm_hw_breakpoint *bp_data = NULL; in kvm_s390_import_bp_data() local
216 bp_data = memdup_array_user(dbg->arch.hw_bp, dbg->arch.nr_hw_bp, in kvm_s390_import_bp_data()
217 sizeof(*bp_data)); in kvm_s390_import_bp_data()
218 if (IS_ERR(bp_data)) in kvm_s390_import_bp_data()
219 return PTR_ERR(bp_data); in kvm_s390_import_bp_data()
222 switch (bp_data[i].type) { in kvm_s390_import_bp_data()
254 switch (bp_data[i].type) { in kvm_s390_import_bp_data()
256 ret = __import_wp_info(vcpu, &bp_data[i], in kvm_s390_import_bp_data()
263 bp_info[nr_bp].len = bp_data[i].len; in kvm_s390_import_bp_data()
264 bp_info[nr_bp].addr = bp_data[i].addr; in kvm_s390_import_bp_data()
276 kfree(bp_data); in kvm_s390_import_bp_data()