LOCKF_USED_IN_IRQ_ALL
excl |= (mask & LOCKF_USED_IN_IRQ_ALL) << LOCK_USAGE_DIR_MASK;
usage_mask &= LOCKF_USED_IN_IRQ_ALL;