Home
last modified time | relevance | path

Searched refs:mock_nested (Results 1 – 1 of 1) sorted by relevance

/linux-6.15/drivers/iommu/iommufd/
H A Dselftest.c389 mock_nested = kzalloc(sizeof(*mock_nested), GFP_KERNEL); in __mock_domain_alloc_nested()
390 if (!mock_nested) in __mock_domain_alloc_nested()
396 return mock_nested; in __mock_domain_alloc_nested()
416 if (IS_ERR(mock_nested)) in mock_domain_alloc_nested()
417 return ERR_CAST(mock_nested); in mock_domain_alloc_nested()
418 mock_nested->parent = mock_parent; in mock_domain_alloc_nested()
419 return &mock_nested->domain; in mock_domain_alloc_nested()
653 if (IS_ERR(mock_nested)) in mock_viommu_alloc_domain_nested()
654 return ERR_CAST(mock_nested); in mock_viommu_alloc_domain_nested()
657 return &mock_nested->domain; in mock_viommu_alloc_domain_nested()
[all …]