Lines Matching refs:data_len
160 void *data, size_t data_len) in _test_cmd_hwpt_alloc() argument
168 .data_len = data_len, in _test_cmd_hwpt_alloc()
192 data_type, data, data_len) \ argument
194 hwpt_id, data_type, data, data_len))
196 data_type, data, data_len) \ argument
199 hwpt_id, data_type, data, data_len))
202 data_type, data, data_len) \ argument
205 data_len))
207 hwpt_id, data_type, data, data_len) \ argument
211 data_len))
641 size_t data_len, uint32_t *capabilities) in _test_cmd_get_hw_info() argument
647 .data_len = data_len, in _test_cmd_get_hw_info()
663 assert(cmd.data_len == sizeof(struct iommu_test_hw_info)); in _test_cmd_get_hw_info()
669 if (data_len > cmd.data_len) { in _test_cmd_get_hw_info()
670 char *ptr = (char *)(data + cmd.data_len); in _test_cmd_get_hw_info()
673 while (idx < data_len - cmd.data_len) { in _test_cmd_get_hw_info()
680 if (data_len >= offsetofend(struct iommu_test_hw_info, test_reg)) in _test_cmd_get_hw_info()
682 if (data_len >= offsetofend(struct iommu_test_hw_info, flags)) in _test_cmd_get_hw_info()
692 #define test_cmd_get_hw_info(device_id, data, data_len) \ argument
694 data_len, NULL))
696 #define test_err_get_hw_info(_errno, device_id, data, data_len) \ argument
698 data_len, NULL))