Home
last modified time | relevance | path

Searched refs:allocated_pages (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/ttm/
Dttm_pool.c65 static atomic_long_t allocated_pages; variable
237 atomic_long_add(1 << pt->order, &allocated_pages); in ttm_pool_type_give()
248 atomic_long_sub(1 << pt->order, &allocated_pages); in ttm_pool_type_take()
482 while (atomic_long_read(&allocated_pages) > page_pool_size) in ttm_pool_free()
548 while (!num_freed && atomic_long_read(&allocated_pages)); in ttm_pool_shrinker_scan()
557 unsigned long num_pages = atomic_long_read(&allocated_pages); in ttm_pool_shrinker_count()
604 atomic_long_read(&allocated_pages), page_pool_size); in ttm_pool_debugfs_footer()
/linux-6.1.9/arch/s390/pci/
Dpci_debug.c73 atomic64_t *counter = &zdev->allocated_pages; in pci_sw_counter_show()
Dpci_dma.c418 atomic64_add(size / PAGE_SIZE, &zdev->allocated_pages); in s390_dma_alloc()
431 atomic64_sub(size / PAGE_SIZE, &zdev->allocated_pages); in s390_dma_free()
Dpci.c168 atomic64_set(&zdev->allocated_pages, 0); in zpci_fmb_enable_device()
/linux-6.1.9/arch/s390/include/asm/
Dpci.h183 atomic64_t allocated_pages; member