ring 66 kernel/virtio.h uint16 ring[NUM]; // descriptor numbers of chain heads ring 80 kernel/virtio.h struct virtq_used_elem ring[NUM]; ring 272 kernel/virtio_disk.c disk.avail->ring[disk.avail->idx % NUM] = idx[0]; ring 314 kernel/virtio_disk.c int id = disk.used->ring[disk.used_idx % NUM].id;