Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dvirtio_ring.h25 static inline void virtio_mb(bool weak_barriers) in virtio_mb() argument
27 if (weak_barriers) in virtio_mb()
33 static inline void virtio_rmb(bool weak_barriers) in virtio_rmb() argument
35 if (weak_barriers) in virtio_rmb()
41 static inline void virtio_wmb(bool weak_barriers) in virtio_wmb() argument
43 if (weak_barriers) in virtio_wmb()
49 #define virtio_store_mb(weak_barriers, p, v) \ argument
51 if (weak_barriers) { \
72 bool weak_barriers,
83 bool weak_barriers,
[all …]
Dvringh.h33 bool weak_barriers; member
111 unsigned int num, bool weak_barriers,
173 unsigned int num, bool weak_barriers,
282 unsigned int num, bool weak_barriers,
/Linux-v5.15/drivers/virtio/
Dvirtio_ring.c98 bool weak_barriers; member
620 virtio_wmb(vq->weak_barriers); in virtqueue_add_split()
670 virtio_mb(vq->weak_barriers); in virtqueue_kick_prepare_split()
771 virtio_rmb(vq->weak_barriers); in virtqueue_get_buf_ctx_split()
796 virtio_store_mb(vq->weak_barriers, in virtqueue_get_buf_ctx_split()
877 virtio_store_mb(vq->weak_barriers, in virtqueue_enable_cb_delayed_split()
923 bool weak_barriers, in vring_create_virtqueue_split() argument
967 vq = __vring_new_virtqueue(index, vring, vdev, weak_barriers, context, in vring_create_virtqueue_split()
1120 virtio_wmb(vq->weak_barriers); in virtqueue_add_indirect_packed()
1277 virtio_wmb(vq->weak_barriers); in virtqueue_add_packed()
[all …]
/Linux-v5.15/drivers/vhost/
Dvringh.c57 virtio_rmb(vrh->weak_barriers); in __vringh_get_head()
467 virtio_wmb(vrh->weak_barriers); in __vringh_complete()
493 virtio_mb(vrh->weak_barriers); in __vringh_need_notify()
554 virtio_mb(vrh->weak_barriers); in __vringh_notify_enable()
641 unsigned int num, bool weak_barriers, in vringh_init_user() argument
654 vrh->weak_barriers = weak_barriers; in vringh_init_user()
915 unsigned int num, bool weak_barriers, in vringh_init_kern() argument
928 vrh->weak_barriers = weak_barriers; in vringh_init_kern()
1278 unsigned int num, bool weak_barriers, in vringh_init_iotlb() argument
1283 return vringh_init_kern(vrh, features, num, weak_barriers, in vringh_init_iotlb()
/Linux-v5.15/tools/virtio/linux/
Dvirtio.h61 bool weak_barriers,
/Linux-v5.15/tools/virtio/
Dvringh_test.c124 virtio_rmb(vrh->weak_barriers); in vringh_get_head()