Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/iommufd/
Diommufd_test.h180 __u32 iotlb_id; member
Dselftest.c599 i, iotlb_id); in mock_domain_cache_invalidate_user()
608 if (inv.iotlb_id > MOCK_NESTED_DOMAIN_IOTLB_ID_MAX) { in mock_domain_cache_invalidate_user()
618 mock_nested->iotlb[inv.iotlb_id] = 0; in mock_domain_cache_invalidate_user()
943 u32 mockpt_id, unsigned int iotlb_id, in iommufd_test_md_check_iotlb() argument
957 if (iotlb_id > MOCK_NESTED_DOMAIN_IOTLB_ID_MAX || in iommufd_test_md_check_iotlb()
958 mock_nested->iotlb[iotlb_id] != iotlb) in iommufd_test_md_check_iotlb()
/linux-6.12.1/tools/testing/selftests/iommu/
Diommufd.c424 inv_reqs[0].iotlb_id = MOCK_NESTED_DOMAIN_IOTLB_ID_MAX + 1; in TEST_F()
436 inv_reqs[0].iotlb_id = 0; in TEST_F()
438 inv_reqs[1].iotlb_id = 1; in TEST_F()
457 inv_reqs[0].iotlb_id = 0; in TEST_F()
459 inv_reqs[1].iotlb_id = MOCK_NESTED_DOMAIN_IOTLB_ID_MAX + 1; in TEST_F()
475 inv_reqs[0].iotlb_id = 1; in TEST_F()
490 inv_reqs[0].iotlb_id = 2; in TEST_F()
492 inv_reqs[1].iotlb_id = 3; in TEST_F()
Diommufd_utils.h213 #define test_cmd_hwpt_check_iotlb(hwpt_id, iotlb_id, expected) \ argument
220 .id = iotlb_id, \