| 26 | #define IOTLB_CACHE_SIZE 2048 |
| 27 | |
| 28 | static void |
| 29 | vhost_user_iotlb_remove_notify(struct virtio_net *dev, struct vhost_iotlb_entry *entry) |
| 30 | { |
| 31 | if (dev->backend_ops->iotlb_remove_notify == NULL) |
| 32 | return; |
| 33 | |
| 34 | dev->backend_ops->iotlb_remove_notify(entry->uaddr, entry->uoffset, entry->size); |
| 35 | } |
| 36 | |
| 37 | static bool |
| 38 | vhost_user_iotlb_share_page(struct vhost_iotlb_entry *a, struct vhost_iotlb_entry *b) |
no outgoing calls
no test coverage detected