Lines Matching refs:cb
71 for (cb_handle_30_t* cb : cbs) { in allocate()
72 freeCb(std::unique_ptr<cb_handle_30_t>(cb)); in allocate()
248 cb_handle_30_t* cb; in allocateImpl2() local
255 &cb); in allocateImpl2()
257 cbs->push_back(cb); in allocateImpl2()
332 cb_handle_30_t** cb) { in allocateCb() argument
397 *cb = handle.release(); in allocateCb()
401 void freeCb(std::unique_ptr<cb_handle_30_t> cb) { in freeCb() argument
405 if (qemu_pipe_valid(cb->hostHandleRefCountFd)) { in freeCb()
406 qemu_pipe_close(cb->hostHandleRefCountFd); in freeCb()
408 GoldfishAddressSpaceBlock::memoryUnmap(cb->getBufferPtr(), cb->mmapedSize); in freeCb()
409 GoldfishAddressSpaceHostMemoryAllocator::closeHandle(cb->bufferFd); in freeCb()