Lines Matching defs:is_locked
321 int is_locked = 0; /* Flag to help unlocking the primepool. */
445 is_locked = 1;
459 if (is_locked)
469 is_locked = 0;
477 if (is_locked && ath_mutex_unlock (&primepool_lock))
482 is_locked = 0;
493 is_locked = 1;
498 if (!pool[i] && is_locked)
508 is_locked = 0;
516 if (is_locked && ath_mutex_unlock (&primepool_lock))
521 is_locked = 0;
684 is_locked = !ath_mutex_lock (&primepool_lock);
692 if (j == n && is_locked)
701 if (is_locked && ath_mutex_unlock (&primepool_lock))
703 is_locked = 0;