Home
last modified time | relevance | path

Searched refs:rman (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_thp.c54 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_get_node() local
55 struct drm_mm *mm = &rman->mm; in vmw_thp_get_node()
74 spin_lock(&rman->lock); in vmw_thp_get_node()
97 spin_unlock(&rman->lock); in vmw_thp_get_node()
114 struct vmw_thp_manager *rman = to_thp_manager(man); in vmw_thp_put_node() local
117 spin_lock(&rman->lock); in vmw_thp_put_node()
119 spin_unlock(&rman->lock); in vmw_thp_put_node()
128 struct vmw_thp_manager *rman; in vmw_thp_init() local
130 rman = kzalloc(sizeof(*rman), GFP_KERNEL); in vmw_thp_init()
131 if (!rman) in vmw_thp_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_range_manager.c62 struct ttm_range_manager *rman = to_range_manager(man); in ttm_range_man_alloc() local
63 struct drm_mm *mm = &rman->mm; in ttm_range_man_alloc()
81 spin_lock(&rman->lock); in ttm_range_man_alloc()
86 spin_unlock(&rman->lock); in ttm_range_man_alloc()
101 struct ttm_range_manager *rman = to_range_manager(man); in ttm_range_man_free() local
104 spin_lock(&rman->lock); in ttm_range_man_free()
106 spin_unlock(&rman->lock); in ttm_range_man_free()
120 struct ttm_range_manager *rman; in ttm_range_man_init() local
122 rman = kzalloc(sizeof(*rman), GFP_KERNEL); in ttm_range_man_init()
123 if (!rman) in ttm_range_man_init()
[all …]