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()
998 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()
1040 if (!(swap_info[type]->flags & SWP_WRITEOK)) in swapdev_block()
1057 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()
1333 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()
1565 if (swap_info[type]->inuse_pages) in drain_mmlist()
1586 sis = swap_info[swp_type(entry)]; in map_swap_entry()
1986 si = swap_info[type]; in swap_start()
2008 si = swap_info[type]; in swap_next()
2103 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2113 swap_info[type] = p; in alloc_swap_info()
2123 p = swap_info[type]; in alloc_swap_info()
2393 struct swap_info_struct *q = swap_info[i]; in SYSCALL_DEFINE2()
2571 struct swap_info_struct *si = swap_info[type]; in si_swapinfo()
2606 p = swap_info[type]; in __swap_duplicate()
2705 return swap_info[swp_type(swap)]; in page_swap_info()