Home
last modified time | relevance | path

Searched refs:req_buffer_len (Results 1 – 2 of 2) sorted by relevance

/device/generic/trusty/secure_dpu/
DEmulatorDPUHandler.cpp84 android::base::Result<void> DPUHandler::AllocateBuffer(size_t req_buffer_len, in AllocateBuffer() argument
87 DmabufHeapAlloc(buf_allocator_, "system", req_buffer_len, 0, 0 /* legacy align */); in AllocateBuffer()
90 << " rc = " << dma_buf_fd << " size = " << req_buffer_len; in AllocateBuffer()
94 *allocated_buffer_len = req_buffer_len; in AllocateBuffer()
100 size_t req_buffer_len = static_cast<size_t>(req->buffer_len); in HandleAllocateBuffer() local
101 LOG(DEBUG) << "Requested buffer length: " << req_buffer_len; in HandleAllocateBuffer()
119 auto result = AllocateBuffer(req_buffer_len, &allocated_buffer_len, &buf_fd); in HandleAllocateBuffer()
DDPUHandler.h39 android::base::Result<void> AllocateBuffer(size_t req_buffer_len, size_t* allocated_buffer_len,