Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/virtio/
Dvirtio_ring.c1498 u16 new, old, off_wrap, flags, wrap_counter, event_idx; in virtqueue_kick_prepare_packed() local
1502 __le16 off_wrap; in virtqueue_kick_prepare_packed() member
1531 off_wrap = le16_to_cpu(snapshot.off_wrap); in virtqueue_kick_prepare_packed()
1533 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_kick_prepare_packed()
1534 event_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_kick_prepare_packed()
1675 &vq->packed.vring.driver->off_wrap, in virtqueue_get_buf_ctx_packed()
1707 vq->packed.vring.driver->off_wrap = in virtqueue_enable_cb_prepare_packed()
1728 static bool virtqueue_poll_packed(struct virtqueue *_vq, u16 off_wrap) in virtqueue_poll_packed() argument
1734 wrap_counter = off_wrap >> VRING_PACKED_EVENT_F_WRAP_CTR; in virtqueue_poll_packed()
1735 used_idx = off_wrap & ~(1 << VRING_PACKED_EVENT_F_WRAP_CTR); in virtqueue_poll_packed()
[all …]
/linux-6.1.9/include/uapi/linux/
Dvirtio_ring.h234 __le16 off_wrap; member