Lines Matching refs:msm_obj
47 struct msm_gem_object *msm_obj; in msm_gem_shrinker_count() local
54 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_count()
55 if (is_purgeable(msm_obj)) in msm_gem_shrinker_count()
56 count += msm_obj->base.size >> PAGE_SHIFT; in msm_gem_shrinker_count()
71 struct msm_gem_object *msm_obj; in msm_gem_shrinker_scan() local
78 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_scan()
81 if (is_purgeable(msm_obj)) { in msm_gem_shrinker_scan()
82 msm_gem_purge(&msm_obj->base, OBJ_LOCK_SHRINKER); in msm_gem_shrinker_scan()
83 freed += msm_obj->base.size >> PAGE_SHIFT; in msm_gem_shrinker_scan()
102 struct msm_gem_object *msm_obj; in msm_gem_shrinker_vmap() local
109 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_vmap()
110 if (is_vunmapable(msm_obj)) { in msm_gem_shrinker_vmap()
111 msm_gem_vunmap(&msm_obj->base, OBJ_LOCK_SHRINKER); in msm_gem_shrinker_vmap()