avail_idx 123 drivers/misc/mic/vop/vop_debugfs.c i, vvr->vring.info->avail_idx & (num - 1)); avail_idx 125 drivers/misc/mic/vop/vop_debugfs.c i, vvr->vring.info->avail_idx); avail_idx 105 drivers/misc/mic/vop/vop_vringh.c vdev->vvr[i].vring.info->avail_idx = 0; avail_idx 829 drivers/misc/mic/vop/vop_vringh.c vr->info->avail_idx = vrh->last_avail_idx; avail_idx 308 drivers/vhost/vhost.c vq->avail_idx = 0; avail_idx 916 drivers/vhost/vhost.c return vhost_put_user(vq, cpu_to_vhost16(vq, vq->avail_idx), avail_idx 1631 drivers/vhost/vhost.c vq->avail_idx = vq->last_avail_idx; avail_idx 2216 drivers/vhost/vhost.c __virtio16 avail_idx; avail_idx 2223 drivers/vhost/vhost.c if (vq->avail_idx == vq->last_avail_idx) { avail_idx 2224 drivers/vhost/vhost.c if (unlikely(vhost_get_avail_idx(vq, &avail_idx))) { avail_idx 2229 drivers/vhost/vhost.c vq->avail_idx = vhost16_to_cpu(vq, avail_idx); avail_idx 2231 drivers/vhost/vhost.c if (unlikely((u16)(vq->avail_idx - last_avail_idx) > vq->num)) { avail_idx 2233 drivers/vhost/vhost.c last_avail_idx, vq->avail_idx); avail_idx 2240 drivers/vhost/vhost.c if (vq->avail_idx == last_avail_idx) avail_idx 2449 drivers/vhost/vhost.c unlikely(vq->avail_idx == vq->last_avail_idx)) avail_idx 2507 drivers/vhost/vhost.c __virtio16 avail_idx; avail_idx 2510 drivers/vhost/vhost.c if (vq->avail_idx != vq->last_avail_idx) avail_idx 2513 drivers/vhost/vhost.c r = vhost_get_avail_idx(vq, &avail_idx); avail_idx 2516 drivers/vhost/vhost.c vq->avail_idx = vhost16_to_cpu(vq, avail_idx); avail_idx 2518 drivers/vhost/vhost.c return vq->avail_idx == vq->last_avail_idx; avail_idx 2525 drivers/vhost/vhost.c __virtio16 avail_idx; avail_idx 2539 drivers/vhost/vhost.c r = vhost_update_avail_event(vq, vq->avail_idx); avail_idx 2549 drivers/vhost/vhost.c r = vhost_get_avail_idx(vq, &avail_idx); avail_idx 2556 drivers/vhost/vhost.c return vhost16_to_cpu(vq, avail_idx) != vq->avail_idx; avail_idx 108 drivers/vhost/vhost.h u16 avail_idx; avail_idx 38 drivers/vhost/vringh.c u16 avail_idx, i, head; avail_idx 41 drivers/vhost/vringh.c err = getu16(vrh, &avail_idx, &vrh->vring.avail->idx); avail_idx 48 drivers/vhost/vringh.c if (*last_avail_idx == avail_idx) avail_idx 154 include/uapi/linux/mic_common.h __u16 avail_idx; avail_idx 500 samples/bpf/xdp_redirect_cpu_user.c __u32 avail_idx, bool new) avail_idx 518 samples/bpf/xdp_redirect_cpu_user.c ret = bpf_map_update_elem(cpus_available_map_fd, &avail_idx, &cpu, 0); avail_idx 541 samples/bpf/xdp_redirect_cpu_user.c new ? "Add-new":"Replace", cpu, avail_idx, avail_idx 374 samples/mic/mpssd/mpssd.c return READ_ONCE(vr->info->avail_idx); avail_idx 513 samples/mic/mpssd/mpssd.c __u16 avail_idx = read_avail_idx(vr); avail_idx 515 samples/mic/mpssd/mpssd.c while (avail_idx == le16toh(READ_ONCE(vr->vr.avail->idx))) { avail_idx 519 samples/mic/mpssd/mpssd.c le16toh(vr->vr.avail->idx), vr->info->avail_idx); avail_idx 656 samples/mic/mpssd/mpssd.c while (rx_vr.info->avail_idx != avail_idx 855 samples/mic/mpssd/mpssd.c while (rx_vr.info->avail_idx != avail_idx 1164 samples/mic/mpssd/mpssd.c __u16 avail_idx; avail_idx 1215 samples/mic/mpssd/mpssd.c while (vring.info->avail_idx != avail_idx 1218 samples/mic/mpssd/mpssd.c avail_idx = avail_idx 1219 samples/mic/mpssd/mpssd.c vring.info->avail_idx & avail_idx 1222 samples/mic/mpssd/mpssd.c vring.vr.avail->ring[avail_idx]); avail_idx 1227 samples/mic/mpssd/mpssd.c vring.info->avail_idx); avail_idx 60 tools/virtio/ringtest/ring.c unsigned avail_idx; avail_idx 92 tools/virtio/ringtest/ring.c guest.avail_idx = 0; avail_idx 120 tools/virtio/ringtest/ring.c head = (ring_size - 1) & (guest.avail_idx++); avail_idx 195 tools/virtio/ringtest/ring.c guest.avail_idx, avail_idx 198 tools/virtio/ringtest/ring.c guest.kicked_avail_idx = guest.avail_idx; avail_idx 42 tools/virtio/ringtest/virtio_ring_0_9.c unsigned short avail_idx; avail_idx 78 tools/virtio/ringtest/virtio_ring_0_9.c guest.avail_idx = 0; avail_idx 111 tools/virtio/ringtest/virtio_ring_0_9.c head = (ring_size - 1) & (guest.avail_idx++); avail_idx 135 tools/virtio/ringtest/virtio_ring_0_9.c avail = guest.avail_idx++; avail_idx 142 tools/virtio/ringtest/virtio_ring_0_9.c avail = (ring_size - 1) & (guest.avail_idx++); avail_idx 148 tools/virtio/ringtest/virtio_ring_0_9.c ring.avail->idx = guest.avail_idx; avail_idx 234 tools/virtio/ringtest/virtio_ring_0_9.c guest.avail_idx, avail_idx 237 tools/virtio/ringtest/virtio_ring_0_9.c guest.kicked_avail_idx = guest.avail_idx; avail_idx 113 tools/virtio/vringh_test.c u16 avail_idx, i; avail_idx 116 tools/virtio/vringh_test.c err = get_user(avail_idx, &vrh->vring.avail->idx); avail_idx 120 tools/virtio/vringh_test.c if (vrh->last_avail_idx == avail_idx)