Home
last modified time | relevance | path

Searched defs:hwpt_id (Results 1 – 3 of 3) 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
123 #define test_cmd_mock_domain(ioas_id, stdev_id, hwpt_id, idev_id) \ argument
126 #define test_err_mock_domain(_errno, ioas_id, stdev_id, hwpt_id) \ argument
132 __u32 *hwpt_id, __u32 *idev_id) in _test_cmd_mock_domain_flags() argument
154 test_cmd_mock_domain_flags(ioas_id,flags,stdev_id,hwpt_id,idev_id) global() argument
157 test_err_mock_domain_flags(_errno,ioas_id,flags,stdev_id,hwpt_id) global() argument
163 _test_cmd_mock_domain_replace(int fd,__u32 stdev_id,__u32 pt_id,__u32 * hwpt_id) _test_cmd_mock_domain_replace() argument
191 _test_cmd_hwpt_alloc(int fd,__u32 device_id,__u32 pt_id,__u32 ft_id,__u32 flags,__u32 * hwpt_id,__u32 data_type,void * data,size_t data_len) _test_cmd_hwpt_alloc() argument
214 test_cmd_hwpt_alloc(device_id,pt_id,flags,hwpt_id) global() argument
219 test_cmd_hwpt_alloc_iommupt(device_id,pt_id,flags,iommupt_type,hwpt_id) global() argument
230 test_err_hwpt_alloc(_errno,device_id,pt_id,flags,hwpt_id) global() argument
235 test_cmd_hwpt_alloc_nested(device_id,pt_id,flags,hwpt_id,data_type,data,data_len) global() argument
239 test_err_hwpt_alloc_nested(_errno,device_id,pt_id,flags,hwpt_id,data_type,data,data_len) global() argument
245 test_cmd_hwpt_alloc_iopf(device_id,pt_id,fault_id,flags,hwpt_id,data_type,data,data_len) global() argument
251 test_err_hwpt_alloc_iopf(_errno,device_id,pt_id,fault_id,flags,hwpt_id,data_type,data,data_len) global() argument
257 test_cmd_hwpt_check_iotlb(hwpt_id,iotlb_id,expected) global() argument
274 test_cmd_hwpt_check_iotlb_all(hwpt_id,expected) global() argument
305 _test_cmd_hwpt_invalidate(int fd,__u32 hwpt_id,void * reqs,uint32_t data_type,uint32_t lreq,uint32_t * nreqs) _test_cmd_hwpt_invalidate() argument
322 test_cmd_hwpt_invalidate(hwpt_id,reqs,data_type,lreq,nreqs) global() argument
328 test_err_hwpt_invalidate(_errno,hwpt_id,reqs,data_type,lreq,nreqs) global() argument
387 _test_cmd_set_dirty_tracking(int fd,__u32 hwpt_id,bool enabled) _test_cmd_set_dirty_tracking() argument
401 test_cmd_set_dirty_tracking(hwpt_id,enabled) global() argument
404 _test_cmd_get_dirty_bitmap(int fd,__u32 hwpt_id,size_t length,__u64 iova,size_t page_size,__u64 * bitmap,__u32 flags) _test_cmd_get_dirty_bitmap() argument
425 test_cmd_get_dirty_bitmap(fd,hwpt_id,length,iova,page_size,bitmap,flags) global() argument
430 _test_cmd_mock_domain_set_dirty(int fd,__u32 hwpt_id,size_t length,__u64 iova,size_t page_size,__u64 * bitmap,__u64 * dirty) _test_cmd_mock_domain_set_dirty() argument
455 test_cmd_mock_domain_set_dirty(fd,hwpt_id,length,iova,page_size,bitmap,nr) global() argument
461 _test_mock_dirty_bitmaps(int fd,__u32 hwpt_id,size_t length,__u64 iova,size_t page_size,size_t pte_page_size,__u64 * bitmap,__u64 nbits,__u32 flags,struct __test_metadata * _metadata) _test_mock_dirty_bitmaps() argument
511 test_mock_dirty_bitmaps(hwpt_id,length,iova,page_size,pte_size,bitmap,bitmap_size,flags,_metadata) global() argument
971 _test_cmd_viommu_alloc(int fd,__u32 device_id,__u32 hwpt_id,__u32 flags,__u32 type,void * data,__u32 data_len,__u32 * viommu_id) _test_cmd_viommu_alloc() argument
994 test_cmd_viommu_alloc(device_id,hwpt_id,type,data,data_len,viommu_id) global() argument
998 test_err_viommu_alloc(_errno,device_id,hwpt_id,type,data,data_len,viommu_id) global() argument
1191 test_cmd_pasid_attach(pasid,hwpt_id) global() argument
1195 test_err_pasid_attach(_errno,pasid,hwpt_id) global() argument
1217 test_cmd_pasid_replace(pasid,hwpt_id) global() argument
1221 test_err_pasid_replace(_errno,pasid,hwpt_id) global() argument
1245 test_cmd_pasid_check_hwpt(int fd,__u32 stdev_id,__u32 pasid,__u32 hwpt_id) test_cmd_pasid_check_hwpt() argument
[all...]
H A Diommufd_fail_nth.c312 __u32 hwpt_id; in TEST_FAIL_NTH() local
348 __u32 hwpt_id; in TEST_FAIL_NTH() local
385 __u32 hwpt_id; in TEST_FAIL_NTH() local
565 __u32 hwpt_id; in TEST_FAIL_NTH() local
635 uint32_t hwpt_id; TEST_FAIL_NTH() local
[all...]
H A Diommufd.c341 uint32_t hwpt_id; in FIXTURE() local
1590 __u32 hwpt_id; TEST_F() local
1619 uint32_t hwpt_id; FIXTURE() local
2053 uint32_t hwpt_id[2]; 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...]