Home
last modified time | relevance | path

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

/Linux-v4.19/arch/s390/kvm/
Dguestdbg.c209 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
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Dptrace.c2515 struct ppc_hw_breakpoint *bp_info) in set_instruction_bp() argument
2528 if (bp_info->addr >= TASK_SIZE) in set_instruction_bp()
2531 if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) { in set_instruction_bp()
2534 if (bp_info->addr2 >= TASK_SIZE) in set_instruction_bp()
2540 child->thread.debug.iac1 = bp_info->addr; in set_instruction_bp()
2541 child->thread.debug.iac2 = bp_info->addr2; in set_instruction_bp()
2543 if (bp_info->addr_mode == in set_instruction_bp()
2551 child->thread.debug.iac3 = bp_info->addr; in set_instruction_bp()
2552 child->thread.debug.iac4 = bp_info->addr2; in set_instruction_bp()
2554 if (bp_info->addr_mode == in set_instruction_bp()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dhw_breakpoint.c65 unsigned long bp_info; in __encode_dr7() local
67 bp_info = (len | type) & 0xf; in __encode_dr7()
68 bp_info <<= (DR_CONTROL_SHIFT + drnum * DR_CONTROL_SIZE); in __encode_dr7()
69 bp_info |= (DR_GLOBAL_ENABLE << (drnum * DR_ENABLE_SIZE)); in __encode_dr7()
71 return bp_info; in __encode_dr7()
89 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); in decode_dr7() local
91 *len = (bp_info & 0xc) | 0x40; in decode_dr7()
92 *type = (bp_info & 0x3) | 0x80; in decode_dr7()