Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/iommu/
Diommufd_utils.h48 __u32 *hwpt_id, __u32 *idev_id) in _test_cmd_mock_domain() argument
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) \ argument
72 hwpt_id, idev_id))
73 #define test_err_mock_domain(_errno, ioas_id, stdev_id, hwpt_id) \ argument
75 stdev_id, hwpt_id, NULL))
78 __u32 *hwpt_id) in _test_cmd_mock_domain_replace() argument
93 if (hwpt_id) in _test_cmd_mock_domain_replace()
94 *hwpt_id = cmd.mock_domain_replace.pt_id; in _test_cmd_mock_domain_replace()
[all …]
Diommufd_fail_nth.c303 __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 …]
Diommufd.c188 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, &stddev_id, NULL, NULL); in TEST_F()
[all …]