Searched refs:ring (Results 1 – 1 of 1) sorted by relevance
104 struct aio_ring *ring; in aio_setup_ring() local158 ring = kmap_atomic(info->ring_pages[0], KM_USER0); in aio_setup_ring()159 ring->nr = nr_events; /* user copy */ in aio_setup_ring()160 ring->id = ctx->user_id; in aio_setup_ring()161 ring->head = ring->tail = 0; in aio_setup_ring()162 ring->magic = AIO_RING_MAGIC; in aio_setup_ring()163 ring->compat_features = AIO_RING_COMPAT_FEATURES; in aio_setup_ring()164 ring->incompat_features = AIO_RING_INCOMPAT_FEATURES; in aio_setup_ring()165 ring->header_length = sizeof(struct aio_ring); in aio_setup_ring()166 kunmap_atomic(ring, KM_USER0); in aio_setup_ring()[all …]