Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd.c190 uint64_t base_iova; in FIXTURE() local
217 self->base_iova = MOCK_APERTURE_START; in FIXTURE_SETUP()
276 test_ioctl_ioas_map_fixed(buffer, PAGE_SIZE, self->base_iova); in TEST_F()
291 self->base_iova + i * PAGE_SIZE); in TEST_F()
340 self->base_iova + i * PAGE_SIZE); in TEST_F()
342 test_ioctl_ioas_unmap(self->base_iova + i * PAGE_SIZE, in TEST_F()
347 self->base_iova + 16 * PAGE_SIZE); in TEST_F()
348 test_err_ioctl_ioas_unmap(ENOENT, self->base_iova + 16 * PAGE_SIZE, in TEST_F()
350 test_err_ioctl_ioas_unmap(ENOENT, self->base_iova + 17 * PAGE_SIZE, in TEST_F()
355 self->base_iova + 16 * PAGE_SIZE); in TEST_F()
[all …]
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_type1.c1159 struct vfio_dma *dma, dma_addr_t base_iova, in update_user_bitmap() argument
1164 unsigned long bit_offset = (dma->iova - base_iova) >> pgshift; in update_user_bitmap()