Lines Matching defs:mem
150 OvMem mem;
152 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
154 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){
156 mem.close();
160 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
161 OVASSERT(mem.getFD() != -1, "getFd is -1");
163 mRotDataInfo.dst.memory_id = mem.getFD();
165 mMem.curr().m = mem;
183 ALOGE("Mdp Rot error closing mem");
229 remap(RotMem::Mem::ROT_NUM_BUFS);
243 // if the prev mem is valid, we need to close
249 ALOGE("%s error in closing prev rot mem", __FUNCTION__);