Searched refs:EXPECT_ERRNO (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/iommu/ |
H A D | iommufd.c | 78 EXPECT_ERRNO(ENOENT, _test_ioctl_destroy(self->fd, 0)); in TEST_F() 80 EXPECT_ERRNO(EFAULT, ioctl(self->fd, IOMMU_DESTROY, NULL)); in TEST_F() 82 EXPECT_ERRNO(ENOTTY, in TEST_F() 99 EXPECT_ERRNO(EINVAL, ioctl(self->fd, _ioctl, &cmd)); \ in TEST_F() 101 EXPECT_ERRNO(E2BIG, ioctl(self->fd, _ioctl, &cmd)); \ in TEST_F() 108 EXPECT_ERRNO(old_errno, \ in TEST_F() 136 EXPECT_ERRNO(ENOENT, ioctl(self->fd, IOMMU_DESTROY, &cmd)); in TEST_F() 139 EXPECT_ERRNO(E2BIG, ioctl(self->fd, IOMMU_DESTROY, &cmd)); in TEST_F() 142 EXPECT_ERRNO(ENOENT, ioctl(self->fd, IOMMU_DESTROY, &cmd)); in TEST_F() 145 EXPECT_ERRNO(EINVAL, ioctl(self->fd, IOMMU_DESTROY, &cmd)); in TEST_F() [all …]
|
H A D | iommufd_utils.h | 74 EXPECT_ERRNO(_errno, _test_cmd_mock_domain(self->fd, ioas_id, \ 102 EXPECT_ERRNO(_errno, _test_cmd_mock_domain_replace(self->fd, stdev_id, \ 188 EXPECT_ERRNO(_errno, _test_cmd_destroy_access_pages( \ 246 EXPECT_ERRNO(_errno, \ 272 EXPECT_ERRNO(_errno, \ 306 EXPECT_ERRNO(_errno, _test_ioctl_ioas_unmap(self->fd, self->ioas_id, \ 348 #define EXPECT_ERRNO(expected_errno, cmd) \ macro 410 EXPECT_ERRNO(_errno, \
|