Searched refs:prev_mem_buf (Results 1 – 1 of 1) sorted by relevance
245 DynamicMemBufPtr prev_mem_buf; in CombineMemBuf() local249 prev_mem_buf = prev_iter->second; in CombineMemBuf()250 MS_EXCEPTION_IF_NULL(prev_mem_buf); in CombineMemBuf()251 if (prev_mem_buf->status_ == kMemBufIdle) { in CombineMemBuf()252 EraseIdleMemBuf(prev_mem_buf->size_, prev_mem_buf->device_addr_); in CombineMemBuf()253 prev_mem_buf->size_ += mem_buf->size_; in CombineMemBuf()260 (void)global_idle_mem_buf_map_.emplace(prev_mem_buf->size_, prev_mem_buf); in CombineMemBuf()