Searched refs:weak_barriers (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | virtio_ring.h | 25 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 …]
|
| H A D | vringh.h | 32 bool weak_barriers; member 107 unsigned int num, bool weak_barriers, 169 unsigned int num, bool weak_barriers, 264 unsigned int num, bool weak_barriers,
|
| /OK3568_Linux_fs/kernel/drivers/virtio/ |
| H A D | virtio_ring.c | 97 bool weak_barriers; member 551 virtio_wmb(vq->weak_barriers); in virtqueue_add_split() 598 virtio_mb(vq->weak_barriers); in virtqueue_kick_prepare_split() 701 virtio_rmb(vq->weak_barriers); in virtqueue_get_buf_ctx_split() 726 virtio_store_mb(vq->weak_barriers, in virtqueue_get_buf_ctx_split() 804 virtio_store_mb(vq->weak_barriers, in virtqueue_enable_cb_delayed_split() 850 bool weak_barriers, in vring_create_virtqueue_split() argument 894 vq = __vring_new_virtqueue(index, vring, vdev, weak_barriers, context, in vring_create_virtqueue_split() 1049 virtio_wmb(vq->weak_barriers); in virtqueue_add_indirect_packed() 1214 virtio_wmb(vq->weak_barriers); in virtqueue_add_packed() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/vhost/ |
| H A D | vringh.c | 57 virtio_rmb(vrh->weak_barriers); in __vringh_get_head() 455 virtio_wmb(vrh->weak_barriers); in __vringh_complete() 481 virtio_mb(vrh->weak_barriers); in __vringh_need_notify() 542 virtio_mb(vrh->weak_barriers); in __vringh_notify_enable() 629 unsigned int num, bool weak_barriers, in vringh_init_user() argument 642 vrh->weak_barriers = weak_barriers; in vringh_init_user() 900 unsigned int num, bool weak_barriers, in vringh_init_kern() argument 913 vrh->weak_barriers = weak_barriers; in vringh_init_kern() 1256 unsigned int num, bool weak_barriers, in vringh_init_iotlb() argument 1261 return vringh_init_kern(vrh, features, num, weak_barriers, in vringh_init_iotlb()
|
| /OK3568_Linux_fs/kernel/tools/virtio/linux/ |
| H A D | virtio.h | 61 bool weak_barriers,
|
| /OK3568_Linux_fs/kernel/tools/virtio/ |
| H A D | vringh_test.c | 124 virtio_rmb(vrh->weak_barriers); in vringh_get_head()
|