Searched refs:LOCK_MASK (Results 1 – 1 of 1) sorted by relevance
172 #define LOCK_MASK BIT1_MASK(LOCK_SHIFT+MAX_DEV_NUM, LOCK_SHIFT) macro326 uint32_t status = lock_status_fetch_set(lock, dev_handle->mask & LOCK_MASK); in acquire_core()329 if ((status & (BG_MASK | LOCK_MASK)) == 0) { in acquire_core()368 uint32_t lock_bits = (status & LOCK_MASK) >> LOCK_SHIFT; in schedule_core()404 uint32_t status = lock_status_clear(lock, dev_handle->mask & LOCK_MASK); in acquire_end_core()