Lines Matching refs:cpu_fbatches
63 struct cpu_fbatches {
73 static DEFINE_PER_CPU(struct cpu_fbatches, cpu_fbatches) = {
353 struct folio_batch *fbatch = &per_cpu(cpu_fbatches.activate, cpu);
366 local_lock(&cpu_fbatches.lock);
367 fbatch = this_cpu_ptr(&cpu_fbatches.activate);
369 local_unlock(&cpu_fbatches.lock);
396 local_lock(&cpu_fbatches.lock);
397 fbatch = this_cpu_ptr(&cpu_fbatches.lru_add);
418 local_unlock(&cpu_fbatches.lock);
483 * cpu_fbatches.activate. Otherwise, assume the folio is in a
522 local_lock(&cpu_fbatches.lock);
523 fbatch = this_cpu_ptr(&cpu_fbatches.lru_add);
525 local_unlock(&cpu_fbatches.lock);
655 struct cpu_fbatches *fbatches = &per_cpu(cpu_fbatches, cpu);
706 local_lock(&cpu_fbatches.lock);
707 fbatch = this_cpu_ptr(&cpu_fbatches.lru_deactivate_file);
709 local_unlock(&cpu_fbatches.lock);
727 local_lock(&cpu_fbatches.lock);
728 fbatch = this_cpu_ptr(&cpu_fbatches.lru_deactivate);
730 local_unlock(&cpu_fbatches.lock);
749 local_lock(&cpu_fbatches.lock);
750 fbatch = this_cpu_ptr(&cpu_fbatches.lru_lazyfree);
752 local_unlock(&cpu_fbatches.lock);
758 local_lock(&cpu_fbatches.lock);
760 local_unlock(&cpu_fbatches.lock);
772 local_lock(&cpu_fbatches.lock);
774 local_unlock(&cpu_fbatches.lock);
781 local_lock(&cpu_fbatches.lock);
784 local_unlock(&cpu_fbatches.lock);
799 struct cpu_fbatches *fbatches = &per_cpu(cpu_fbatches, cpu);