Home
last modified time | relevance | path

Searched refs:ion_heap_mask (Results 1 – 3 of 3) sorted by relevance

/system/memory/libdmabufheap/
DBufferAllocator.cpp118 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/
DBufferAllocator.h182 int MapNameToIonMask(const std::string& heap_name, unsigned int ion_heap_mask,
/system/memory/libmeminfo/libdmabufinfo/
Ddmabufinfo_test.cpp483 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