Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/iommufd/
Dselftest.c44 MOCK_IO_PAGE_SIZE = PAGE_SIZE / 2, enumerator
45 MOCK_HUGE_PAGE_SIZE = 512 * MOCK_IO_PAGE_SIZE,
52 MOCK_PFN_MASK = ULONG_MAX / MOCK_IO_PAGE_SIZE,
221 for (cur = iova; cur < end; cur += MOCK_IO_PAGE_SIZE) { in mock_test_and_clear_dirty()
222 ent = xa_load(&mock->pfns, cur / MOCK_IO_PAGE_SIZE); in mock_test_and_clear_dirty()
232 old = xa_store(&mock->pfns, cur / MOCK_IO_PAGE_SIZE, in mock_test_and_clear_dirty()
255 unsigned long pgsize = MOCK_IO_PAGE_SIZE; in mock_domain_read_and_clear_dirty()
258 ent = xa_load(&mock->pfns, iova / MOCK_IO_PAGE_SIZE); in mock_domain_read_and_clear_dirty()
292 mock->domain.pgsize_bitmap = MOCK_IO_PAGE_SIZE; in mock_domain_alloc_paging()
393 WARN_ON(iova % MOCK_IO_PAGE_SIZE); in mock_domain_map_pages()
[all …]