Lines Matching refs:ring_lock
60 unsigned head; /* Written to by userland or under ring_lock
154 struct mutex ring_lock;
407 /* The ring_lock mutex. The prevents aio_read_events() from writing
411 if (!mutex_trylock(&ctx->ring_lock)) {
451 mutex_unlock(&ctx->ring_lock);
668 * changes ring_pages by ->ring_lock.
758 mutex_init(&ctx->ring_lock);
760 * the ring_lock mutex held until setup is complete. */
761 mutex_lock(&ctx->ring_lock);
803 /* Release the ring_lock mutex now that all setup is complete. */
804 mutex_unlock(&ctx->ring_lock);
818 mutex_unlock(&ctx->ring_lock);
1204 mutex_lock(&ctx->ring_lock);
1206 /* Access to ->ring_pages here is protected by ctx->ring_lock. */
1264 mutex_unlock(&ctx->ring_lock);