Home
last modified time | relevance | path

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

/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_ionbuf.c49 int lrc = 0; in buffer_allocate() local
65 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate()
66 if (lrc < 0) { in buffer_allocate()
73 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate()
75 if (lrc < 0) { in buffer_allocate()
116 int lrc = 0; in buffer_deallocate() local
120 lrc = munmap(p_buffer->addr, lsize); in buffer_deallocate()
128 return lrc; in buffer_deallocate()
145 int lrc = 0; in buffer_invalidate() local
158 lrc = ioctl(p_buffer->ion_info_fd.fd, ION_IOC_CUSTOM, &custom_data); in buffer_invalidate()
[all …]
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_ionbuf.c50 int lrc = 0; in buffer_allocate() local
66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate()
67 if (lrc < 0) { in buffer_allocate()
74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate()
76 if (lrc < 0) { in buffer_allocate()
117 int lrc = 0; in buffer_deallocate() local
121 lrc = munmap(p_buffer->addr, lsize); in buffer_deallocate()
129 return lrc; in buffer_deallocate()
/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_ionbuf.c50 int lrc = 0; in buffer_allocate() local
66 lrc = ioctl(p_buffer->ion_fd, ION_IOC_ALLOC, &p_buffer->alloc); in buffer_allocate()
67 if (lrc < 0) { in buffer_allocate()
74 lrc = ioctl(p_buffer->ion_fd, ION_IOC_SHARE, in buffer_allocate()
76 if (lrc < 0) { in buffer_allocate()
117 int lrc = 0; in buffer_deallocate() local
121 lrc = munmap(p_buffer->addr, lsize); in buffer_deallocate()
129 return lrc; in buffer_deallocate()