Searched refs:swap_info (Results 1 – 2 of 2) sorted by relevance
19 extern struct swap_info_struct *swap_info[];73 si = READ_ONCE(swap_info[type]); /* rcu_dereference() */ in __swap_type_to_info()
109 struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable138 return READ_ONCE(swap_info[type]); /* rcu_dereference() */ in swap_type_to_info()2053 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()2077 struct swap_info_struct *sis = swap_info[type]; in find_first_swap()2116 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()2256 si = swap_info[type]; in unuse_pte_range()2461 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()2569 if (swap_usage_in_pages(swap_info[type])) in drain_mmlist()3126 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()3141 smp_store_release(&swap_info[type], p); /* rcu_assign_pointer() */ in alloc_swap_info()[all …]