Home
last modified time | relevance | path

Searched refs:alignment_mask (Results 1 – 2 of 2) sorted by relevance

/arch/arm/kernel/
Dhw_breakpoint.c598 u32 offset, alignment_mask = 0x3; in arch_validate_hwbkpt_settings() local
611 alignment_mask = 0x7; in arch_validate_hwbkpt_settings()
612 offset = info->address & alignment_mask; in arch_validate_hwbkpt_settings()
631 info->address &= ~alignment_mask; in arch_validate_hwbkpt_settings()
695 u32 val, ctrl_reg, alignment_mask; in watchpoint_handler() local
722 alignment_mask = 0x7; in watchpoint_handler()
724 alignment_mask = 0x3; in watchpoint_handler()
728 if (val != (addr & ~alignment_mask)) in watchpoint_handler()
734 if (!((1 << (addr & alignment_mask)) & ctrl.len)) in watchpoint_handler()
/arch/arm64/kernel/
Dhw_breakpoint.c524 u64 alignment_mask, offset; in arch_validate_hwbkpt_settings() local
542 alignment_mask = 0x7; in arch_validate_hwbkpt_settings()
544 alignment_mask = 0x3; in arch_validate_hwbkpt_settings()
545 offset = info->address & alignment_mask; in arch_validate_hwbkpt_settings()
564 alignment_mask = 0x3; in arch_validate_hwbkpt_settings()
566 alignment_mask = 0x7; in arch_validate_hwbkpt_settings()
567 offset = info->address & alignment_mask; in arch_validate_hwbkpt_settings()
570 info->address &= ~alignment_mask; in arch_validate_hwbkpt_settings()