Searched refs:swap_info (Results 1 – 1 of 1) sorted by relevance
108 static struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable135 return READ_ONCE(swap_info[type]); /* rcu_dereference() */ in swap_type_to_swap_info()1895 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()1919 struct swap_info_struct *sis = swap_info[type]; in find_first_swap()1958 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()2091 si = swap_info[type]; in unuse_pte_range()2294 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()2402 if (swap_usage_in_pages(swap_info[type])) in drain_mmlist()2987 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()3006 p = swap_info[type]; in alloc_swap_info()[all …]