Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/ttm/
H A 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()
544 while (atomic_long_read(&allocated_pages) > page_pool_size) in ttm_pool_free()
626 while (!num_freed && atomic_long_read(&allocated_pages)); in ttm_pool_shrinker_scan()
635 unsigned long num_pages = atomic_long_read(&allocated_pages); in ttm_pool_shrinker_count()
682 atomic_long_read(&allocated_pages), page_pool_size); in ttm_pool_debugfs_footer()
/openbmc/linux/arch/s390/pci/
H A Dpci_debug.c73 atomic64_t *counter = &zdev->allocated_pages; in pci_sw_counter_show()
H A 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()
H A Dpci.c168 atomic64_set(&zdev->allocated_pages, 0); in zpci_fmb_enable_device()
/openbmc/linux/arch/s390/include/asm/
H A Dpci.h184 atomic64_t allocated_pages; member