Searched refs:ion_heap_mask (Results 1 – 3 of 3) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 114 int BufferAllocator::MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, in MapNameToIonMask() argument 116 if (!ion_heap_mask) in MapNameToIonMask() 118 IonHeapConfig heap_config = { ion_heap_mask, ion_heap_flags }; in MapNameToIonMask() 143 unsigned int ion_heap_mask = 1 << ion_heap_id; in MapNameToIonName() local 144 IonHeapConfig heap_config = { ion_heap_mask, ion_heap_flags }; in MapNameToIonName()
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo_test.cpp | 231 DmaBufTester() : ion_fd(ion_open()), ion_heap_mask(get_ion_heap_mask()) {} in DmaBufTester() 239 bool is_valid() { return (ion_fd >= 0 && ion_heap_mask > 0); } in is_valid() 243 int err = ion_alloc_fd(ion_fd, size, 0, ion_heap_mask, 0, &fd); in allocate() 315 const int ion_heap_mask; member in DmaBufTester
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocator.h | 136 int MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask,
|