Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dswapfile.c109 static struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable
124 return READ_ONCE(swap_info[type]); /* rcu_dereference() */ in swap_type_to_swap_info()
1991 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()
2015 struct swap_info_struct *sis = swap_info[type]; in find_first_swap()
2054 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()
2187 si = swap_info[type]; in unuse_pte_range()
2390 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()
2498 if (swap_info[type]->inuse_pages) in drain_mmlist()
3075 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
3090 smp_store_release(&swap_info[type], p); /* rcu_assign_pointer() */ in alloc_swap_info()
[all …]