Home
last modified time | relevance | path

Searched defs:hwpt_id (Results 1 – 4 of 4) 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
218 test_err_hwpt_alloc(_errno,device_id,pt_id,flags,hwpt_id) global() argument
223 test_cmd_hwpt_alloc_nested(device_id,pt_id,flags,hwpt_id,data_type,data,data_len) global() argument
227 test_err_hwpt_alloc_nested(_errno,device_id,pt_id,flags,hwpt_id,data_type,data,data_len) global() argument
233 test_cmd_hwpt_alloc_iopf(device_id,pt_id,fault_id,flags,hwpt_id,data_type,data,data_len) global() argument
239 test_err_hwpt_alloc_iopf(_errno,device_id,pt_id,fault_id,flags,hwpt_id,data_type,data,data_len) global() argument
245 test_cmd_hwpt_check_iotlb(hwpt_id,iotlb_id,expected) global() argument
262 test_cmd_hwpt_check_iotlb_all(hwpt_id,expected) global() argument
293 _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
310 test_cmd_hwpt_invalidate(hwpt_id,reqs,data_type,lreq,nreqs) global() argument
316 test_err_hwpt_invalidate(_errno,hwpt_id,reqs,data_type,lreq,nreqs) global() argument
375 _test_cmd_set_dirty_tracking(int fd,__u32 hwpt_id,bool enabled) _test_cmd_set_dirty_tracking() argument
389 test_cmd_set_dirty_tracking(hwpt_id,enabled) global() argument
392 _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
413 test_cmd_get_dirty_bitmap(fd,hwpt_id,length,iova,page_size,bitmap,flags) global() argument
418 _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
443 test_cmd_mock_domain_set_dirty(fd,hwpt_id,length,iova,page_size,bitmap,nr) global() argument
449 _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
499 test_mock_dirty_bitmaps(hwpt_id,length,iova,page_size,pte_size,bitmap,bitmap_size,flags,_metadata) global() argument
915 _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
938 test_cmd_viommu_alloc(device_id,hwpt_id,type,data,data_len,viommu_id) global() argument
942 test_err_viommu_alloc(_errno,device_id,hwpt_id,type,data,data_len,viommu_id) global() argument
1137 test_cmd_pasid_attach(pasid,hwpt_id) global() argument
1141 test_err_pasid_attach(_errno,pasid,hwpt_id) global() argument
1163 test_cmd_pasid_replace(pasid,hwpt_id) global() argument
1167 test_err_pasid_replace(_errno,pasid,hwpt_id) global() argument
1191 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.c344 uint32_t hwpt_id; in FIXTURE() local
1581 uint32_t hwpt_id; in FIXTURE() local
2015 uint32_t hwpt_id[2]; in TEST_F() local
2044 uint32_t hwpt_id; FIXTURE() local
2195 uint32_t hwpt_id, _hwpt_id; TEST_F() local
2220 uint32_t hwpt_id; TEST_F() local
2236 uint32_t hwpt_id; TEST_F() local
2251 uint32_t hwpt_id; TEST_F() local
2288 uint32_t hwpt_id; TEST_F() local
2719 uint32_t hwpt_id; FIXTURE() local
2786 uint32_t hwpt_id; TEST_F() local
3181 uint32_t hwpt_id; FIXTURE() local
[all...]
/linux/include/uapi/linux/
H A Diommufd.h740 __u32 hwpt_id; member
781 __u32 hwpt_id; member
889 __u32 hwpt_id; member
1054 __u32 hwpt_id; global() member
[all...]
/linux/drivers/iommu/iommufd/
H A Diommufd_test.h176 __u32 hwpt_id; member