Home
last modified time | relevance | path

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

12

/Linux-v5.4/tools/testing/selftests/powerpc/ptrace/
Dperf-hwbreak.c57 attr.bp_len = len; in breakpoint_test()
103 attr.bp_len = sizeof(int); in runtestsingle()
105 attr.bp_len = DAWR_LENGTH_MAX; in runtestsingle()
/Linux-v5.4/arch/x86/kernel/
Dhw_breakpoint.c262 if (attr->bp_len == sizeof(long)) { in arch_build_bp_info()
272 switch (attr->bp_len) { in arch_build_bp_info()
289 if (!is_power_of_2(attr->bp_len)) in arch_build_bp_info()
291 if (attr->bp_addr & (attr->bp_len - 1)) in arch_build_bp_info()
304 hw->mask = attr->bp_len - 1; in arch_build_bp_info()
Dptrace.c518 int err, bp_len, bp_type; in ptrace_fill_bp_fields() local
520 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); in ptrace_fill_bp_fields()
522 attr->bp_len = bp_len; in ptrace_fill_bp_fields()
Dkgdb.c213 bp->attr.bp_len = breakinfo[breakno].len; in kgdb_correct_hw_break()
650 attr.bp_len = HW_BREAKPOINT_LEN_1; in kgdb_arch_late()
/Linux-v5.4/arch/powerpc/kernel/
Dhw_breakpoint.c156 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
171 ((attr->bp_addr + attr->bp_len - 1) >> 9)) in hw_breakpoint_arch_parse()
296 (dar - bp->attr.bp_addr < bp->attr.bp_len))) in hw_breakpoint_handler()
/Linux-v5.4/arch/xtensa/kernel/
Dptrace.c395 attr.bp_len = 1; in ptrace_hbp_create()
434 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs()
490 attr.bp_len = user_data[1] & ~(DBREAKC_LOAD_MASK | DBREAKC_STOR_MASK); in ptrace_sethbpregs()
492 attr.disabled = !attr.bp_len; in ptrace_sethbpregs()
Dhw_breakpoint.c73 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
/Linux-v5.4/samples/hw_breakpoint/
Ddata_breakpoint.c47 attr.bp_len = HW_BREAKPOINT_LEN_4; in hw_break_module_init()
/Linux-v5.4/tools/perf/tests/
Dbp_signal_overflow.c86 pe.bp_len = sizeof(long); in test__bp_signal_overflow()
Dbp_account.c44 attr->bp_len = sizeof(long); in __event()
Dbp_signal.c119 pe.bp_len = sizeof(long); in __event()
Dwp.c44 attr->bp_len = wp_len; in get__perf_event_attr()
Dparse-events.c161 evsel->core.attr.bp_len); in test__checkevent_breakpoint()
174 TEST_ASSERT_VAL("wrong bp_len", sizeof(long) == evsel->core.attr.bp_len); in test__checkevent_breakpoint_x()
189 HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len); in test__checkevent_breakpoint_r()
204 HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len); in test__checkevent_breakpoint_w()
219 HW_BREAKPOINT_LEN_4 == evsel->core.attr.bp_len); in test__checkevent_breakpoint_rw()
1262 evsel->core.attr.bp_len); in test__checkevent_breakpoint_len()
1277 evsel->core.attr.bp_len); in test__checkevent_breakpoint_len_w()
/Linux-v5.4/include/linux/
Dhw_breakpoint.h44 return bp->attr.bp_len; in hw_breakpoint_len()
/Linux-v5.4/kernel/events/
Dhw_breakpoint.c456 to->bp_len = from->bp_len; in hw_breakpoint_copy_attr()
/Linux-v5.4/arch/sh/kernel/
Dhw_breakpoint.c181 switch (attr->bp_len) { in arch_build_bp_info()
Dptrace_32.c88 attr.bp_len = HW_BREAKPOINT_LEN_2; in set_single_step()
/Linux-v5.4/tools/perf/util/
Dperf_event_attr_fprintf.c138 PRINT_ATTRn("{ bp_len, config2 }", bp_len, p_hex); in perf_event_attr__fprintf()
Dpython.c764 &attr.bp_addr, &attr.bp_len, &idx)) in pyrf_evsel__init()
/Linux-v5.4/arch/arm/kernel/
Dptrace.c450 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create()
558 attr.bp_len = gen_len; in ptrace_sethbpregs()
Dhw_breakpoint.c532 switch (attr->bp_len) { in arch_build_bp_info()
/Linux-v5.4/include/uapi/linux/
Dperf_event.h393 __u64 bp_len; member
/Linux-v5.4/tools/include/uapi/linux/
Dperf_event.h393 __u64 bp_len; member
/Linux-v5.4/arch/arm64/kernel/
Dhw_breakpoint.c435 switch (attr->bp_len) { in arch_build_bp_info()
Dptrace.c313 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create()
355 attr->bp_len = len; in ptrace_hbp_fill_attr_ctrl()

12