Searched refs:head_idx (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.3-release/sys/dev/virtio/
H A Dvirtqueue.c491 uint16_t head_idx, idx; local
514 head_idx = vq->vq_desc_head_idx;
515 VQ_RING_ASSERT_VALID_IDX(vq, head_idx);
516 dxp = &vq->vq_descx[head_idx];
519 "cookie already exists for index %d", head_idx);
523 idx = vq_ring_enqueue_segments(vq, vq->vq_ring.desc, head_idx,
533 vq_ring_update_avail(vq, head_idx);
658 uint16_t head_idx, struct sglist *sg, int readable, int writable)
667 for (i = 0, idx = head_idx, seg = sg->sg_segs;
710 uint16_t head_idx; local
657 vq_ring_enqueue_segments(struct virtqueue *vq, struct vring_desc *desc, uint16_t head_idx, struct sglist *sg, int readable, int writable) argument
[all...]

Completed in 60 milliseconds