Home
last modified time | relevance | path

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

/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.c495 int err, bp_len, bp_type; in ptrace_fill_bp_fields() local
497 err = arch_bp_generic_fields(len, type, &bp_len, &bp_type); in ptrace_fill_bp_fields()
499 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()
/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()
/arch/xtensa/kernel/
Dptrace.c396 attr.bp_len = 1; in ptrace_hbp_create()
435 user_data[1] = bp->attr.disabled ? 0 : bp->attr.bp_len; in ptrace_gethbpregs()
491 attr.bp_len = user_data[1] & ~(DBREAKC_LOAD_MASK | DBREAKC_STOR_MASK); in ptrace_sethbpregs()
493 attr.disabled = !attr.bp_len; in ptrace_sethbpregs()
Dhw_breakpoint.c73 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
/arch/powerpc/kernel/
Dhw_breakpoint.c152 bp1_eaddr = ALIGN(bp1->attr.bp_addr + bp1->attr.bp_len, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap()
154 bp2_eaddr = ALIGN(bp2->attr.bp_addr + bp2->attr.bp_len, HW_BREAKPOINT_SIZE); in bp_addr_range_overlap()
445 if (!bp || !attr->bp_len) in hw_breakpoint_arch_parse()
463 hw->len = attr->bp_len; in hw_breakpoint_arch_parse()
/arch/sh/kernel/
Dhw_breakpoint.c181 switch (attr->bp_len) { in arch_build_bp_info()
Dptrace_32.c87 attr.bp_len = HW_BREAKPOINT_LEN_2; in set_single_step()
/arch/arm/kernel/
Dptrace.c424 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create()
532 attr.bp_len = gen_len; in ptrace_sethbpregs()
Dhw_breakpoint.c535 switch (attr->bp_len) { in arch_build_bp_info()
/arch/arm64/kernel/
Dhw_breakpoint.c435 switch (attr->bp_len) { in arch_build_bp_info()
Dptrace.c311 attr.bp_len = HW_BREAKPOINT_LEN_4; in ptrace_hbp_create()
353 attr->bp_len = len; in ptrace_hbp_fill_attr_ctrl()