Lines Matching refs:swap_info
91 struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable
1036 si = swap_info[type]; in get_swap_page_of_type()
1062 p = swap_info[type]; in __swap_info_get()
1672 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()
1714 if (!(swap_info[type]->flags & SWP_WRITEOK)) in swapdev_block()
1731 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()
2017 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()
2250 if (swap_info[type]->inuse_pages) in drain_mmlist()
2271 sis = swap_info[swp_type(entry)]; in map_swap_entry()
2711 si = swap_info[type]; in swap_start()
2733 si = swap_info[type]; in swap_next()
2829 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2839 swap_info[type] = p; in alloc_swap_info()
2849 p = swap_info[type]; in alloc_swap_info()
3341 struct swap_info_struct *si = swap_info[type]; in si_swapinfo()
3377 p = swap_info[type]; in __swap_duplicate()
3474 return swap_info[swp_type(entry)]; in swp_swap_info()