/Linux-v4.19/tools/testing/selftests/powerpc/ptrace/ |
D | perf-hwbreak.c | 61 attr.bp_len = len; in breakpoint_test() 107 attr.bp_len = sizeof(int); in runtestsingle() 109 attr.bp_len = DAWR_LENGTH_MAX; in runtestsingle()
|
/Linux-v4.19/arch/x86/kernel/ |
D | hw_breakpoint.c | 278 if (attr->bp_len == sizeof(long)) { in arch_build_bp_info() 287 switch (attr->bp_len) { in arch_build_bp_info() 304 if (!is_power_of_2(attr->bp_len)) in arch_build_bp_info() 306 if (attr->bp_addr & (attr->bp_len - 1)) in arch_build_bp_info() 319 hw->mask = attr->bp_len - 1; in arch_build_bp_info()
|
D | ptrace.c | 553 int err, bp_len, bp_type; in ptrace_fill_bp_fields() local 555 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); in ptrace_fill_bp_fields() 557 attr->bp_len = bp_len; in ptrace_fill_bp_fields()
|
D | kgdb.c | 230 bp->attr.bp_len = breakinfo[breakno].len; in kgdb_correct_hw_break() 671 attr.bp_len = HW_BREAKPOINT_LEN_1; in kgdb_arch_late()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | hw_breakpoint.c | 166 hw->len = attr->bp_len; in hw_breakpoint_arch_parse() 181 ((attr->bp_addr + attr->bp_len - 1) >> 9)) in hw_breakpoint_arch_parse() 261 (dar - bp->attr.bp_addr < bp->attr.bp_len))) in hw_breakpoint_handler()
|
D | ptrace.c | 2446 attr.bp_len = 8; in ptrace_set_debugreg() 2895 attr.bp_len = len; in ppc_set_hwdebug()
|
/Linux-v4.19/arch/xtensa/kernel/ |
D | ptrace.c | 306 attr.bp_len = 1; in ptrace_hbp_create() 345 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs() 401 attr.bp_len = user_data[1] & ~(DBREAKC_LOAD_MASK | DBREAKC_STOR_MASK); in ptrace_sethbpregs() 403 attr.disabled = !attr.bp_len; in ptrace_sethbpregs()
|
D | hw_breakpoint.c | 73 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
|
/Linux-v4.19/samples/hw_breakpoint/ |
D | data_breakpoint.c | 60 attr.bp_len = HW_BREAKPOINT_LEN_4; in hw_break_module_init()
|
/Linux-v4.19/tools/perf/tests/ |
D | bp_signal_overflow.c | 85 pe.bp_len = sizeof(long); in test__bp_signal_overflow()
|
D | bp_account.c | 43 attr->bp_len = sizeof(long); in __event()
|
D | bp_signal.c | 118 pe.bp_len = sizeof(long); in __event()
|
D | parse-events.c | 135 evsel->attr.bp_len); in test__checkevent_breakpoint() 148 TEST_ASSERT_VAL("wrong bp_len", sizeof(long) == evsel->attr.bp_len); in test__checkevent_breakpoint_x() 163 HW_BREAKPOINT_LEN_4 == evsel->attr.bp_len); in test__checkevent_breakpoint_r() 178 HW_BREAKPOINT_LEN_4 == evsel->attr.bp_len); in test__checkevent_breakpoint_w() 193 HW_BREAKPOINT_LEN_4 == evsel->attr.bp_len); in test__checkevent_breakpoint_rw() 1236 evsel->attr.bp_len); in test__checkevent_breakpoint_len() 1251 evsel->attr.bp_len); in test__checkevent_breakpoint_len_w()
|
/Linux-v4.19/include/linux/ |
D | hw_breakpoint.h | 44 return bp->attr.bp_len; in hw_breakpoint_len()
|
/Linux-v4.19/kernel/events/ |
D | hw_breakpoint.c | 469 to->bp_len = from->bp_len; in hw_breakpoint_copy_attr()
|
/Linux-v4.19/arch/sh/kernel/ |
D | hw_breakpoint.c | 183 switch (attr->bp_len) { in arch_build_bp_info()
|
D | ptrace_32.c | 91 attr.bp_len = HW_BREAKPOINT_LEN_2; in set_single_step()
|
/Linux-v4.19/arch/arm/kernel/ |
D | ptrace.c | 460 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create() 568 attr.bp_len = gen_len; in ptrace_sethbpregs()
|
D | hw_breakpoint.c | 543 switch (attr->bp_len) { in arch_build_bp_info()
|
/Linux-v4.19/include/uapi/linux/ |
D | perf_event.h | 390 __u64 bp_len; member
|
/Linux-v4.19/tools/include/uapi/linux/ |
D | perf_event.h | 390 __u64 bp_len; member
|
/Linux-v4.19/arch/arm64/kernel/ |
D | ptrace.c | 325 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create() 367 attr->bp_len = len; in ptrace_hbp_fill_attr_ctrl()
|
D | hw_breakpoint.c | 446 switch (attr->bp_len) { in arch_build_bp_info()
|
/Linux-v4.19/tools/perf/util/ |
D | python.c | 752 &attr.bp_addr, &attr.bp_len, &idx)) in pyrf_evsel__init()
|
D | parse-events.c | 886 attr.bp_len = len; in parse_events_add_breakpoint()
|