Home
last modified time | relevance | path

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

/Linux-v6.1/mm/
Dfrontswap.c112 struct swap_info_struct *sis = swap_info[type]; in frontswap_init()
168 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store()
207 struct swap_info_struct *sis = swap_info[type]; in __frontswap_load()
230 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_page()
249 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_area()
Dswapfile.c97 struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable
112 return READ_ONCE(swap_info[type]); /* rcu_dereference() */ in swap_type_to_swap_info()
1672 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()
1696 struct swap_info_struct *sis = swap_info[type]; in find_first_swap()
1735 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()
1841 si = swap_info[type]; in unuse_pte_range()
2039 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()
2141 if (swap_info[type]->inuse_pages) in drain_mmlist()
2717 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2732 smp_store_release(&swap_info[type], p); /* rcu_assign_pointer() */ in alloc_swap_info()
[all …]
/Linux-v6.1/include/linux/
Dswapfile.h9 extern struct swap_info_struct *swap_info[];