Searched refs:swap_info (Results 1 – 2 of 2) sorted by relevance
39 extern struct swap_info_struct *swap_info[];112 si = READ_ONCE(swap_info[type]); /* rcu_dereference() */ in __swap_type_to_info()
107 struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable137 return READ_ONCE(swap_info[type]); /* rcu_dereference() */ in swap_type_to_info()2229 struct swap_info_struct *sis = swap_info[type]; in __find_hibernation_swap_type()2355 struct swap_info_struct *sis = swap_info[type]; in find_first_swap()2394 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()2742 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()2850 if (swap_usage_in_pages(swap_info[type])) in drain_mmlist()3372 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()3387 smp_store_release(&swap_info[type], p); /* rcu_assign_pointer() */ in alloc_swap_info()3391 p = swap_info[type]; in alloc_swap_info()[all …]