Searched refs:tapfds (Results 1 – 3 of 3) sorted by relevance
337 tapfd = dev->tapfds[pair_idx]; in vhost_kernel_enable_queue_pair()350 if (dev->tapfds[pair_idx] >= 0) { in vhost_kernel_enable_queue_pair()351 tapfd = dev->tapfds[pair_idx]; in vhost_kernel_enable_queue_pair()374 dev->tapfds[pair_idx] = tapfd; in vhost_kernel_enable_queue_pair()
371 dev->tapfds = NULL; in virtio_user_dev_setup()388 dev->tapfds = malloc(dev->max_queue_pairs * in virtio_user_dev_setup()390 if (!dev->vhostfds || !dev->tapfds) { in virtio_user_dev_setup()397 dev->tapfds[q] = -1; in virtio_user_dev_setup()615 if (dev->tapfds[i] >= 0) in virtio_user_dev_uninit()616 close(dev->tapfds[i]); in virtio_user_dev_uninit()619 free(dev->tapfds); in virtio_user_dev_uninit()
36 int *tapfds; member