Searched refs:mem_glob (Results 1 – 6 of 6) sorted by relevance
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_object.c | 86 struct ttm_mem_global *mem_glob; member 262 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_add() local 280 ret = ttm_mem_global_alloc(mem_glob, sizeof(*ref), in ttm_ref_object_add() 286 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add() 311 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_add() 323 struct ttm_mem_global *mem_glob = tfile->tdev->mem_glob; in ttm_ref_object_release() local 334 ttm_mem_global_free(mem_glob, sizeof(*ref)); in ttm_ref_object_release() 423 *mem_glob, in ttm_object_device_init() 430 tdev->mem_glob = mem_glob; in ttm_object_device_init()
|
H A D | ttm_object.h | 255 (struct ttm_mem_global *mem_glob, unsigned int hash_order);
|
H A D | ttm_bo_driver.h | 461 struct ttm_mem_global *mem_glob; member 485 struct ttm_mem_global *mem_glob; member
|
H A D | ttm_bo.c | 130 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); in ttm_bo_release_list() 1229 struct ttm_mem_global *mem_glob = bdev->glob->mem_glob; in ttm_bo_init() local 1231 ret = ttm_mem_global_alloc(mem_glob, acc_size, false, false); in ttm_bo_init() 1248 ttm_mem_global_free(mem_glob, acc_size); in ttm_bo_init() 1472 ttm_mem_unregister_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_kobj_release() 1494 glob->mem_glob = bo_ref->mem_glob; in ttm_bo_global_init() 1514 ret = ttm_mem_register_shrink(glob->mem_glob, &glob->shrink); in ttm_bo_global_init()
|
H A D | ttm_page_alloc.c | 848 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_pool_populate() local 864 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_pool_populate() 890 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_pool_unpopulate()
|
H A D | ttm_page_alloc_dma.c | 867 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; in ttm_dma_populate() local 901 ret = ttm_mem_global_alloc_page(mem_glob, ttm->pages[i], in ttm_dma_populate() 980 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate() 986 ttm_mem_global_free_page(ttm->glob->mem_glob, in ttm_dma_unpopulate()
|