Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/iommu/
Diommufd_utils.h69 __u32 *hwpt_id, __u32 *idev_id) in _test_cmd_mock_domain() argument
85 if (hwpt_id) in _test_cmd_mock_domain()
86 *hwpt_id = cmd.mock_domain.out_hwpt_id; in _test_cmd_mock_domain()
91 #define test_cmd_mock_domain(ioas_id, stdev_id, hwpt_id, idev_id) \ argument
93 hwpt_id, idev_id))
94 #define test_err_mock_domain(_errno, ioas_id, stdev_id, hwpt_id) \ argument
96 stdev_id, hwpt_id, NULL))
100 __u32 *hwpt_id, __u32 *idev_id) in _test_cmd_mock_domain_flags() argument
116 if (hwpt_id) in _test_cmd_mock_domain_flags()
117 *hwpt_id = cmd.mock_domain_flags.out_hwpt_id; in _test_cmd_mock_domain_flags()
[all …]
Diommufd.c194 uint32_t hwpt_id; in FIXTURE() local
222 &self->hwpt_id, &self->device_id); in FIXTURE_SETUP()
561 test_cmd_mock_domain(self->hwpt_id, NULL, NULL, NULL); in TEST_F()
563 test_err_mock_domain(ENOENT, self->hwpt_id, NULL, NULL); in TEST_F()
1363 uint32_t hwpt_id; in FIXTURE() local
1390 self->hwpt_id = self->hwpt_ids[0]; in FIXTURE_SETUP()
1439 .id = self->hwpt_id, \
1701 uint32_t hwpt_id[2]; in TEST_F() local
1706 ~IOMMU_HWPT_ALLOC_NEST_PARENT, &hwpt_id[0]); in TEST_F()
1708 0, &hwpt_id[0]); in TEST_F()
[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, 0, 0, &hwpt_id, in TEST_FAIL_NTH()
[all …]
/linux-6.12.1/include/uapi/linux/
Diommufd.h574 __u32 hwpt_id; member
615 __u32 hwpt_id; member
696 __u32 hwpt_id; member
/linux-6.12.1/drivers/iommu/iommufd/
Dhw_pagetable.c369 hwpt_paging = iommufd_get_hwpt_paging(ucmd, cmd->hwpt_id); in iommufd_hwpt_set_dirty_tracking()
394 hwpt_paging = iommufd_get_hwpt_paging(ucmd, cmd->hwpt_id); in iommufd_hwpt_get_dirty_bitmap()
429 hwpt = iommufd_get_hwpt_nested(ucmd, cmd->hwpt_id); in iommufd_hwpt_invalidate()