Home
last modified time | relevance | path

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

/linux/drivers/virtio/
H A Dvirtio_ring.c1606 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local
1610 __le16 off_wrap; in virtqueue_kick_prepare_packed() member
1639 off_wrap = le16_to_cpu(snapshot.off_wrap); in virtqueue_kick_prepare_packed()
1641 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_kick_prepare_packed()
1642 event_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_kick_prepare_packed()
1787 &vq->packed.vring.driver->off_wrap, in virtqueue_get_buf_ctx_packed()
1827 vq->packed.vring.driver->off_wrap = in virtqueue_enable_cb_prepare_packed()
1848 static bool virtqueue_poll_packed(struct virtqueue *_vq, u16 off_wrap) in virtqueue_poll_packed() argument
1854 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_poll_packed()
1855 used_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_poll_packed()
[all …]
/linux/include/uapi/linux/
H A Dvirtio_ring.h234 __le16 off_wrap; member