Lines Matching refs:numDescriptors

372 …ool check_buffers_sharable(const gralloc_buffer_descriptor_t *descriptors, uint32_t numDescriptors)  in check_buffers_sharable()  argument
379 if (numDescriptors <= 1) in check_buffers_sharable()
384 for (i = 0; i < numDescriptors; i++) in check_buffers_sharable()
417 …ax_buffer_descriptor_index(const gralloc_buffer_descriptor_t *descriptors, uint32_t numDescriptors) in get_max_buffer_descriptor_index() argument
422 for (i = 0; i < numDescriptors; i++) in get_max_buffer_descriptor_index()
486 … uint32_t numDescriptors, buffer_handle_t *pHandle, bool *shared_backend) in mali_gralloc_ion_allocate() argument
509 *shared_backend = check_buffers_sharable(descriptors, numDescriptors); in mali_gralloc_ion_allocate()
515 max_buffer_index = get_max_buffer_descriptor_index(descriptors, numDescriptors); in mali_gralloc_ion_allocate()
537 for (i = 0; i < numDescriptors; i++) in mali_gralloc_ion_allocate()
549 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
567 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
576 for (i = 0; i < numDescriptors; i++) in mali_gralloc_ion_allocate()
586 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
599 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
613 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()
621 for (i = 0; i < numDescriptors; i++) in mali_gralloc_ion_allocate()
636 mali_gralloc_ion_free_internal(pHandle, numDescriptors); in mali_gralloc_ion_allocate()