| H A D | iommufd_utils.h | 190 static int _test_cmd_hwpt_alloc(int fd, __u32 device_id, __u32 pt_id, __u32 ft_id, in _test_cmd_hwpt_alloc() argument 214 #define test_cmd_hwpt_alloc(device_id, pt_id, flags, hwpt_id) \ argument 218 #define test_cmd_hwpt_alloc_iommupt(device_id, pt_id, flags, iommupt_type, \ argument 230 #define test_err_hwpt_alloc(_errno, device_id, pt_id, flags, hwpt_id) \ argument 235 #define test_cmd_hwpt_alloc_nested(device_id, pt_id, flags, hwpt_id, \ 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 250 test_err_hwpt_alloc_iopf(_errno,device_id,pt_id,fault_id,flags,hwpt_id,data_type,data,data_len) global() argument 281 test_cmd_dev_check_cache(device_id,cache_id,expected) global() argument 298 test_cmd_dev_check_cache_all(device_id,expected) global() argument 825 _test_cmd_get_hw_info(int fd,__u32 device_id,__u32 data_type,void * data,size_t data_len,uint32_t * capabilities,uint8_t * max_pasid) _test_cmd_get_hw_info() argument 885 test_cmd_get_hw_info(device_id,data_type,data,data_len) global() argument 889 test_err_get_hw_info(_errno,device_id,data_type,data,data_len) global() argument 894 test_cmd_get_hw_capabilities(device_id,caps) global() argument 899 test_cmd_get_hw_info_pasid(device_id,max_pasid) global() argument 927 _test_cmd_trigger_iopf(int fd,__u32 device_id,__u32 pasid,__u32 fault_fd) _test_cmd_trigger_iopf() argument 965 test_cmd_trigger_iopf(device_id,fault_fd) global() argument 967 test_cmd_trigger_iopf_pasid(device_id,pasid,fault_fd) 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 [all...] |