Lines Matching refs:bp_info
209 struct kvm_hw_bp_info_arch *bp_info = NULL; in kvm_s390_import_bp_data() local
244 bp_info = kmalloc_array(nr_bp, in kvm_s390_import_bp_data()
245 sizeof(*bp_info), in kvm_s390_import_bp_data()
247 if (!bp_info) { 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()
271 vcpu->arch.guestdbg.hw_bp_info = bp_info; in kvm_s390_import_bp_data()
278 kfree(bp_info); in kvm_s390_import_bp_data()
311 #define end_of_range(bp_info) (bp_info->addr + bp_info->len - 1) argument
316 struct kvm_hw_bp_info_arch *bp_info = vcpu->arch.guestdbg.hw_bp_info; in find_hw_bp() local
324 if (addr == bp_info->addr) in find_hw_bp()
326 if (bp_info->len > 0 && in find_hw_bp()
327 in_addr_range(addr, bp_info->addr, end_of_range(bp_info))) in find_hw_bp()
330 bp_info++; in find_hw_bp()
335 return bp_info; in find_hw_bp()
393 struct kvm_hw_bp_info_arch *bp_info = NULL; in debug_exit_required() local
408 bp_info = find_hw_bp(vcpu, addr); in debug_exit_required()
410 if (bp_info && (addr != peraddr)) { in debug_exit_required()
417 bp_info = find_hw_bp(vcpu, peraddr); in debug_exit_required()
418 if (bp_info && vcpu->arch.guestdbg.last_bp != peraddr) { in debug_exit_required()