Home
last modified time | relevance | path

Searched refs:fidx (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gchips/gralloc4/src/allocator/
Dmali_gralloc_ion.cpp607 for (int fidx = 0; fidx < bufDescriptor->fd_count; fidx++) in mali_gralloc_ion_allocate() local
609 if (ion_fd >= 0 && fidx == 0) { in mali_gralloc_ion_allocate()
610 fds[fidx] = ion_fd; in mali_gralloc_ion_allocate()
612 …fds[fidx] = dev->alloc_from_ion_heap(usage, bufDescriptor->alloc_sizes[fidx], ion_flags, &min_pgsz… in mali_gralloc_ion_allocate()
614 if (fds[fidx] < 0) in mali_gralloc_ion_allocate()
618 for (int cidx = 0; cidx < fidx; cidx++) in mali_gralloc_ion_allocate()
715 for (int fidx = 0; fidx < hnd->fd_count; fidx++) { in mali_gralloc_ion_map() local
717 (unsigned char *)mmap(NULL, hnd->alloc_sizes[fidx], PROT_READ | PROT_WRITE, in mali_gralloc_ion_map()
718 MAP_SHARED, hnd->fds[fidx], 0); in mali_gralloc_ion_map()
724 fidx, hnd->fds[fidx], hnd->alloc_sizes[fidx], strerror(err)); in mali_gralloc_ion_map()
[all …]
/hardware/google/gchips/gralloc4/src/core/
Dmali_gralloc_reference.cpp53 for (int fidx = 0; fidx < hnd->fd_count; fidx++) { in mali_gralloc_reference_retain() local
54 hnd->bases[fidx] = 0; in mali_gralloc_reference_retain()
Dmali_gralloc_bufferallocation.cpp926 for (int fidx = 0; fidx < fd_count; fidx++) in prepare_descriptor_exynos_formats() local
932 if (plane[pidx].fd_idx == fidx) in prepare_descriptor_exynos_formats()
948 bufDescriptor->alloc_sizes[fidx] = size; in prepare_descriptor_exynos_formats()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapperMetadata.cpp492 for (int fidx = 0; fidx < handle->fd_count; fidx++) in get_metadata() local
494 total_size += handle->alloc_sizes[fidx]; in get_metadata()
823 for (int fidx = 0; fidx < descriptor.fd_count; fidx++) in getFromBufferDescriptorInfo() local
825 total_size += descriptor.alloc_sizes[fidx]; in getFromBufferDescriptorInfo()