Searched refs:ion_heap_mask (Results 1 – 3 of 3) sorted by relevance
/system/memory/libdmabufheap/ |
D | BufferAllocator.cpp | 118 int BufferAllocator::MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask, in MapNameToIonMask() argument 120 if (!ion_heap_mask) in MapNameToIonMask() 122 IonHeapConfig heap_config = { ion_heap_mask, ion_heap_flags }; in MapNameToIonMask() 149 unsigned int ion_heap_mask = 1 << ion_heap_id; in MapNameToIonName() local 150 IonHeapConfig heap_config = { ion_heap_mask, ion_heap_flags }; in MapNameToIonName()
|
/system/memory/libdmabufheap/include/BufferAllocator/ |
D | BufferAllocator.h | 182 int MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask,
|
/system/memory/libmeminfo/libdmabufinfo/ |
D | dmabufinfo_test.cpp | 483 DmaBufTester() : ion_fd(ion_open()), ion_heap_mask(get_ion_heap_mask()) {} in DmaBufTester() 491 bool is_valid() { return (ion_fd >= 0 && ion_heap_mask > 0); } in is_valid() 495 int err = ion_alloc_fd(ion_fd, size, 0, ion_heap_mask, 0, &fd); in allocate() 567 const int ion_heap_mask; member in DmaBufTester
|