Searched refs:mock_iommu_iopf_queue (Results 1 – 1 of 1) sorted by relevance
508 static struct iopf_queue *mock_iommu_iopf_queue; variable527 if (feat != IOMMU_DEV_FEAT_IOPF || !mock_iommu_iopf_queue) in mock_dev_enable_feat()530 return iopf_queue_add_device(mock_iommu_iopf_queue, dev); in mock_dev_enable_feat()535 if (feat != IOMMU_DEV_FEAT_IOPF || !mock_iommu_iopf_queue) in mock_dev_disable_feat()538 iopf_queue_remove_device(mock_iommu_iopf_queue, dev); in mock_dev_disable_feat()1551 mock_iommu_iopf_queue = iopf_queue_alloc("mock-iopfq"); in iommufd_test_init()1568 if (mock_iommu_iopf_queue) { in iommufd_test_exit()1569 iopf_queue_free(mock_iommu_iopf_queue); in iommufd_test_exit()1570 mock_iommu_iopf_queue = NULL; in iommufd_test_exit()