Searched refs:alignment_mask (Results 1 – 2 of 2) sorted by relevance
598 u32 offset, alignment_mask = 0x3; in arch_validate_hwbkpt_settings() local611 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() local722 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()
524 u64 alignment_mask, offset; in arch_validate_hwbkpt_settings() local542 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()