Searched refs:mock_nested (Results 1 – 1 of 1) sorted by relevance
317 struct mock_iommu_domain_nested *mock_nested; in __mock_domain_alloc_nested() local329 mock_nested = kzalloc(sizeof(*mock_nested), GFP_KERNEL); in __mock_domain_alloc_nested()330 if (!mock_nested) in __mock_domain_alloc_nested()332 mock_nested->domain.ops = &domain_nested_ops; in __mock_domain_alloc_nested()333 mock_nested->domain.type = IOMMU_DOMAIN_NESTED; in __mock_domain_alloc_nested()335 mock_nested->iotlb[i] = user_cfg.iotlb; in __mock_domain_alloc_nested()336 return mock_nested; in __mock_domain_alloc_nested()343 struct mock_iommu_domain_nested *mock_nested; in mock_domain_alloc_nested() local355 mock_nested = __mock_domain_alloc_nested(user_data); in mock_domain_alloc_nested()356 if (IS_ERR(mock_nested)) in mock_domain_alloc_nested()[all …]