Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/iommu/
H A Diommufd_utils.h101 __u32 *hwpt_id, __u32 *idev_id) in _test_cmd_mock_domain() argument
117 if (hwpt_id) in _test_cmd_mock_domain()
118 *hwpt_id = cmd.mock_domain.out_hwpt_id; in _test_cmd_mock_domain()
123 #define test_cmd_mock_domain(ioas_id, stdev_id, hwpt_id, idev_id) \ argument
125 hwpt_id, idev_id))
126 #define test_err_mock_domain(_errno, ioas_id, stdev_id, hwpt_id) \ argument
128 stdev_id, hwpt_id, NULL))
132 __u32 *hwpt_id, __u32 *idev_id) in _test_cmd_mock_domain_flags() argument
148 if (hwpt_id) in _test_cmd_mock_domain_flags()
149 *hwpt_id = cmd.mock_domain_flags.out_hwpt_id; in _test_cmd_mock_domain_flags()
[all …]
H A Diommufd_fail_nth.c312 __u32 hwpt_id; in TEST_FAIL_NTH() local
327 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH()
338 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH()
348 __u32 hwpt_id; in TEST_FAIL_NTH() local
363 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH()
374 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH()
385 __u32 hwpt_id; in TEST_FAIL_NTH() local
398 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH()
418 if (_test_cmd_mock_domain(self->fd, ioas_id, &stdev_id, &hwpt_id, NULL)) in TEST_FAIL_NTH()
565 __u32 hwpt_id; in TEST_FAIL_NTH() local
[all …]
H A Diommufd.c341 uint32_t hwpt_id; in FIXTURE() local
371 &self->hwpt_id, &self->device_id); in FIXTURE_SETUP()
723 test_cmd_mock_domain(self->hwpt_id, NULL, NULL, NULL); in TEST_F()
725 test_err_mock_domain(ENOENT, self->hwpt_id, NULL, NULL); in TEST_F()
1590 __u32 hwpt_id; in TEST_F() local
1601 &hwpt_id); in TEST_F()
1619 uint32_t hwpt_id; in FIXTURE() local
1650 self->hwpt_id = self->hwpt_ids[0]; in FIXTURE_SETUP()
1718 .id = self->hwpt_id, \
2053 uint32_t hwpt_id[ in TEST_F() local
2082 uint32_t hwpt_id; FIXTURE() local
2241 uint32_t hwpt_id, _hwpt_id; TEST_F() local
2266 uint32_t hwpt_id; TEST_F() local
2282 uint32_t hwpt_id; TEST_F() local
2298 uint32_t hwpt_id; TEST_F() local
2340 uint32_t hwpt_id; TEST_F() local
2778 uint32_t hwpt_id; FIXTURE() local
2845 uint32_t hwpt_id; TEST_F() local
3240 uint32_t hwpt_id; FIXTURE() local
[all...]
/linux/drivers/iommu/iommufd/
H A Dviommu.c60 hwpt_paging = iommufd_get_hwpt_paging(ucmd, cmd->hwpt_id); in iommufd_viommu_alloc_ioctl()
/linux/Documentation/userspace-api/
H A Diommufd.rst229 uAPI, provided an hwpt_id or a viommu_id of a vIOMMU object encapsulating a
249 and an hwpt_id (to associate the vIOMMU to a nesting parent HWPT_PAGING). The