H A D | iommufd_utils.h | 152 static int _test_cmd_mock_domain_replace(int fd, __u32 stdev_id, __u32 pt_id, 160 .pt_id = pt_id, in _test_cmd_hwpt_alloc() 169 *hwpt_id = cmd.mock_domain_replace.pt_id; in _test_cmd_hwpt_alloc() 173 #define test_cmd_mock_domain_replace(stdev_id, pt_id) \ in _test_cmd_hwpt_alloc() 174 ASSERT_EQ(0, _test_cmd_mock_domain_replace(self->fd, stdev_id, pt_id, \ in _test_cmd_hwpt_alloc() 176 #define test_err_mock_domain_replace(_errno, stdev_id, pt_id) \ in _test_cmd_hwpt_alloc() 178 pt_id, NULL)) in _test_cmd_hwpt_alloc() 180 static int _test_cmd_hwpt_alloc(int fd, __u32 device_id, __u32 pt_id, __u32 ft_id, in _test_cmd_hwpt_alloc() 188 .pt_id 130 _test_cmd_mock_domain_replace(int fd,__u32 stdev_id,__u32 pt_id,__u32 * hwpt_id) _test_cmd_mock_domain_replace() argument 151 test_cmd_mock_domain_replace(stdev_id,pt_id) global() argument 154 test_err_mock_domain_replace(_errno,stdev_id,pt_id) global() argument 158 _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 182 test_cmd_hwpt_alloc(device_id,pt_id,flags,hwpt_id) global() argument 186 test_err_hwpt_alloc(_errno,device_id,pt_id,flags,hwpt_id) global() argument 191 test_cmd_hwpt_alloc_nested(device_id,pt_id,flags,hwpt_id,data_type,data,data_len) global() argument 195 test_err_hwpt_alloc_nested(_errno,device_id,pt_id,flags,hwpt_id,data_type,data,data_len) global() argument 201 test_cmd_hwpt_alloc_iopf(device_id,pt_id,fault_id,flags,hwpt_id,data_type,data,data_len) global() argument 206 test_err_hwpt_alloc_iopf(_errno,device_id,pt_id,fault_id,flags,hwpt_id,data_type,data,data_len) global() argument [all...] |