Lines Matching refs:cpu_fbatches
62 struct cpu_fbatches { struct
72 static DEFINE_PER_CPU(struct cpu_fbatches, cpu_fbatches) = { argument
363 struct folio_batch *fbatch = &per_cpu(cpu_fbatches.activate, cpu); in folio_activate_drain()
376 local_lock(&cpu_fbatches.lock); in folio_activate()
377 fbatch = this_cpu_ptr(&cpu_fbatches.activate); in folio_activate()
379 local_unlock(&cpu_fbatches.lock); in folio_activate()
406 local_lock(&cpu_fbatches.lock); in __lru_cache_activate_folio()
407 fbatch = this_cpu_ptr(&cpu_fbatches.lru_add); in __lru_cache_activate_folio()
428 local_unlock(&cpu_fbatches.lock); in __lru_cache_activate_folio()
532 local_lock(&cpu_fbatches.lock); in folio_add_lru()
533 fbatch = this_cpu_ptr(&cpu_fbatches.lru_add); in folio_add_lru()
535 local_unlock(&cpu_fbatches.lock); in folio_add_lru()
665 struct cpu_fbatches *fbatches = &per_cpu(cpu_fbatches, cpu); in lru_add_drain_cpu()
716 local_lock(&cpu_fbatches.lock); in deactivate_file_folio()
717 fbatch = this_cpu_ptr(&cpu_fbatches.lru_deactivate_file); in deactivate_file_folio()
719 local_unlock(&cpu_fbatches.lock); in deactivate_file_folio()
739 local_lock(&cpu_fbatches.lock); in deactivate_page()
740 fbatch = this_cpu_ptr(&cpu_fbatches.lru_deactivate); in deactivate_page()
742 local_unlock(&cpu_fbatches.lock); in deactivate_page()
763 local_lock(&cpu_fbatches.lock); in mark_page_lazyfree()
764 fbatch = this_cpu_ptr(&cpu_fbatches.lru_lazyfree); in mark_page_lazyfree()
766 local_unlock(&cpu_fbatches.lock); in mark_page_lazyfree()
772 local_lock(&cpu_fbatches.lock); in lru_add_drain()
774 local_unlock(&cpu_fbatches.lock); in lru_add_drain()
786 local_lock(&cpu_fbatches.lock); in lru_add_and_bh_lrus_drain()
788 local_unlock(&cpu_fbatches.lock); in lru_add_and_bh_lrus_drain()
795 local_lock(&cpu_fbatches.lock); in lru_add_drain_cpu_zone()
798 local_unlock(&cpu_fbatches.lock); in lru_add_drain_cpu_zone()
813 struct cpu_fbatches *fbatches = &per_cpu(cpu_fbatches, cpu); in cpu_needs_drain()