/drivers/gpu/drm/ttm/ |
H A D | ttm_memory.c | 44 struct ttm_mem_global *glob; member in struct:ttm_mem_zone 92 spin_lock(&zone->glob->lock); 103 spin_unlock(&zone->glob->lock); 109 static void ttm_check_swapping(struct ttm_mem_global *glob); 129 spin_lock(&zone->glob->lock); 142 spin_unlock(&zone->glob->lock); 144 ttm_check_swapping(zone->glob); 171 struct ttm_mem_global *glob = local 174 kfree(glob); 181 static bool ttm_zones_above_swap_target(struct ttm_mem_global *glob, argument 213 ttm_shrink(struct ttm_mem_global *glob, bool from_wq, uint64_t extra) argument 239 struct ttm_mem_global *glob = local 245 ttm_mem_init_kernel_zone(struct ttm_mem_global *glob, const struct sysinfo *si) argument 277 ttm_mem_init_highmem_zone(struct ttm_mem_global *glob, const struct sysinfo *si) argument 313 ttm_mem_init_dma32_zone(struct ttm_mem_global *glob, const struct sysinfo *si) argument 361 ttm_mem_global_init(struct ttm_mem_global *glob) argument 406 ttm_mem_global_release(struct ttm_mem_global *glob) argument 428 ttm_check_swapping(struct ttm_mem_global *glob) argument 450 ttm_mem_global_free_zone(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount) argument 467 ttm_mem_global_free(struct ttm_mem_global *glob, uint64_t amount) argument 474 ttm_mem_global_reserve(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t amount, bool reserve) argument 514 ttm_mem_global_alloc_zone(struct ttm_mem_global *glob, struct ttm_mem_zone *single_zone, uint64_t memory, bool no_wait, bool interruptible) argument 535 ttm_mem_global_alloc(struct ttm_mem_global *glob, uint64_t memory, bool no_wait, bool interruptible) argument 548 ttm_mem_global_alloc_page(struct ttm_mem_global *glob, struct page *page, bool no_wait, bool interruptible) argument 571 ttm_mem_global_free_page(struct ttm_mem_global *glob, struct page *page) argument [all...] |
H A D | ttm_execbuf_util.c | 61 struct ttm_bo_global *glob; local 67 glob = entry->bo->glob; 69 spin_lock(&glob->lru_lock); 76 spin_unlock(&glob->lru_lock); 98 struct ttm_bo_global *glob; local 106 glob = entry->bo->glob; 167 spin_lock(&glob->lru_lock); 169 spin_unlock(&glob 179 struct ttm_bo_global *glob; local [all...] |
H A D | ttm_bo.c | 108 struct ttm_bo_global *glob = local 112 (unsigned long) atomic_read(&glob->bo_count)); 152 atomic_dec(&bo->glob->bo_count); 161 ttm_mem_global_free(bdev->glob->mem_glob, acc_size); 180 list_add_tail(&bo->swap, &bo->glob->swap_lru); 224 spin_lock(&bo->glob->lru_lock); 226 spin_unlock(&bo->glob->lru_lock); 237 struct ttm_bo_global *glob = bo->glob; local 253 page_flags, glob 429 struct ttm_bo_global *glob = bo->glob; local 486 struct ttm_bo_global *glob = bo->glob; local 556 struct ttm_bo_global *glob = bdev->glob; local 716 struct ttm_bo_global *glob = bdev->glob; local 1240 struct ttm_bo_global *glob = bdev->glob; local 1350 struct ttm_bo_global *glob = local 1360 struct ttm_bo_global *glob = ref->object; local 1371 struct ttm_bo_global *glob = ref->object; local 1415 struct ttm_bo_global *glob = bdev->glob; local 1453 ttm_bo_device_init(struct ttm_bo_device *bdev, struct ttm_bo_global *glob, struct ttm_bo_driver *driver, struct address_space *mapping, uint64_t file_page_offset, bool need_dma32) argument 1614 struct ttm_bo_global *glob = local [all...] |
H A D | ttm_tt.c | 192 ttm->glob = bdev->glob; 224 ttm->glob = bdev->glob;
|
H A D | ttm_page_alloc.c | 808 int ttm_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) argument 833 &glob->kobj, "pool"); 862 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; 905 ttm_mem_global_free_page(ttm->glob->mem_glob,
|
H A D | ttm_page_alloc_dma.c | 869 struct ttm_mem_global *mem_glob = ttm->glob->mem_glob; 969 ttm_mem_global_free_page(ttm->glob->mem_glob, 975 ttm_mem_global_free_page(ttm->glob->mem_glob, 1073 int ttm_dma_page_alloc_init(struct ttm_mem_global *glob, unsigned max_pages) argument 1094 &glob->kobj, "dma_pool");
|
/drivers/gpu/drm/ |
H A D | drm_global.c | 42 static struct drm_global_item glob[DRM_GLOBAL_NUM]; variable in typeref:struct:drm_global_item 49 struct drm_global_item *item = &glob[i]; 60 struct drm_global_item *item = &glob[i]; 69 struct drm_global_item *item = &glob[ref->global_type]; 98 struct drm_global_item *item = &glob[ref->global_type];
|
/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_buffer.c | 382 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); local 407 ret = ttm_mem_global_alloc(glob, vmw_tt->sg_alloc_size, false, 425 ttm_mem_global_free(glob, over_alloc); 455 ttm_mem_global_free(glob, vmw_tt->sg_alloc_size); 627 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); local 636 ret = ttm_mem_global_alloc(glob, size, false, true); 642 ttm_mem_global_free(glob, size); 654 struct ttm_mem_global *glob = vmw_mem_glob(dev_priv); local 668 ttm_mem_global_free(glob, size);
|
/drivers/gpu/drm/qxl/ |
H A D | qxl_release.c | 435 struct ttm_bo_global *glob; local 460 glob = bo->glob; 462 spin_lock(&glob->lru_lock); 472 spin_unlock(&glob->lru_lock);
|
H A D | qxl_ttm.c | 455 struct ttm_bo_global *glob = rdev->mman.bdev.glob; local 457 spin_lock(&glob->lru_lock); 459 spin_unlock(&glob->lru_lock);
|
/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 997 struct ttm_bo_global *glob = rdev->mman.bdev.glob; local 999 spin_lock(&glob->lru_lock); 1001 spin_unlock(&glob->lru_lock);
|
/drivers/ata/ |
H A D | libata-core.c | 62 #include <linux/glob.h>
|