Lines Matching refs:ring_lock
59 unsigned head; /* Written to by userland or under ring_lock
153 struct mutex ring_lock;
433 /* The ring_lock mutex. The prevents aio_read_events() from writing
437 if (!mutex_trylock(&ctx->ring_lock)) {
477 mutex_unlock(&ctx->ring_lock);
689 * changes ring_pages by ->ring_lock.
777 mutex_init(&ctx->ring_lock);
779 * the ring_lock mutex held until setup is complete. */
780 mutex_lock(&ctx->ring_lock);
822 /* Release the ring_lock mutex now that all setup is complete. */
823 mutex_unlock(&ctx->ring_lock);
837 mutex_unlock(&ctx->ring_lock);
1217 mutex_lock(&ctx->ring_lock);
1219 /* Access to ->ring_pages here is protected by ctx->ring_lock. */
1274 mutex_unlock(&ctx->ring_lock);