Searched refs:allocated_pages (Results 1 – 5 of 5) sorted by relevance
65 static atomic_long_t allocated_pages; variable237 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()
73 atomic64_t *counter = &zdev->allocated_pages; in pci_sw_counter_show()
418 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()
168 atomic64_set(&zdev->allocated_pages, 0); in zpci_fmb_enable_device()
183 atomic64_t allocated_pages; member