Home
last modified time | relevance | path

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

/Linux-v5.15/mm/
Dfrontswap.c196 struct swap_info_struct *sis = swap_info[type]; in __frontswap_init()
254 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store()
303 struct swap_info_struct *sis = swap_info[type]; in __frontswap_load()
337 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_page()
359 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_area()
Dswapfile.c91 struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable
106 return READ_ONCE(swap_info[type]); /* rcu_dereference() */ in swap_type_to_swap_info()
1810 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()
1834 struct swap_info_struct *sis = swap_info[type]; in find_first_swap()
1873 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()
1951 si = swap_info[type]; in unuse_pte_range()
2164 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()
2277 if (swap_info[type]->inuse_pages) in drain_mmlist()
2854 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2869 smp_store_release(&swap_info[type], p); /* rcu_assign_pointer() */ in alloc_swap_info()
[all …]
Dshmem.c1192 !frontswap_test(swap_info[type], swp_offset(entry))) in shmem_find_swap_entries()
/Linux-v5.15/include/linux/
Dswapfile.h11 extern struct swap_info_struct *swap_info[];