Searched refs:bp_type (Results 1 - 25 of 41) sorted by path

12

/linux-master/arch/arm/kernel/
H A Dhw_breakpoint.c517 switch (attr->bp_type) {
H A Dptrace.c424 attr.bp_type = type;
532 attr.bp_type = gen_type;
/linux-master/arch/arm64/kernel/
H A Dhw_breakpoint.c418 switch (attr->bp_type) {
H A Dptrace.c311 attr.bp_type = type;
353 attr->bp_type = type;
/linux-master/arch/loongarch/kernel/
H A Dhw_breakpoint.c340 switch (attr->bp_type) {
H A Dkgdb.c650 bp->attr.bp_type = breakinfo[i].type;
691 attr.bp_type = HW_BREAKPOINT_W;
H A Dptrace.c479 attr.bp_type = type;
517 attr->bp_type = type;
1038 attr.bp_type = HW_BREAKPOINT_X;
/linux-master/arch/powerpc/kernel/
H A Dhw_breakpoint.c197 if (attr->bp_type & HW_BREAKPOINT_R)
199 if (attr->bp_type & HW_BREAKPOINT_W)
/linux-master/arch/powerpc/kernel/ptrace/
H A Dptrace-noadv.c133 arch_bp_generic_fields(hw_brk.type, &attr.bp_type);
152 &attr.bp_type);
241 arch_bp_generic_fields(brk.type, &attr.bp_type);
/linux-master/arch/sh/kernel/
H A Dhw_breakpoint.c199 switch (attr->bp_type) {
H A Dptrace_32.c87 attr.bp_type = HW_BREAKPOINT_R;
/linux-master/arch/x86/kernel/
H A Dhw_breakpoint.c346 switch (attr->bp_type) {
H A Dkgdb.c214 bp->attr.bp_type = breakinfo[breakno].type;
652 attr.bp_type = HW_BREAKPOINT_W;
H A Dptrace.c514 int err, bp_len, bp_type; local
516 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type);
519 attr->bp_type = bp_type;
/linux-master/arch/xtensa/kernel/
H A Dhw_breakpoint.c56 switch (attr->bp_type) {
H A Dptrace.c371 if (bp->attr.bp_type & HW_BREAKPOINT_X) {
395 attr.bp_type = type;
435 if (bp->attr.bp_type & HW_BREAKPOINT_R)
437 if (bp->attr.bp_type & HW_BREAKPOINT_W)
456 int bp_type = 0; local
468 bp_type |= HW_BREAKPOINT_R;
470 bp_type |= HW_BREAKPOINT_W;
473 bp_type = HW_BREAKPOINT_X;
478 bp_type ? bp_type
[all...]
/linux-master/drivers/misc/
H A Dkgdbts.c231 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) argument
240 sprintf(scratch_buf, "%s,%lx,%i", bp_type, addr,
/linux-master/include/linux/
H A Dhw_breakpoint.h49 return bp->attr.bp_type;
/linux-master/include/uapi/linux/
H A Dperf_event.h470 __u32 bp_type; member in struct:perf_event_attr
/linux-master/kernel/debug/kdb/
H A Dkdb_bp.c42 if (bp->bp_type < 0 || bp->bp_type > 4)
45 return kdb_rwtypes[bp->bp_type];
56 bp->bp_type = BP_ACCESS_WATCHPOINT;
58 bp->bp_type = BP_WRITE_WATCHPOINT;
60 bp->bp_type = BP_HARDWARE_BREAKPOINT;
97 if (!bp->bp_type)
102 bp->bp_type);
145 if (!bp->bp_type)
150 bp->bp_type);
[all...]
H A Dkdb_private.h157 unsigned int bp_type:4; /* Uses hardware register */ member in struct:_kdb_bp
/linux-master/kernel/events/
H A Dhw_breakpoint.c291 static inline enum bp_type_idx find_slot_idx(u64 bp_type) argument
293 if (bp_type & HW_BREAKPOINT_RW)
339 if (find_slot_idx(iter->attr.bp_type) != type)
572 static int __reserve_bp_slot(struct perf_event *bp, u64 bp_type) argument
583 if (bp_type == HW_BREAKPOINT_EMPTY ||
584 bp_type == HW_BREAKPOINT_INVALID)
587 type = find_slot_idx(bp_type);
601 int ret = __reserve_bp_slot(bp, bp->attr.bp_type);
607 static void __release_bp_slot(struct perf_event *bp, u64 bp_type) argument
612 type = find_slot_idx(bp_type);
[all...]
H A Dhw_breakpoint_test.c41 attr.bp_type = HW_BREAKPOINT_RW;
/linux-master/samples/hw_breakpoint/
H A Ddata_breakpoint.c52 attr.bp_type = HW_BREAKPOINT_W;
/linux-master/tools/include/uapi/linux/
H A Dperf_event.h470 __u32 bp_type; member in struct:perf_event_attr

Completed in 661 milliseconds

12