vfio 93 drivers/vfio/pci/trace.h #define TRACE_INCLUDE_PATH ../../drivers/vfio/pci vfio 50 drivers/vfio/vfio.c } vfio; vfio 232 drivers/vfio/vfio.c mutex_lock(&vfio.iommu_drivers_lock); vfio 235 drivers/vfio/vfio.c list_for_each_entry(tmp, &vfio.iommu_drivers_list, vfio_next) { vfio 237 drivers/vfio/vfio.c mutex_unlock(&vfio.iommu_drivers_lock); vfio 243 drivers/vfio/vfio.c list_add(&driver->vfio_next, &vfio.iommu_drivers_list); vfio 245 drivers/vfio/vfio.c mutex_unlock(&vfio.iommu_drivers_lock); vfio 255 drivers/vfio/vfio.c mutex_lock(&vfio.iommu_drivers_lock); vfio 256 drivers/vfio/vfio.c list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_next) { vfio 259 drivers/vfio/vfio.c mutex_unlock(&vfio.iommu_drivers_lock); vfio 264 drivers/vfio/vfio.c mutex_unlock(&vfio.iommu_drivers_lock); vfio 273 drivers/vfio/vfio.c return idr_alloc(&vfio.group_idr, group, 0, MINORMASK + 1, GFP_KERNEL); vfio 278 drivers/vfio/vfio.c idr_remove(&vfio.group_idr, minor); vfio 311 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 362 drivers/vfio/vfio.c mutex_lock(&vfio.group_lock); vfio 365 drivers/vfio/vfio.c list_for_each_entry(tmp, &vfio.group_list, vfio_next) { vfio 379 drivers/vfio/vfio.c dev = device_create(vfio.class, NULL, vfio 380 drivers/vfio/vfio.c MKDEV(MAJOR(vfio.group_devt), minor), vfio 392 drivers/vfio/vfio.c list_add(&group->vfio_next, &vfio.group_list); vfio 394 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 415 drivers/vfio/vfio.c device_destroy(vfio.class, MKDEV(MAJOR(vfio.group_devt), group->minor)); vfio 424 drivers/vfio/vfio.c kref_put_mutex(&group->kref, vfio_group_release, &vfio.group_lock); vfio 469 drivers/vfio/vfio.c mutex_lock(&vfio.group_lock); vfio 470 drivers/vfio/vfio.c list_for_each_entry(group, &vfio.group_list, vfio_next) { vfio 473 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 477 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 487 drivers/vfio/vfio.c mutex_lock(&vfio.group_lock); vfio 488 drivers/vfio/vfio.c list_for_each_entry(group, &vfio.group_list, vfio_next) { vfio 491 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 495 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 504 drivers/vfio/vfio.c mutex_lock(&vfio.group_lock); vfio 505 drivers/vfio/vfio.c group = idr_find(&vfio.group_idr, minor); vfio 507 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 511 drivers/vfio/vfio.c mutex_unlock(&vfio.group_lock); vfio 577 drivers/vfio/vfio.c wake_up(&vfio.release_q); vfio 949 drivers/vfio/vfio.c add_wait_queue(&vfio.release_q, &wait); vfio 977 drivers/vfio/vfio.c remove_wait_queue(&vfio.release_q, &wait); vfio 1024 drivers/vfio/vfio.c mutex_lock(&vfio.iommu_drivers_lock); vfio 1025 drivers/vfio/vfio.c list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio 1045 drivers/vfio/vfio.c mutex_unlock(&vfio.iommu_drivers_lock); vfio 1102 drivers/vfio/vfio.c mutex_lock(&vfio.iommu_drivers_lock); vfio 1103 drivers/vfio/vfio.c list_for_each_entry(driver, &vfio.iommu_drivers_list, vfio_next) { vfio 1149 drivers/vfio/vfio.c mutex_unlock(&vfio.iommu_drivers_lock); vfio 2184 drivers/vfio/vfio.c idr_init(&vfio.group_idr); vfio 2185 drivers/vfio/vfio.c mutex_init(&vfio.group_lock); vfio 2186 drivers/vfio/vfio.c mutex_init(&vfio.iommu_drivers_lock); vfio 2187 drivers/vfio/vfio.c INIT_LIST_HEAD(&vfio.group_list); vfio 2188 drivers/vfio/vfio.c INIT_LIST_HEAD(&vfio.iommu_drivers_list); vfio 2189 drivers/vfio/vfio.c init_waitqueue_head(&vfio.release_q); vfio 2198 drivers/vfio/vfio.c vfio.class = class_create(THIS_MODULE, "vfio"); vfio 2199 drivers/vfio/vfio.c if (IS_ERR(vfio.class)) { vfio 2200 drivers/vfio/vfio.c ret = PTR_ERR(vfio.class); vfio 2204 drivers/vfio/vfio.c vfio.class->devnode = vfio_devnode; vfio 2206 drivers/vfio/vfio.c ret = alloc_chrdev_region(&vfio.group_devt, 0, MINORMASK + 1, "vfio"); vfio 2210 drivers/vfio/vfio.c cdev_init(&vfio.group_cdev, &vfio_group_fops); vfio 2211 drivers/vfio/vfio.c ret = cdev_add(&vfio.group_cdev, vfio.group_devt, MINORMASK + 1); vfio 2223 drivers/vfio/vfio.c unregister_chrdev_region(vfio.group_devt, MINORMASK + 1); vfio 2225 drivers/vfio/vfio.c class_destroy(vfio.class); vfio 2226 drivers/vfio/vfio.c vfio.class = NULL; vfio 2234 drivers/vfio/vfio.c WARN_ON(!list_empty(&vfio.group_list)); vfio 2239 drivers/vfio/vfio.c idr_destroy(&vfio.group_idr); vfio 2240 drivers/vfio/vfio.c cdev_del(&vfio.group_cdev); vfio 2241 drivers/vfio/vfio.c unregister_chrdev_region(vfio.group_devt, MINORMASK + 1); vfio 2242 drivers/vfio/vfio.c class_destroy(vfio.class); vfio 2243 drivers/vfio/vfio.c vfio.class = NULL;