Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c419 if (ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_RW), in TEST_FAIL_NTH()
424 if (ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_RW), in TEST_FAIL_NTH()
429 if (ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_RW), in TEST_FAIL_NTH()
434 if (ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_RW), in TEST_FAIL_NTH()
450 if (ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_RW), in TEST_FAIL_NTH()
498 if (ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_RW), in TEST_FAIL_NTH()
557 if (ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_RW), in TEST_FAIL_NTH()
H A Diommufd.c443 ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ADD_RESERVED), in TEST_F()
514 _IOMMU_TEST_CMD(IOMMU_TEST_OP_ADD_RESERVED), in TEST_F()
521 ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ADD_RESERVED), in TEST_F()
594 ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ADD_RESERVED), in TEST_F()
651 ioctl(self->fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_PAGES), in TEST_F()
696 _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_PAGES), in TEST_F()
704 _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_PAGES), in TEST_F()
708 _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_PAGES), in TEST_F()
717 _IOMMU_TEST_CMD(IOMMU_TEST_OP_ACCESS_PAGES), in TEST_F()
723 _IOMMU_TEST_CMD(IOMMU_TEST_OP_MD_CHECK_MAP), in TEST_F()
[all …]
H A Diommufd_utils.h17 #define _IOMMU_TEST_CMD(x) IOMMU_TEST_CMD macro
43 _IOMMU_TEST_CMD(IOMMU_TEST_OP_MD_CHECK_REFS), \
317 return ioctl(fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_SET_TEMP_MEMORY_LIMIT), in _test_ioctl_set_temp_memory_limit()
343 EXPECT_EQ(0, ioctl(fd, _IOMMU_TEST_CMD(IOMMU_TEST_OP_MD_CHECK_REFS), in teardown_iommufd()