src/dpdk/drivers/bus/vmbus/vmbus_common.c
static struct rte_device *
vmbus_find_device(const struct rte_device *start, rte_dev_cmp_t cmp,
		  const void *data)
{
	struct rte_vmbus_device *dev;

	FOREACH_DEVICE_ON_VMBUS(dev) {
		if (start && &dev->device == start) {
			start = NULL;
			continue;
		}
		if (cmp(&dev->device, data) == 0)
			return &dev->device;
	}

	return NULL;
}
/* VMBUS doesn't support hotplug */
VMBUS doesn't support hotplug
VMBUS doesn ' t support hotplug
static struct rte_device *
vmbus_find_device(const struct rte_device *start, rte_dev_cmp_t cmp,
		  const void *data)
{
	struct rte_vmbus_device *dev;
	FOREACH_DEVICE_ON_VMBUS(dev) {
		if (start && &dev->device == start) {
			start = NULL;
			continue;
		}
		if (cmp(&dev->device, data) == 0)
			return &dev->device;
	}
	return NULL;
}
static struct rte_device * vmbus_find_device ( const struct rte_device * start , rte_dev_cmp_t cmp , const void * data ) { struct rte_vmbus_device * dev ; FOREACH_DEVICE_ON_VMBUS ( dev ) { if ( start && & dev -> device == start ) { start = NULL ; continue ; } if ( cmp ( & dev -> device , data ) == 0 ) return & dev -> device ; } return NULL ; }
VMBUS doesn't support hotplug
VMBUS doesn ' t support hotplug