Home
last modified time | relevance | path

Searched refs:bp_len (Results 1 – 25 of 37) sorted by relevance

12

/linux-6.12.1/arch/x86/kernel/
Dhw_breakpoint.c329 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()
Dptrace.c514 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()
Dkgdb.c213 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/
Dptrace-noadv.c132 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/
Dbp_account.c54 attr->bp_len = is_x ? default_breakpoint_len() : sizeof(long); in __event()
96 attr_mod.bp_len = default_breakpoint_len(); in bp_accounting()
Dbp_signal_overflow.c92 pe.bp_len = default_breakpoint_len(); in test__bp_signal_overflow()
Dbp_signal.c115 pe.bp_len = is_x ? default_breakpoint_len() : sizeof(long); in __event()
Dwp.c52 attr->bp_len = wp_len; in get__perf_event_attr()
Dsigtrap.c45 .bp_len = HW_BREAKPOINT_LEN_1, in make_event_attr()
Dparse-events.c252 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/
Dptrace.c394 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()
Dhw_breakpoint.c74 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
/linux-6.12.1/samples/hw_breakpoint/
Ddata_breakpoint.c51 attr.bp_len = HW_BREAKPOINT_LEN_4; in hw_break_module_init()
/linux-6.12.1/arch/powerpc/kernel/
Dhw_breakpoint.c193 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/
Dhw_breakpoint.h54 return bp->attr.bp_len; in hw_breakpoint_len()
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dperf_skip.c65 attr.bp_len = sizeof(long); in serial_test_perf_skip()
/linux-6.12.1/arch/sh/kernel/
Dhw_breakpoint.c181 switch (attr->bp_len) { in arch_build_bp_info()
/linux-6.12.1/arch/loongarch/kernel/
Dptrace.c478 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()
Dkgdb.c649 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/
Dhw_breakpoint.c756 to->bp_len = from->bp_len; in hw_breakpoint_copy_attr()
Dhw_breakpoint_test.c40 attr.bp_len = HW_BREAKPOINT_LEN_1; in register_test_bp()
/linux-6.12.1/arch/arm/kernel/
Dptrace.c423 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/
Dsigtrap_threads.c59 .bp_len = HW_BREAKPOINT_LEN_1, in make_event_attr()
/linux-6.12.1/tools/perf/bench/
Dbreakpoint.c59 attr.bp_len = HW_BREAKPOINT_LEN_1; in breakpoint_setup()
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dptrace-perf-hwbreak.c130 attr->bp_len = len; in perf_user_event_attr_set()

12