Searched refs:ion_fd (Results 1 – 2 of 2) sorted by relevance
231 DmaBufTester() : ion_fd(ion_open()), ion_heap_mask(get_ion_heap_mask()) {} in DmaBufTester()234 if (ion_fd >= 0) { in ~DmaBufTester()235 ion_close(ion_fd); 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()280 if (ion_fd < 0) { in get_ion_heap_mask()284 if (ion_is_legacy(ion_fd)) { in get_ion_heap_mask()292 int err = ion_query_heap_cnt(ion_fd, &cnt); in get_ion_heap_mask()299 err = ion_query_get_heaps(ion_fd, cnt, &heaps[0]); in get_ion_heap_mask()314 int ion_fd; member in DmaBufTester
27 int legacy_ion_custom_callback(int ion_fd) { in legacy_ion_custom_callback() argument29 if (!ion_is_legacy(ion_fd)) { in legacy_ion_custom_callback()