Lines Matching defs:mem
159 OvMem mem;
161 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
163 if(!mem.open(numbufs, bufsz, mRotImgInfo.secure)){
165 mem.close();
169 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
170 OVASSERT(mem.getFD() != -1, "getFd is -1");
172 mRotDataInfo.dst.memory_id = mem.getFD();
174 mMem.curr().m = mem;
192 ALOGE("Mdp Rot error closing mem");
238 remap(RotMem::Mem::ROT_NUM_BUFS);
252 // if the prev mem is valid, we need to close
258 ALOGE("%s error in closing prev rot mem", __FUNCTION__);