Lines Matching refs:msm_obj
46 struct msm_gem_object *msm_obj; in msm_gem_shrinker_count() local
53 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_count()
54 if (is_purgeable(msm_obj)) in msm_gem_shrinker_count()
55 count += msm_obj->base.size >> PAGE_SHIFT; in msm_gem_shrinker_count()
70 struct msm_gem_object *msm_obj; in msm_gem_shrinker_scan() local
77 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_scan()
80 if (is_purgeable(msm_obj)) { in msm_gem_shrinker_scan()
81 msm_gem_purge(&msm_obj->base, OBJ_LOCK_SHRINKER); in msm_gem_shrinker_scan()
82 freed += msm_obj->base.size >> PAGE_SHIFT; in msm_gem_shrinker_scan()
101 struct msm_gem_object *msm_obj; in msm_gem_shrinker_vmap() local
108 list_for_each_entry(msm_obj, &priv->inactive_list, mm_list) { in msm_gem_shrinker_vmap()
109 if (is_vunmapable(msm_obj)) { in msm_gem_shrinker_vmap()
110 msm_gem_vunmap(&msm_obj->base, OBJ_LOCK_SHRINKER); in msm_gem_shrinker_vmap()