Home
last modified time | relevance | path

Searched refs:ring (Results 1 – 2 of 2) sorted by relevance

/fs/verity/
Dsignature.c173 struct key *ring; in fsverity_init_signature() local
176 ring = keyring_alloc(".fs-verity", KUIDT_INIT(0), KGIDT_INIT(0), in fsverity_init_signature()
181 if (IS_ERR(ring)) in fsverity_init_signature()
182 return PTR_ERR(ring); in fsverity_init_signature()
188 fsverity_keyring = ring; in fsverity_init_signature()
192 key_put(ring); in fsverity_init_signature()
/fs/
Daio.c493 struct aio_ring *ring; in aio_setup_ring() local
574 ring = kmap_atomic(ctx->ring_pages[0]); in aio_setup_ring()
575 ring->nr = nr_events; /* user copy */ in aio_setup_ring()
576 ring->id = ~0U; in aio_setup_ring()
577 ring->head = ring->tail = 0; in aio_setup_ring()
578 ring->magic = AIO_RING_MAGIC; in aio_setup_ring()
579 ring->compat_features = AIO_RING_COMPAT_FEATURES; in aio_setup_ring()
580 ring->incompat_features = AIO_RING_INCOMPAT_FEATURES; in aio_setup_ring()
581 ring->header_length = sizeof(struct aio_ring); in aio_setup_ring()
582 kunmap_atomic(ring); in aio_setup_ring()
[all …]