Home
last modified time | relevance | path

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

/linux/mm/
H A Dswapfile.c120 struct percpu_swap_cluster { struct
126 static DEFINE_PER_CPU(struct percpu_swap_cluster, percpu_swap_cluster) = { argument
536 lockdep_assert_held(&this_cpu_ptr(&percpu_swap_cluster)->lock); in swap_cluster_populate()
553 local_unlock(&percpu_swap_cluster.lock); in swap_cluster_populate()
566 local_lock(&percpu_swap_cluster.lock); in swap_cluster_populate()
1007 this_cpu_write(percpu_swap_cluster.offset[order], next); in alloc_swap_scan_cluster()
1008 this_cpu_write(percpu_swap_cluster.si[order], si); in alloc_swap_scan_cluster()
1378 si = this_cpu_read(percpu_swap_cluster.si[order]); in swap_alloc_fast()
1379 offset = this_cpu_read(percpu_swap_cluster.offset[order]); in swap_alloc_fast()
1767 local_lock(&percpu_swap_cluster.lock); in folio_alloc_swap()
[all …]