Lines Matching defs:mem
135 remap(RotMem::Mem::ROT_NUM_BUFS);
149 // if the prev mem is valid, we need to close
155 ALOGE("%s error in closing prev rot mem", __FUNCTION__);
165 OvMem mem;
166 OVASSERT(MAP_FAILED == mem.addr(), "MAP failed in open_i");
169 if(!mem.open(numbufs, bufsz, isSecure)){
171 mem.close();
175 OVASSERT(MAP_FAILED != mem.addr(), "MAP failed");
176 OVASSERT(mem.getFD() != -1, "getFd is -1");
178 mRotData.dst_data.memory_id = mem.getFD();
180 mMem.curr().m = mem;
223 ALOGE("Mdss Rot error closing mem");