Searched refs:drm_fb_id_handle_cache_ (Results 1 – 2 of 2) sorted by relevance
74 for (auto it = drm_fb_id_handle_cache_.begin(); in CleanupEmptyCacheElements()75 it != drm_fb_id_handle_cache_.end();) { in CleanupEmptyCacheElements()77 it = drm_fb_id_handle_cache_.erase(it); in CleanupEmptyCacheElements()86 std::map<GemHandle, std::weak_ptr<DrmFbIdHandle>> drm_fb_id_handle_cache_; variable
138 auto drm_fb_id_cached = drm_fb_id_handle_cache_.find(first_handle); in GetOrCreateFbId()140 if (drm_fb_id_cached != drm_fb_id_handle_cache_.end()) { in GetOrCreateFbId()144 drm_fb_id_handle_cache_.erase(drm_fb_id_cached); in GetOrCreateFbId()149 if (drm_fb_id_handle_cache_.size() > minimal_cleanup_size) { in GetOrCreateFbId()156 drm_fb_id_handle_cache_[first_handle] = fb_id_handle; in GetOrCreateFbId()