Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/ttm/
Dttm_pool.c66 static atomic_long_t allocated_pages; variable
238 atomic_long_add(1 << pt->order, &allocated_pages); in ttm_pool_type_give()
249 atomic_long_sub(1 << pt->order, &allocated_pages); in ttm_pool_type_take()
538 while (atomic_long_read(&allocated_pages) > page_pool_size) in ttm_pool_free()
608 while (!num_freed && atomic_long_read(&allocated_pages)); in ttm_pool_shrinker_scan()
617 unsigned long num_pages = atomic_long_read(&allocated_pages); in ttm_pool_shrinker_count()
664 atomic_long_read(&allocated_pages), page_pool_size); in ttm_pool_debugfs_footer()
/linux-6.6.21/arch/s390/pci/
Dpci_debug.c73 atomic64_t *counter = &zdev->allocated_pages; in pci_sw_counter_show()
Dpci_dma.c438 atomic64_add(size / PAGE_SIZE, &zdev->allocated_pages); in s390_dma_alloc()
451 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.6.21/arch/s390/include/asm/
Dpci.h184 atomic64_t allocated_pages; member