Lines Matching defs: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);
739 * changes ring_folios by ->ring_lock.
827 mutex_init(&ctx->ring_lock);
829 * the ring_lock mutex held until setup is complete. */
830 mutex_lock(&ctx->ring_lock);
872 /* Release the ring_lock mutex now that all setup is complete. */
873 mutex_unlock(&ctx->ring_lock);
887 mutex_unlock(&ctx->ring_lock);
1286 mutex_lock(&ctx->ring_lock);
1288 /* Access to ->ring_folios here is protected by ctx->ring_lock. */
1343 mutex_unlock(&ctx->ring_lock);