Lines Matching refs:swap_info
81 struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable
709 si = swap_info[type]; in get_swap_page_of_type()
735 p = swap_info[type]; in swap_info_get()
1040 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()
1082 if (!(swap_info[type]->flags & SWP_WRITEOK)) in swapdev_block()
1099 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()
1375 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()
1607 if (swap_info[type]->inuse_pages) in drain_mmlist()
1628 sis = swap_info[swp_type(entry)]; in map_swap_entry()
2028 si = swap_info[type]; in swap_start()
2050 si = swap_info[type]; in swap_next()
2145 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2155 swap_info[type] = p; in alloc_swap_info()
2165 p = swap_info[type]; in alloc_swap_info()
2621 struct swap_info_struct *si = swap_info[type]; in si_swapinfo()
2656 p = swap_info[type]; in __swap_duplicate()
2755 return swap_info[swp_type(swap)]; in page_swap_info()