| /linux/arch/xtensa/kernel/ |
| H A D | ptrace.c | 371 if (bp->attr.bp_type & HW_BREAKPOINT_X) { in ptrace_hbptriggered() 395 attr.bp_type = type; in ptrace_hbp_create() 435 if (bp->attr.bp_type & HW_BREAKPOINT_R) in ptrace_gethbpregs() 437 if (bp->attr.bp_type & HW_BREAKPOINT_W) in ptrace_gethbpregs() 456 int bp_type = 0; in ptrace_sethbpregs() local 468 bp_type |= HW_BREAKPOINT_R; in ptrace_sethbpregs() 470 bp_type |= HW_BREAKPOINT_W; in ptrace_sethbpregs() 473 bp_type = HW_BREAKPOINT_X; in ptrace_sethbpregs() 478 bp_type ? bp_type : HW_BREAKPOINT_RW); in ptrace_sethbpregs() 490 attr.bp_type = bp_type; in ptrace_sethbpregs()
|
| H A D | hw_breakpoint.c | 56 switch (attr->bp_type) { in hw_breakpoint_arch_parse()
|
| /linux/arch/powerpc/kernel/ptrace/ |
| H A D | ptrace-noadv.c | 133 arch_bp_generic_fields(hw_brk.type, &attr.bp_type); in ptrace_set_debugreg() 152 &attr.bp_type); in ptrace_set_debugreg() 241 arch_bp_generic_fields(brk.type, &attr.bp_type); in ppc_set_hwdebug()
|
| /linux/tools/perf/tests/ |
| H A D | bp_account.c | 52 attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event() 94 attr_mod.bp_type = HW_BREAKPOINT_X; in bp_accounting()
|
| H A D | wp.c | 50 attr->bp_type = wp_type; in get__perf_event_attr() 69 pr_debug("failed opening event %x\n", attr.bp_type); in __event()
|
| H A D | bp_signal_overflow.c | 90 pe.bp_type = HW_BREAKPOINT_X; in test__bp_signal_overflow()
|
| H A D | bp_signal.c | 113 pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W; in __event()
|
| H A D | parse-events.c | 258 (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == evsel->core.attr.bp_type, in test__checkevent_breakpoint() 271 TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_X == evsel->core.attr.bp_type, evsel); in test__checkevent_breakpoint_x() 284 TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_R == evsel->core.attr.bp_type, evsel); in test__checkevent_breakpoint_r() 296 TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_W == evsel->core.attr.bp_type, evsel); in test__checkevent_breakpoint_w() 309 (HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->core.attr.bp_type, in test__checkevent_breakpoint_rw() 1676 (HW_BREAKPOINT_R | HW_BREAKPOINT_W) == evsel->core.attr.bp_type, in test__checkevent_breakpoint_len() 1690 TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_W == evsel->core.attr.bp_type, evsel); in test__checkevent_breakpoint_len_w()
|
| /linux/samples/hw_breakpoint/ |
| H A D | data_breakpoint.c | 52 attr.bp_type = HW_BREAKPOINT_W; in hw_break_module_init()
|
| /linux/drivers/pmdomain/mediatek/ |
| H A D | mtk-pm-domains.c | 1061 enum scpsys_bus_prot_block bp_type; in scpsys_get_bus_protection_legacy() local 1066 bp_type = bp_blocks[i]; in scpsys_get_bus_protection_legacy() 1067 scpsys->bus_prot_index[bp_type] = j; in scpsys_get_bus_protection_legacy() 1094 enum scpsys_bus_prot_block bp_type; in scpsys_get_bus_protection() local 1106 bp_type = soc->bus_prot_blocks[i]; in scpsys_get_bus_protection() 1107 scpsys->bus_prot_index[bp_type] = i; in scpsys_get_bus_protection()
|
| /linux/arch/powerpc/kernel/ |
| H A D | hw_breakpoint.c | 197 if (attr->bp_type & HW_BREAKPOINT_R) in hw_breakpoint_arch_parse() 199 if (attr->bp_type & HW_BREAKPOINT_W) in hw_breakpoint_arch_parse()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | perf_skip.c | 63 attr.bp_type = HW_BREAKPOINT_X; in serial_test_perf_skip()
|
| /linux/include/linux/ |
| H A D | hw_breakpoint.h | 49 return bp->attr.bp_type; in hw_breakpoint_type()
|
| /linux/arch/x86/kernel/ |
| H A D | ptrace.c | 514 int err, bp_len, bp_type; in ptrace_fill_bp_fields() local 516 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); in ptrace_fill_bp_fields() 519 attr->bp_type = bp_type; in ptrace_fill_bp_fields()
|
| H A D | kgdb.c | 214 bp->attr.bp_type = breakinfo[breakno].type; in kgdb_correct_hw_break() 652 attr.bp_type = HW_BREAKPOINT_W; in kgdb_arch_late()
|
| /linux/arch/sh/kernel/ |
| H A D | hw_breakpoint.c | 199 switch (attr->bp_type) { in arch_build_bp_info()
|
| H A D | ptrace_32.c | 87 attr.bp_type = HW_BREAKPOINT_R; in set_single_step()
|
| /linux/arch/loongarch/kernel/ |
| H A D | ptrace.c | 479 attr.bp_type = type; in ptrace_hbp_create() 504 attr->bp_type = type; in ptrace_hbp_fill_attr_ctrl() 1053 attr.bp_type = HW_BREAKPOINT_X; in set_single_step()
|
| /linux/drivers/misc/ |
| H A D | kgdbts.c | 231 static void break_helper(char *bp_type, char *arg, unsigned long vaddr) in break_helper() argument 240 sprintf(scratch_buf, "%s,%lx,%i", bp_type, addr, in break_helper()
|
| /linux/arch/arm/kernel/ |
| H A D | ptrace.c | 424 attr.bp_type = type; in ptrace_hbp_create() 532 attr.bp_type = gen_type; in ptrace_sethbpregs()
|
| /linux/tools/testing/selftests/perf_events/ |
| H A D | sigtrap_threads.c | 58 .bp_type = HW_BREAKPOINT_RW, in make_event_attr()
|
| /linux/tools/perf/bench/ |
| H A D | breakpoint.c | 58 attr.bp_type = HW_BREAKPOINT_RW; in breakpoint_setup()
|
| /linux/tools/testing/selftests/powerpc/ptrace/ |
| H A D | ptrace-perf-hwbreak.c | 128 attr->bp_type = HW_BREAKPOINT_R; in perf_user_event_attr_set()
|
| /linux/kernel/events/ |
| H A D | hw_breakpoint_test.c | 41 attr.bp_type = HW_BREAKPOINT_RW; in register_test_bp()
|
| /linux/tools/perf/util/ |
| H A D | parse-events.c | 609 if (attr->bp_type & bit) \ in parse_breakpoint_type() 612 attr->bp_type |= bit; \ in parse_breakpoint_type() 632 if (!attr->bp_type) /* Default */ in parse_breakpoint_type() 633 attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W; in parse_breakpoint_type() 655 if (attr.bp_type == HW_BREAKPOINT_X) in parse_events_add_breakpoint()
|