Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/iommu/
H A Diommufd_fail_nth.c335 if (_test_ioctl_destroy(self->fd, stdev_id)) in TEST_FAIL_NTH()
371 if (_test_ioctl_destroy(self->fd, stdev_id)) in TEST_FAIL_NTH()
412 if (_test_ioctl_destroy(self->fd, stdev_id)) in TEST_FAIL_NTH()
415 if (_test_ioctl_destroy(self->fd, stdev_id2)) in TEST_FAIL_NTH()
616 if (_test_ioctl_destroy(self->fd, stdev_id)) in TEST_FAIL_NTH()
H A Diommufd.c83 EXPECT_ERRNO(ENOENT, _test_ioctl_destroy(self->fd, 0)); in TEST_F()
420 _test_ioctl_destroy(self->fd, self->ioas_id)); in TEST_F()
523 _test_ioctl_destroy(self->fd, parent_hwpt_id)); in TEST_F()
673 _test_ioctl_destroy(self->fd, nested_hwpt_id[0])); in TEST_F()
678 _test_ioctl_destroy(self->fd, nested_hwpt_id[1])); in TEST_F()
684 _test_ioctl_destroy(self->fd, iopf_hwpt_id)); in TEST_F()
735 _test_ioctl_destroy(self->fd, self->ioas_id)); in TEST_F()
2066 EXPECT_ERRNO(EBUSY, _test_ioctl_destroy(self->fd, hwpt_id[0])); in TEST_F()
2068 EXPECT_ERRNO(EBUSY, _test_ioctl_destroy(self->fd, hwpt_id[1])); in TEST_F()
2864 _test_ioctl_destroy(sel in TEST_F()
[all...]
H A Diommufd_utils.h596 static int _test_ioctl_destroy(int fd, unsigned int id) in _test_ioctl_destroy() function
604 #define test_ioctl_destroy(id) ASSERT_EQ(0, _test_ioctl_destroy(self->fd, id))