bp_info 2528 arch/powerpc/kernel/ptrace.c struct ppc_hw_breakpoint *bp_info) bp_info 2541 arch/powerpc/kernel/ptrace.c if (bp_info->addr >= TASK_SIZE) bp_info 2544 arch/powerpc/kernel/ptrace.c if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) { bp_info 2547 arch/powerpc/kernel/ptrace.c if (bp_info->addr2 >= TASK_SIZE) bp_info 2553 arch/powerpc/kernel/ptrace.c child->thread.debug.iac1 = bp_info->addr; bp_info 2554 arch/powerpc/kernel/ptrace.c child->thread.debug.iac2 = bp_info->addr2; bp_info 2556 arch/powerpc/kernel/ptrace.c if (bp_info->addr_mode == bp_info 2564 arch/powerpc/kernel/ptrace.c child->thread.debug.iac3 = bp_info->addr; bp_info 2565 arch/powerpc/kernel/ptrace.c child->thread.debug.iac4 = bp_info->addr2; bp_info 2567 arch/powerpc/kernel/ptrace.c if (bp_info->addr_mode == bp_info 2586 arch/powerpc/kernel/ptrace.c child->thread.debug.iac1 = bp_info->addr; bp_info 2593 arch/powerpc/kernel/ptrace.c child->thread.debug.iac2 = bp_info->addr; bp_info 2598 arch/powerpc/kernel/ptrace.c child->thread.debug.iac3 = bp_info->addr; bp_info 2602 arch/powerpc/kernel/ptrace.c child->thread.debug.iac4 = bp_info->addr; bp_info 2670 arch/powerpc/kernel/ptrace.c static int set_dac(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) bp_info 2673 arch/powerpc/kernel/ptrace.c (bp_info->condition_mode >> PPC_BREAKPOINT_CONDITION_BE_SHIFT) bp_info 2676 arch/powerpc/kernel/ptrace.c bp_info->condition_mode & PPC_BREAKPOINT_CONDITION_MODE; bp_info 2682 arch/powerpc/kernel/ptrace.c if (bp_info->addr >= TASK_SIZE) bp_info 2687 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_READ) bp_info 2689 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_WRITE) bp_info 2691 arch/powerpc/kernel/ptrace.c child->thread.debug.dac1 = (unsigned long)bp_info->addr; bp_info 2695 arch/powerpc/kernel/ptrace.c (unsigned long)bp_info->condition_value; bp_info 2708 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_READ) bp_info 2710 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_WRITE) bp_info 2712 arch/powerpc/kernel/ptrace.c child->thread.debug.dac2 = (unsigned long)bp_info->addr; bp_info 2716 arch/powerpc/kernel/ptrace.c (unsigned long)bp_info->condition_value; bp_info 2772 arch/powerpc/kernel/ptrace.c struct ppc_hw_breakpoint *bp_info) bp_info 2774 arch/powerpc/kernel/ptrace.c int mode = bp_info->addr_mode & PPC_BREAKPOINT_MODE_MASK; bp_info 2777 arch/powerpc/kernel/ptrace.c if (bp_info->condition_mode) bp_info 2786 arch/powerpc/kernel/ptrace.c if (bp_info->addr >= TASK_SIZE) bp_info 2793 arch/powerpc/kernel/ptrace.c if (~((unsigned long)bp_info->addr2) >= TASK_SIZE) bp_info 2799 arch/powerpc/kernel/ptrace.c if (bp_info->addr2 >= TASK_SIZE) bp_info 2807 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_READ) bp_info 2809 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_WRITE) bp_info 2811 arch/powerpc/kernel/ptrace.c child->thread.debug.dac1 = bp_info->addr; bp_info 2812 arch/powerpc/kernel/ptrace.c child->thread.debug.dac2 = bp_info->addr2; bp_info 2826 arch/powerpc/kernel/ptrace.c struct ppc_hw_breakpoint *bp_info) bp_info 2838 arch/powerpc/kernel/ptrace.c if (bp_info->version != 1) bp_info 2844 arch/powerpc/kernel/ptrace.c if ((bp_info->trigger_type == 0) || bp_info 2845 arch/powerpc/kernel/ptrace.c (bp_info->trigger_type & ~(PPC_BREAKPOINT_TRIGGER_EXECUTE | bp_info 2847 arch/powerpc/kernel/ptrace.c (bp_info->addr_mode & ~PPC_BREAKPOINT_MODE_MASK) || bp_info 2848 arch/powerpc/kernel/ptrace.c (bp_info->condition_mode & bp_info 2853 arch/powerpc/kernel/ptrace.c if (bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE) bp_info 2857 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_EXECUTE) { bp_info 2858 arch/powerpc/kernel/ptrace.c if ((bp_info->trigger_type != PPC_BREAKPOINT_TRIGGER_EXECUTE) || bp_info 2859 arch/powerpc/kernel/ptrace.c (bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE)) bp_info 2861 arch/powerpc/kernel/ptrace.c return set_instruction_bp(child, bp_info); bp_info 2863 arch/powerpc/kernel/ptrace.c if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT) bp_info 2864 arch/powerpc/kernel/ptrace.c return set_dac(child, bp_info); bp_info 2867 arch/powerpc/kernel/ptrace.c return set_dac_range(child, bp_info); bp_info 2875 arch/powerpc/kernel/ptrace.c if ((bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_RW) == 0 || bp_info 2876 arch/powerpc/kernel/ptrace.c (bp_info->trigger_type & ~PPC_BREAKPOINT_TRIGGER_RW) != 0 || bp_info 2877 arch/powerpc/kernel/ptrace.c bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE) bp_info 2880 arch/powerpc/kernel/ptrace.c if ((unsigned long)bp_info->addr >= TASK_SIZE) bp_info 2883 arch/powerpc/kernel/ptrace.c brk.address = bp_info->addr & ~7UL; bp_info 2886 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_READ) bp_info 2888 arch/powerpc/kernel/ptrace.c if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_WRITE) bp_info 2895 arch/powerpc/kernel/ptrace.c if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE) bp_info 2896 arch/powerpc/kernel/ptrace.c len = bp_info->addr2 - bp_info->addr; bp_info 2897 arch/powerpc/kernel/ptrace.c else if (bp_info->addr_mode == PPC_BREAKPOINT_MODE_EXACT) bp_info 2907 arch/powerpc/kernel/ptrace.c attr.bp_addr = (unsigned long)bp_info->addr & ~HW_BREAKPOINT_ALIGN; bp_info 2921 arch/powerpc/kernel/ptrace.c if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) bp_info 3105 arch/powerpc/kernel/ptrace.c struct ppc_hw_breakpoint bp_info; bp_info 3107 arch/powerpc/kernel/ptrace.c if (copy_from_user(&bp_info, datavp, bp_info 3110 arch/powerpc/kernel/ptrace.c return ppc_set_hwdebug(child, &bp_info); bp_info 209 arch/s390/kvm/guestdbg.c struct kvm_hw_bp_info_arch *bp_info = NULL; bp_info 244 arch/s390/kvm/guestdbg.c bp_info = kmalloc_array(nr_bp, bp_info 245 arch/s390/kvm/guestdbg.c sizeof(*bp_info), bp_info 247 arch/s390/kvm/guestdbg.c if (!bp_info) { bp_info 263 arch/s390/kvm/guestdbg.c bp_info[nr_bp].len = bp_data[i].len; bp_info 264 arch/s390/kvm/guestdbg.c bp_info[nr_bp].addr = bp_data[i].addr; bp_info 271 arch/s390/kvm/guestdbg.c vcpu->arch.guestdbg.hw_bp_info = bp_info; bp_info 278 arch/s390/kvm/guestdbg.c kfree(bp_info); bp_info 311 arch/s390/kvm/guestdbg.c #define end_of_range(bp_info) (bp_info->addr + bp_info->len - 1) bp_info 316 arch/s390/kvm/guestdbg.c struct kvm_hw_bp_info_arch *bp_info = vcpu->arch.guestdbg.hw_bp_info; bp_info 324 arch/s390/kvm/guestdbg.c if (addr == bp_info->addr) bp_info 326 arch/s390/kvm/guestdbg.c if (bp_info->len > 0 && bp_info 327 arch/s390/kvm/guestdbg.c in_addr_range(addr, bp_info->addr, end_of_range(bp_info))) bp_info 330 arch/s390/kvm/guestdbg.c bp_info++; bp_info 335 arch/s390/kvm/guestdbg.c return bp_info; bp_info 393 arch/s390/kvm/guestdbg.c struct kvm_hw_bp_info_arch *bp_info = NULL; bp_info 408 arch/s390/kvm/guestdbg.c bp_info = find_hw_bp(vcpu, addr); bp_info 410 arch/s390/kvm/guestdbg.c if (bp_info && (addr != peraddr)) { bp_info 417 arch/s390/kvm/guestdbg.c bp_info = find_hw_bp(vcpu, peraddr); bp_info 418 arch/s390/kvm/guestdbg.c if (bp_info && vcpu->arch.guestdbg.last_bp != peraddr) { bp_info 53 arch/x86/kernel/hw_breakpoint.c unsigned long bp_info; bp_info 55 arch/x86/kernel/hw_breakpoint.c bp_info = (len | type) & 0xf; bp_info 56 arch/x86/kernel/hw_breakpoint.c bp_info <<= (DR_CONTROL_SHIFT + drnum * DR_CONTROL_SIZE); bp_info 57 arch/x86/kernel/hw_breakpoint.c bp_info |= (DR_GLOBAL_ENABLE << (drnum * DR_ENABLE_SIZE)); bp_info 59 arch/x86/kernel/hw_breakpoint.c return bp_info; bp_info 77 arch/x86/kernel/hw_breakpoint.c int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); bp_info 79 arch/x86/kernel/hw_breakpoint.c *len = (bp_info & 0xc) | 0x40; bp_info 80 arch/x86/kernel/hw_breakpoint.c *type = (bp_info & 0x3) | 0x80;