/linux-6.12.1/arch/x86/kernel/ |
D | hw_breakpoint.c | 329 bp_end = attr->bp_addr + attr->bp_len - 1; in arch_build_bp_info() 370 if (attr->bp_len == sizeof(long)) { in arch_build_bp_info() 380 switch (attr->bp_len) { in arch_build_bp_info() 397 if (!is_power_of_2(attr->bp_len)) in arch_build_bp_info() 399 if (attr->bp_addr & (attr->bp_len - 1)) in arch_build_bp_info() 412 hw->mask = attr->bp_len - 1; in arch_build_bp_info()
|
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() 518 attr->bp_len = bp_len; in ptrace_fill_bp_fields()
|
D | kgdb.c | 213 bp->attr.bp_len = breakinfo[breakno].len; in kgdb_correct_hw_break() 651 attr.bp_len = HW_BREAKPOINT_LEN_1; in kgdb_arch_late()
|
/linux-6.12.1/arch/powerpc/kernel/ptrace/ |
D | ptrace-noadv.c | 132 attr.bp_len = DABR_MAX_LEN; in ptrace_set_debugreg() 150 attr.bp_len = DABR_MAX_LEN; in ptrace_set_debugreg() 240 attr.bp_len = len; in ppc_set_hwdebug()
|
/linux-6.12.1/tools/perf/tests/ |
D | bp_account.c | 54 attr->bp_len = is_x ? default_breakpoint_len() : sizeof(long); in __event() 96 attr_mod.bp_len = default_breakpoint_len(); in bp_accounting()
|
D | bp_signal_overflow.c | 92 pe.bp_len = default_breakpoint_len(); in test__bp_signal_overflow()
|
D | bp_signal.c | 115 pe.bp_len = is_x ? default_breakpoint_len() : sizeof(long); in __event()
|
D | wp.c | 52 attr->bp_len = wp_len; in get__perf_event_attr()
|
D | sigtrap.c | 45 .bp_len = HW_BREAKPOINT_LEN_1, in make_event_attr()
|
D | parse-events.c | 252 evsel->core.attr.bp_len); in test__checkevent_breakpoint() 265 TEST_ASSERT_VAL("wrong bp_len", default_breakpoint_len() == evsel->core.attr.bp_len); in test__checkevent_breakpoint_x() 280 HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len); in test__checkevent_breakpoint_r() 295 HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len); in test__checkevent_breakpoint_w() 310 HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len); in test__checkevent_breakpoint_rw() 1648 evsel->core.attr.bp_len); in test__checkevent_breakpoint_len() 1663 evsel->core.attr.bp_len); in test__checkevent_breakpoint_len_w()
|
/linux-6.12.1/arch/xtensa/kernel/ |
D | ptrace.c | 394 attr.bp_len = 1; in ptrace_hbp_create() 433 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs() 489 attr.bp_len = user_data[1] & ~(DBREAKC_LOAD_MASK | DBREAKC_STOR_MASK); in ptrace_sethbpregs() 491 attr.disabled = !attr.bp_len; in ptrace_sethbpregs()
|
D | hw_breakpoint.c | 74 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
|
/linux-6.12.1/samples/hw_breakpoint/ |
D | data_breakpoint.c | 51 attr.bp_len = HW_BREAKPOINT_LEN_4; in hw_break_module_init()
|
/linux-6.12.1/arch/powerpc/kernel/ |
D | hw_breakpoint.c | 193 if (!bp || !attr->bp_len) in hw_breakpoint_arch_parse() 211 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
|
/linux-6.12.1/include/linux/ |
D | hw_breakpoint.h | 54 return bp->attr.bp_len; in hw_breakpoint_len()
|
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/ |
D | perf_skip.c | 65 attr.bp_len = sizeof(long); in serial_test_perf_skip()
|
/linux-6.12.1/arch/sh/kernel/ |
D | hw_breakpoint.c | 181 switch (attr->bp_len) { in arch_build_bp_info()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | ptrace.c | 478 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create() 503 attr->bp_len = len; in ptrace_hbp_fill_attr_ctrl() 1047 attr.bp_len = HW_BREAKPOINT_LEN_8; in set_single_step()
|
D | kgdb.c | 649 bp->attr.bp_len = breakinfo[i].len; in kgdb_correct_hw_break() 690 attr.bp_len = HW_BREAKPOINT_LEN_4; in kgdb_arch_late()
|
/linux-6.12.1/kernel/events/ |
D | hw_breakpoint.c | 756 to->bp_len = from->bp_len; in hw_breakpoint_copy_attr()
|
D | hw_breakpoint_test.c | 40 attr.bp_len = HW_BREAKPOINT_LEN_1; in register_test_bp()
|
/linux-6.12.1/arch/arm/kernel/ |
D | ptrace.c | 423 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create() 531 attr.bp_len = gen_len; in ptrace_sethbpregs()
|
/linux-6.12.1/tools/testing/selftests/perf_events/ |
D | sigtrap_threads.c | 59 .bp_len = HW_BREAKPOINT_LEN_1, in make_event_attr()
|
/linux-6.12.1/tools/perf/bench/ |
D | breakpoint.c | 59 attr.bp_len = HW_BREAKPOINT_LEN_1; in breakpoint_setup()
|
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/ |
D | ptrace-perf-hwbreak.c | 130 attr->bp_len = len; in perf_user_event_attr_set()
|