Lines Matching refs:bufferBits

195         char* const bufferBits = static_cast<char*>(handle.getBufferPtr());  in lock()  local
196 if (!bufferBits) { RETURN_ERROR_CODE(-EINVAL); } in lock()
202 bufferBits); in lock()
206 *vaddr = bufferBits; in lock()
213 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in unlock() local
214 if (!bufferBits) { RETURN_ERROR_CODE(-EINVAL); } in unlock()
217 unlock_impl(handle, bufferBits); in unlock()
229 char* const bufferBits = static_cast<char*>(handle.getBufferPtr()); in lock_ycbcr() local
230 if (!bufferBits) { RETURN_ERROR_CODE(-EINVAL); } in lock_ycbcr()
273 bufferBits); in lock_ycbcr()
278 char* const vaddr1 = static_cast<char*>(bufferBits); in lock_ycbcr()
292 char* const bufferBits) { in lock_impl() argument
330 bufferBits, bufferSize); in lock_impl()
341 rgb888_to_yv12(bufferBits, tmpBuf.data(), in lock_impl()
347 rgb888_to_yuv420p(bufferBits, tmpBuf.data(), in lock_impl()
362 bufferBits); in lock_impl()
381 void unlock_impl(cb_handle_t& handle, char* const bufferBits) { in unlock_impl() argument
393 bitsToSend = bufferBits; in unlock_impl()
410 convertedBuf.data(), bufferBits, in unlock_impl()
421 rcEnc->bindDmaDirectly(bufferBits, in unlock_impl()
792 GoldfishAddressSpaceBlock bufferBits; in goldfish_address_space_host_malloc_buffer_manager_t() local
793 CRASH_IF(host_memory_allocator.hostMalloc(&bufferBits, 256), in goldfish_address_space_host_malloc_buffer_manager_t()
796 m_physAddrToOffset = bufferBits.physAddr() - bufferBits.offset(); in goldfish_address_space_host_malloc_buffer_manager_t()
816 GoldfishAddressSpaceBlock bufferBits; in alloc_buffer() local
817 if (host_memory_allocator.hostMalloc(&bufferBits, bufferSize)) { RETURN_ERROR_CODE(-EIO); } in alloc_buffer()
849 bufferSize, bufferBits.guestPtr(), getpid(), in alloc_buffer()
850 bufferBits.size(), bufferBits.offset()); in alloc_buffer()
851 bufferBits.release(); in alloc_buffer()