Searched refs:hwpt_id (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/iommu/ |
H A D | iommufd_utils.h | 48 __u32 *hwpt_id, __u32 *idev_id) in _test_cmd_mock_domain() 64 if (hwpt_id) in _test_cmd_mock_domain() 65 *hwpt_id = cmd.mock_domain.out_hwpt_id; in _test_cmd_mock_domain() 70 #define test_cmd_mock_domain(ioas_id, stdev_id, hwpt_id, idev_id) \ 72 hwpt_id, idev_id)) 73 #define test_err_mock_domain(_errno, ioas_id, stdev_id, hwpt_id) \ 75 stdev_id, hwpt_id, NULL)) 78 __u32 *hwpt_id) in _test_cmd_mock_domain_replace() 93 if (hwpt_id) in _test_cmd_mock_domain_replace() 94 *hwpt_id in _test_cmd_mock_domain_replace() 47 _test_cmd_mock_domain(int fd, unsigned int ioas_id, __u32 *stdev_id, __u32 *hwpt_id, __u32 *idev_id) _test_cmd_mock_domain() argument 77 _test_cmd_mock_domain_replace(int fd, __u32 stdev_id, __u32 pt_id, __u32 *hwpt_id) _test_cmd_mock_domain_replace() argument 105 _test_cmd_hwpt_alloc(int fd, __u32 device_id, __u32 pt_id, __u32 *hwpt_id) _test_cmd_hwpt_alloc() argument [all...] |
H A D | iommufd_fail_nth.c | 303 __u32 hwpt_id; in TEST_FAIL_NTH() local 318 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH() 329 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH() 340 __u32 hwpt_id; in TEST_FAIL_NTH() local 353 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH() 373 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH() 520 __u32 hwpt_id; in TEST_FAIL_NTH() local 533 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH() 584 uint32_t hwpt_id; in TEST_FAIL_NTH() local 618 if (_test_cmd_hwpt_alloc(self->fd, idev_id, ioas_id, &hwpt_id)) in TEST_FAIL_NTH() [all...] |
H A D | iommufd.c | 188 uint32_t hwpt_id; in FIXTURE() local 216 &self->hwpt_id, &self->device_id); in FIXTURE_SETUP() 267 test_cmd_mock_domain(self->hwpt_id, NULL, NULL, NULL); in TEST_F() 269 test_err_mock_domain(ENOENT, self->hwpt_id, NULL, NULL); in TEST_F() 1069 uint32_t hwpt_id; in FIXTURE() local 1096 self->hwpt_id = self->hwpt_ids[0]; in FIXTURE_SETUP() 1145 .id = self->hwpt_id, \ 1408 uint32_t hwpt_id; in TEST_F() local 1410 test_cmd_hwpt_alloc(self->idev_ids[0], self->ioas_id, &hwpt_id); in TEST_F() 1411 test_cmd_mock_domain(hwpt_id, in TEST_F() [all...] |
Completed in 4 milliseconds