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