Searched refs:atomic_long_read (Results 1 – 4 of 4) sorted by relevance
693 while (atomic_long_read(&allocated_pages) > page_pool_size) in ttm_pool_free()787 while (!num_freed && atomic_long_read(&allocated_pages)); in ttm_pool_shrinker_scan()797 unsigned long num_pages = atomic_long_read(&allocated_pages); in ttm_pool_shrinker_count()802 unsigned long num_pages = atomic_long_read(&allocated_pages); in ttm_pool_shrinker_count()850 atomic_long_read(&allocated_pages), page_pool_size); in ttm_pool_debugfs_footer()
378 while (atomic_long_read(&ttm_pages_allocated) > ttm_pages_limit || in ttm_tt_populate()379 atomic_long_read(&ttm_dma32_pages_allocated) > in ttm_tt_populate()
123 #define atomic_long_read(p) READ_ONCE(*(p)) macro
526 atomic_long_read(&t.num_waits), in mock_breadcrumbs_smoketest()527 atomic_long_read(&t.num_fences), in mock_breadcrumbs_smoketest()1849 num_waits += atomic_long_read(&smoke[idx].num_waits); in live_breadcrumbs_smoketest()1850 num_fences += atomic_long_read(&smoke[idx].num_fences); in live_breadcrumbs_smoketest()