Home
last modified time | relevance | path

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

/linux/drivers/virtio/
H A Dvirtio_ring.c1703 u16 idx, bool used_wrap_counter) in is_used_desc_packed() argument
1712 return avail == used && used == used_wrap_counter; in is_used_desc_packed()
1719 bool used_wrap_counter; in more_used_packed() local
1723 used_wrap_counter = packed_used_wrap_counter(last_used_idx); in more_used_packed()
1724 return is_used_desc_packed(vq, last_used, used_wrap_counter); in more_used_packed()
1733 bool used_wrap_counter; in virtqueue_get_buf_ctx_packed() local
1753 used_wrap_counter = packed_used_wrap_counter(last_used_idx); in virtqueue_get_buf_ctx_packed()
1774 used_wrap_counter ^= 1; in virtqueue_get_buf_ctx_packed()
1777 last_used = (last_used | (used_wrap_counter << VRING_PACKED_EVENT_F_WRAP_CTR)); in virtqueue_get_buf_ctx_packed()