Lines Matching refs:usageInfo

202     C2StoreIonUsageInfo usageInfo;  in UseComponentStoreForIonAllocator()  local
204 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.usage)), in UseComponentStoreForIonAllocator()
205 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.capacity)), in UseComponentStoreForIonAllocator()
231 C2StoreIonUsageInfo usageInfo = { usage.expected, capacity }; in UseComponentStoreForIonAllocator() local
233 c2_status_t res = store->config_sm({&usageInfo}, &failures); in UseComponentStoreForIonAllocator()
235 *align = usageInfo.minAlignment; in UseComponentStoreForIonAllocator()
236 *heapMask = usageInfo.heapMask; in UseComponentStoreForIonAllocator()
237 *flags = usageInfo.allocFlags; in UseComponentStoreForIonAllocator()
255 std::unique_ptr<C2StoreDmaBufUsageInfo> usageInfo; in UseComponentStoreForDmaBufAllocator() local
256 usageInfo = C2StoreDmaBufUsageInfo::AllocUnique(maxHeapNameLen); in UseComponentStoreForDmaBufAllocator()
259 … C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(*usageInfo, usageInfo->m.usage)), in UseComponentStoreForDmaBufAllocator()
261 C2ParamField::Make(*usageInfo, usageInfo->m.capacity)), in UseComponentStoreForDmaBufAllocator()
288 std::unique_ptr<C2StoreDmaBufUsageInfo> usageInfo; in UseComponentStoreForDmaBufAllocator() local
289usageInfo = C2StoreDmaBufUsageInfo::AllocUnique(maxHeapNameLen, usage.expected, capacity); in UseComponentStoreForDmaBufAllocator()
292 c2_status_t res = store->config_sm({&*usageInfo}, &failures); in UseComponentStoreForDmaBufAllocator()
294 *heapName = C2String(usageInfo->m.heapName); in UseComponentStoreForDmaBufAllocator()
295 *flags = usageInfo->m.allocFlags; in UseComponentStoreForDmaBufAllocator()