Searched refs:_test_ioctl_destroy (Results 1 – 3 of 3) sorted by relevance
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd_fail_nth.c | 335 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 D | iommufd.c | 83 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 D | iommufd_utils.h | 596 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))
|