Lines Matching refs:ring_lock
59 unsigned head; /* Written to by userland or under ring_lock
153 struct mutex ring_lock;
477 /* The ring_lock mutex. The prevents aio_read_events() from writing
481 if (!mutex_trylock(&ctx->ring_lock)) {
522 mutex_unlock(&ctx->ring_lock);
750 * changes ring_folios by ->ring_lock.
837 mutex_init(&ctx->ring_lock);
839 * the ring_lock mutex held until setup is complete. */
840 mutex_lock(&ctx->ring_lock);
882 /* Release the ring_lock mutex now that all setup is complete. */
883 mutex_unlock(&ctx->ring_lock);
897 mutex_unlock(&ctx->ring_lock);
1296 mutex_lock(&ctx->ring_lock);
1298 /* Access to ->ring_folios here is protected by ctx->ring_lock. */
1353 mutex_unlock(&ctx->ring_lock);