MCPcopy Create free account
hub / github.com/F-Stack/f-stack / vhost_user_iotlb_pool_put

Function vhost_user_iotlb_pool_put

dpdk/lib/vhost/iotlb.c:100–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100static void
101vhost_user_iotlb_pool_put(struct virtio_net *dev, struct vhost_iotlb_entry *node)
102{
103 rte_spinlock_lock(&dev->iotlb_free_lock);
104 SLIST_INSERT_HEAD(&dev->iotlb_free_list, node, next_free);
105 rte_spinlock_unlock(&dev->iotlb_free_lock);
106}
107
108static void
109vhost_user_iotlb_cache_random_evict(struct virtio_net *dev);

Calls 2

rte_spinlock_lockFunction · 0.50
rte_spinlock_unlockFunction · 0.50

Tested by

no test coverage detected