/arch/tile/lib/ |
H A D | cpumask.c | 25 int bitmap_parselist_crop(const char *bp, unsigned long *maskp, int nmaskbits) argument 31 if (!isdigit(*bp)) 33 a = simple_strtoul(bp, (char **)&bp, 10); 35 if (*bp == '-') { 36 bp++; 37 if (!isdigit(*bp)) 39 b = simple_strtoul(bp, (char **)&bp, 10); 49 if (*bp [all...] |
/arch/x86/include/asm/ |
H A D | frame.h | 11 __ASM_SIZE(push,_cfi) %__ASM_REG(bp) 12 CFI_REL_OFFSET __ASM_REG(bp), 0 13 __ASM_SIZE(mov) %__ASM_REG(sp), %__ASM_REG(bp) 16 __ASM_SIZE(pop,_cfi) %__ASM_REG(bp) 17 CFI_RESTORE __ASM_REG(bp)
|
H A D | stacktrace.h | 19 unsigned long bp, 27 unsigned long *stack, unsigned long bp, 33 unsigned long *stack, unsigned long bp, 47 unsigned long *stack, unsigned long bp, 52 #define get_bp(bp) asm("movl %%ebp, %0" : "=r" (bp) :) 55 #define get_bp(bp) asm("movq %%rbp, %0" : "=r" (bp) :) 62 unsigned long bp; local 65 return regs->bp; [all...] |
H A D | hw_breakpoint.h | 53 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 54 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 59 int arch_install_hw_breakpoint(struct perf_event *bp); 60 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 61 void hw_breakpoint_pmu_read(struct perf_event *bp); 62 void hw_breakpoint_pmu_unthrottle(struct perf_event *bp); 65 arch_fill_perf_breakpoint(struct perf_event *bp);
|
H A D | sigcontext.h | 14 unsigned long bp; member in struct:sigcontext 51 unsigned long bp; member in struct:sigcontext
|
/arch/powerpc/sysdev/ |
H A D | grackle.c | 30 static inline void grackle_set_stg(struct pci_controller* bp, int enable) argument 34 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 35 val = in_le32(bp->cfg_data); 38 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 39 out_le32(bp->cfg_data, val); 40 (void)in_le32(bp->cfg_data); 43 static inline void grackle_set_loop_snoop(struct pci_controller *bp, int enable) argument 47 out_be32(bp->cfg_addr, GRACKLE_CFA(0, 0, 0xa8)); 48 val = in_le32(bp->cfg_data); 51 out_be32(bp [all...] |
/arch/powerpc/kernel/ |
H A D | hw_breakpoint.c | 63 int arch_install_hw_breakpoint(struct perf_event *bp) argument 65 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 68 *slot = bp; 74 if (current->thread.last_hit_ubp != bp) 89 void arch_uninstall_hw_breakpoint(struct perf_event *bp) argument 93 if (*slot != bp) { 106 void arch_unregister_hw_breakpoint(struct perf_event *bp) argument 113 if (bp->ctx && bp->ctx->task) 114 bp 120 arch_check_bp_in_kernelspace(struct perf_event *bp) argument 142 arch_validate_hwbkpt_settings(struct perf_event *bp) argument 211 struct perf_event *bp; local 299 struct perf_event *bp = NULL; local 363 hw_breakpoint_pmu_read(struct perf_event *bp) argument [all...] |
/arch/sh/include/asm/ |
H A D | hw_breakpoint.h | 56 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 57 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 61 int arch_install_hw_breakpoint(struct perf_event *bp); 62 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 63 void hw_breakpoint_pmu_read(struct perf_event *bp); 65 extern void arch_fill_perf_breakpoint(struct perf_event *bp);
|
/arch/x86/um/asm/ |
H A D | processor_64.h | 38 #define current_bp() ({ unsigned long bp; __asm__("movq %%rbp, %0" : "=r" (bp) : ); bp; })
|
H A D | processor_32.h | 59 #define current_bp() ({ unsigned long bp; __asm__("movl %%ebp, %0" : "=r" (bp) : ); bp; })
|
/arch/powerpc/include/asm/ |
H A D | hw_breakpoint.h | 63 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 64 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 67 int arch_install_hw_breakpoint(struct perf_event *bp); 68 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 69 void hw_breakpoint_pmu_read(struct perf_event *bp); 73 extern void ptrace_triggered(struct perf_event *bp,
|
/arch/sh/kernel/ |
H A D | hw_breakpoint.c | 49 int arch_install_hw_breakpoint(struct perf_event *bp) argument 51 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 58 *slot = bp; 81 void arch_uninstall_hw_breakpoint(struct perf_event *bp) argument 83 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 89 if (*slot == bp) { 126 int arch_check_bp_in_kernelspace(struct perf_event *bp) argument 130 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 176 static int arch_build_bp_info(struct perf_event *bp) argument 178 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 221 arch_validate_hwbkpt_settings(struct perf_event *bp) argument 284 struct perf_event *bp; local 404 hw_breakpoint_pmu_read(struct perf_event *bp) argument [all...] |
/arch/x86/kernel/ |
H A D | hw_breakpoint.c | 104 int arch_install_hw_breakpoint(struct perf_event *bp) argument 106 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 114 *slot = bp; 142 void arch_uninstall_hw_breakpoint(struct perf_event *bp) argument 144 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 151 if (*slot == bp) { 192 int arch_check_bp_in_kernelspace(struct perf_event *bp) argument 196 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 250 static int arch_build_bp_info(struct perf_event *bp) argument 252 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 304 arch_validate_hwbkpt_settings(struct perf_event *bp) argument 358 struct perf_event *bp; local 429 struct perf_event *bp; local 522 hw_breakpoint_pmu_read(struct perf_event *bp) argument [all...] |
H A D | dumpstack.c | 95 unsigned long *stack, unsigned long bp, 99 struct stack_frame *frame = (struct stack_frame *)bp; 106 if ((unsigned long) stack == bp + sizeof(long)) { 109 bp = (unsigned long) frame; 117 return bp; 123 unsigned long *stack, unsigned long bp, 127 struct stack_frame *frame = (struct stack_frame *)bp; 170 unsigned long *stack, unsigned long bp, char *log_lvl) 173 dump_trace(task, regs, stack, bp, &print_trace_ops, log_lvl); 177 unsigned long *stack, unsigned long bp) 94 print_context_stack(struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) argument 122 print_context_stack_bp(struct thread_info *tinfo, unsigned long *stack, unsigned long bp, const struct stacktrace_ops *ops, void *data, unsigned long *end, int *graph) argument 169 show_trace_log_lvl(struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp, char *log_lvl) argument 176 show_trace(struct task_struct *task, struct pt_regs *regs, unsigned long *stack, unsigned long bp) argument 184 unsigned long bp = 0; local [all...] |
/arch/um/kernel/ |
H A D | stacktrace.c | 24 unsigned long *sp, bp, addr; local 28 bp = get_frame_pointer(tsk, segv_regs); 31 frame = (struct stack_frame *)bp; 36 if ((unsigned long) sp == bp + sizeof(long)) { 38 bp = (unsigned long)frame;
|
H A D | sysrq.c | 32 unsigned long *sp = stack, bp = 0; local 43 bp = get_frame_pointer(task, segv_regs);
|
/arch/arm/mach-mv78xx0/ |
H A D | Makefile | 2 obj-$(CONFIG_MACH_DB78X00_BP) += db78x00-bp-setup.o
|
/arch/blackfin/lib/ |
H A D | strcpy.S | 32 if cc jump 1b (bp);
|
/arch/arm64/include/asm/ |
H A D | hw_breakpoint.h | 111 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 112 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 116 extern int arch_install_hw_breakpoint(struct perf_event *bp); 117 extern void arch_uninstall_hw_breakpoint(struct perf_event *bp); 118 extern void hw_breakpoint_pmu_read(struct perf_event *bp);
|
/arch/sparc/kernel/ |
H A D | chmc.c | 486 static int chmc_bank_match(struct chmc_bank_info *bp, unsigned long phys_addr) argument 492 if (bp->valid == 0) 496 upper_bits ^= bp->um; /* What bits are different? */ 498 upper_bits |= bp->uk; /* What bits don't matter for matching? */ 505 lower_bits ^= bp->lm; /* What bits are different? */ 507 lower_bits |= bp->lk; /* What bits don't matter for matching? */ 526 struct chmc_bank_info *bp; local 528 bp = &p->logical_banks[bank_no]; 529 if (chmc_bank_match(bp, phys_addr)) 530 return bp; 542 struct chmc_bank_info *bp; local 631 struct chmc_bank_info *bp = &p->logical_banks[which_bank]; local [all...] |
/arch/arm/kernel/ |
H A D | hw_breakpoint.c | 334 int arch_install_hw_breakpoint(struct perf_event *bp) argument 336 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 362 *slot = bp; 391 void arch_uninstall_hw_breakpoint(struct perf_event *bp) argument 393 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 413 if (*slot == bp) { 458 * Check whether bp virtual address is in kernel space. 460 int arch_check_bp_in_kernelspace(struct perf_event *bp) argument 464 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 522 static int arch_build_bp_info(struct perf_event *bp) argument 595 arch_validate_hwbkpt_settings(struct perf_event *bp) argument 671 enable_single_step(struct perf_event *bp, u32 addr) argument 685 disable_single_step(struct perf_event *bp) argument 802 struct perf_event *bp, **slots; local 1123 hw_breakpoint_pmu_read(struct perf_event *bp) argument [all...] |
/arch/arm64/kernel/ |
H A D | hw_breakpoint.c | 185 * @bp: perf_event to setup 194 struct perf_event *bp, 205 *slot = bp; 210 if (*slot == bp) { 216 if (*slot == bp) 227 static int hw_breakpoint_control(struct perf_event *bp, argument 230 struct arch_hw_breakpoint *info = counter_arch_bp(bp); 253 i = hw_breakpoint_slot_setup(slots, max_slots, bp, ops); 293 int arch_install_hw_breakpoint(struct perf_event *bp) argument 295 return hw_breakpoint_control(bp, HW_BREAKPOINT_INSTAL 193 hw_breakpoint_slot_setup(struct perf_event **slots, int max_slots, struct perf_event *bp, enum hw_breakpoint_ops ops) argument 298 arch_uninstall_hw_breakpoint(struct perf_event *bp) argument 328 arch_check_bp_in_kernelspace(struct perf_event *bp) argument 390 arch_build_bp_info(struct perf_event *bp) argument 473 arch_validate_hwbkpt_settings(struct perf_event *bp) argument 586 struct perf_event *bp, **slots; local 943 hw_breakpoint_pmu_read(struct perf_event *bp) argument [all...] |
/arch/m68k/include/asm/ |
H A D | io_no.h | 61 unsigned char *bp = (unsigned char *) buf; local 63 *ap = *bp++; 69 unsigned short *bp = (unsigned short *) buf; local 71 *ap = _swapw(*bp++); 77 unsigned int *bp = (unsigned int *) buf; local 79 *ap = _swapl(*bp++); 85 unsigned char *bp = (unsigned char *) buf; local 87 *bp++ = *ap; 93 unsigned short *bp = (unsigned short *) buf; local 95 *bp 101 unsigned int *bp = (unsigned int *) buf; local [all...] |
/arch/ia64/hp/sim/boot/ |
H A D | fw-emu.c | 241 struct ia64_boot_param *bp; local 268 bp = (void *) cp; cp += sizeof(*bp); 360 bp->efi_systab = __pa(&fw_mem); 361 bp->efi_memmap = __pa(efi_memmap); 362 bp->efi_memmap_size = NUM_MEM_DESCS*sizeof(efi_memory_desc_t); 363 bp->efi_memdesc_size = sizeof(efi_memory_desc_t); 364 bp->efi_memdesc_version = 1; 365 bp->command_line = __pa(cmd_line); 366 bp [all...] |
/arch/arm/include/asm/ |
H A D | hw_breakpoint.h | 120 extern int arch_check_bp_in_kernelspace(struct perf_event *bp); 121 extern int arch_validate_hwbkpt_settings(struct perf_event *bp); 129 int arch_install_hw_breakpoint(struct perf_event *bp); 130 void arch_uninstall_hw_breakpoint(struct perf_event *bp); 131 void hw_breakpoint_pmu_read(struct perf_event *bp);
|