Searched refs:bp_info (Results 1 - 7 of 7) sorted by relevance
/linux-master/arch/powerpc/kernel/ptrace/ |
H A D | ptrace-adv.c | 141 struct ppc_hw_breakpoint *bp_info) 154 if (bp_info->addr >= TASK_SIZE) 157 if (bp_info->addr_mode != PPC_BREAKPOINT_MODE_EXACT) { 159 if (bp_info->addr2 >= TASK_SIZE) 165 child->thread.debug.iac1 = bp_info->addr; 166 child->thread.debug.iac2 = bp_info->addr2; 168 if (bp_info->addr_mode == 176 child->thread.debug.iac3 = bp_info->addr; 177 child->thread.debug.iac4 = bp_info->addr2; 179 if (bp_info 140 set_instruction_bp(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument 284 set_dac(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument 386 set_dac_range(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument 440 ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument [all...] |
H A D | ptrace-noadv.c | 193 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info) argument 204 if (bp_info->version != 1) 209 if ((bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_RW) == 0 || 210 (bp_info->trigger_type & ~PPC_BREAKPOINT_TRIGGER_RW) != 0 || 211 bp_info->condition_mode != PPC_BREAKPOINT_CONDITION_NONE) 214 if ((unsigned long)bp_info->addr >= TASK_SIZE) 217 brk.address = ALIGN_DOWN(bp_info->addr, HW_BREAKPOINT_SIZE); 221 if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_READ) 223 if (bp_info->trigger_type & PPC_BREAKPOINT_TRIGGER_WRITE) 226 if (bp_info [all...] |
H A D | ptrace.c | 98 struct ppc_hw_breakpoint bp_info; local 100 if (copy_from_user(&bp_info, datavp, 103 return ppc_set_hwdebug(child, &bp_info);
|
H A D | ptrace-decl.h | 182 long ppc_set_hwdebug(struct task_struct *child, struct ppc_hw_breakpoint *bp_info);
|
/linux-master/arch/s390/kvm/ |
H A D | guestdbg.c | 209 struct kvm_hw_bp_info_arch *bp_info = NULL; local 244 bp_info = kmalloc_array(nr_bp, 245 sizeof(*bp_info), 247 if (!bp_info) { 263 bp_info[nr_bp].len = bp_data[i].len; 264 bp_info[nr_bp].addr = bp_data[i].addr; 271 vcpu->arch.guestdbg.hw_bp_info = bp_info; 278 kfree(bp_info); 311 #define end_of_range(bp_info) (bp_info 316 struct kvm_hw_bp_info_arch *bp_info = vcpu->arch.guestdbg.hw_bp_info; local 393 struct kvm_hw_bp_info_arch *bp_info = NULL; local [all...] |
/linux-master/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-perf-hwbreak.c | 74 static long ppc_ptrace_sethwdbg(pid_t pid, struct ppc_hw_breakpoint *bp_info) argument 76 return sys_ptrace(PPC_PTRACE_SETHWDEBUG, pid, 0, (unsigned long)bp_info); 227 struct ppc_hw_breakpoint bp_info; /* ptrace breakpoint info */ local 255 ppc_ptrace_init_breakpoint(&bp_info, PPC_BREAKPOINT_TRIGGER_READ, &value, sizeof(value)); 256 bp_id = ppc_ptrace_sethwdbg(pid, &bp_info); 290 bp_id = ppc_ptrace_sethwdbg(pid, &bp_info); 333 bp_id = ppc_ptrace_sethwdbg(pid, &bp_info); 381 struct ppc_hw_breakpoint bp_info; /* ptrace breakpoint info */ local 414 ppc_ptrace_init_breakpoint(&bp_info, PPC_BREAKPOINT_TRIGGER_READ, 416 bp_id = ppc_ptrace_sethwdbg(pid, &bp_info); [all...] |
/linux-master/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 55 unsigned long bp_info; local 57 bp_info = (len | type) & 0xf; 58 bp_info <<= (DR_CONTROL_SHIFT + drnum * DR_CONTROL_SIZE); 59 bp_info |= (DR_GLOBAL_ENABLE << (drnum * DR_ENABLE_SIZE)); 61 return bp_info; 79 int bp_info = dr7 >> (DR_CONTROL_SHIFT + bpnum * DR_CONTROL_SIZE); local 81 *len = (bp_info & 0xc) | 0x40; 82 *type = (bp_info & 0x3) | 0x80;
|
Completed in 366 milliseconds