Lines Matching refs:ring_lock
59 unsigned head; /* Written to by userland or under ring_lock
153 struct mutex ring_lock;
432 /* The ring_lock mutex. The prevents aio_read_events() from writing
436 if (!mutex_trylock(&ctx->ring_lock)) {
476 mutex_unlock(&ctx->ring_lock);
692 * changes ring_pages by ->ring_lock.
780 mutex_init(&ctx->ring_lock);
782 * the ring_lock mutex held until setup is complete. */
783 mutex_lock(&ctx->ring_lock);
825 /* Release the ring_lock mutex now that all setup is complete. */
826 mutex_unlock(&ctx->ring_lock);
840 mutex_unlock(&ctx->ring_lock);
1239 mutex_lock(&ctx->ring_lock);
1241 /* Access to ->ring_pages here is protected by ctx->ring_lock. */
1296 mutex_unlock(&ctx->ring_lock);