Home
last modified time | relevance | path

Searched refs:mBuf (Results 1 – 13 of 13) sorted by relevance

/hardware/intel/common/libwsbm/src/
Dwsbm_mallocpool.c59 struct _WsbmMallocBuffer *mBuf = malloc(size + sizeof(*mBuf) + 16); in pool_create() local
61 if (!mBuf) in pool_create()
64 wsbmBufStorageInit(&mBuf->buf, pool); in pool_create()
65 mBuf->size = size; in pool_create()
66 mBuf->mem = (void *)((unsigned long)mBuf + sizeof(*mBuf)); in pool_create()
70 return &mBuf->buf; in pool_create()
/hardware/intel/img/hwcomposer/merrifield/common/utils/
DDump.cpp25 : mBuf(buf), in Dump()
40 if (!mBuf || !mLen) in append()
45 len = vsnprintf(mBuf, mLen, fmt, ap); in append()
49 mBuf += len; in append()
DDump.h29 char *mBuf;
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/utils/
DDump.cpp25 : mBuf(buf), in Dump()
40 if (!mBuf || !mLen) in append()
45 len = vsnprintf(mBuf, mLen, fmt, ap); in append()
49 mBuf += len; in append()
DDump.h29 char *mBuf;
/hardware/qcom/display/msm8994/liboverlay/
DoverlayWriteback.cpp40 if(mBuf.bufSz() == size) { in manageMem()
43 if(mBuf.valid()) { in manageMem()
44 if(!mBuf.close()) { in manageMem()
53 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc()
55 mBuf.close(); in alloc()
59 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc()
60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc()
71 if(mBuf.valid()) { in dealloc()
72 ret = mBuf.close(); in dealloc()
DoverlayWriteback.h49 int getDstFd() const { return mBuf.getFD(); } in getDstFd()
54 OvMem mBuf; variable
/hardware/qcom/display/msm8909/liboverlay/
DoverlayWriteback.cpp40 if(mBuf.bufSz() == size) { in manageMem()
43 if(mBuf.valid()) { in manageMem()
44 if(!mBuf.close()) { in manageMem()
53 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc()
55 mBuf.close(); in alloc()
59 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc()
60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc()
71 if(mBuf.valid()) { in dealloc()
72 ret = mBuf.close(); in dealloc()
DoverlayWriteback.h49 int getDstFd() const { return mBuf.getFD(); } in getDstFd()
54 OvMem mBuf; variable
/hardware/qcom/display/msm8084/liboverlay/
DoverlayWriteback.cpp40 if(mBuf.bufSz() == size) { in manageMem()
43 if(mBuf.valid()) { in manageMem()
44 if(!mBuf.close()) { in manageMem()
53 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc()
55 mBuf.close(); in alloc()
59 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc()
60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc()
71 if(mBuf.valid()) { in dealloc()
72 ret = mBuf.close(); in dealloc()
DoverlayWriteback.h49 int getDstFd() const { return mBuf.getFD(); } in getDstFd()
54 OvMem mBuf; variable
/hardware/qcom/display/msm8226/liboverlay/
DoverlayWriteback.cpp40 if(mBuf.bufSz() == size) { in manageMem()
43 if(mBuf.valid()) { in manageMem()
44 if(!mBuf.close()) { in manageMem()
53 if(!mBuf.open(NUM_BUFS, size, isSecure)){ in alloc()
55 mBuf.close(); in alloc()
59 OVASSERT(MAP_FAILED != mBuf.addr(), "MAP failed"); in alloc()
60 OVASSERT(mBuf.getFD() != -1, "getFd is -1"); in alloc()
71 if(mBuf.valid()) { in dealloc()
72 ret = mBuf.close(); in dealloc()
DoverlayWriteback.h49 int getDstFd() const { return mBuf.getFD(); } in getDstFd()
54 OvMem mBuf; variable