Searched refs:swap_info (Results 1 – 1 of 1) sorted by relevance
52 static struct swap_info_struct swap_info[MAX_SWAPFILES]; variable70 struct block_device *bdev = swap_info[swp_type(entry)].bdev; in swap_unplug_io_fn()390 si = swap_info + type; in get_swap_page()393 (!wrapped && si->prio != swap_info[next].prio)) { in get_swap_page()424 si = swap_info + type; in get_swap_page_of_type()448 p = & swap_info[type]; in swap_info_get()487 if (p->prio > swap_info[swap_list.next].prio) in swap_entry_free()488 swap_list.next = p - swap_info; in swap_entry_free()631 struct swap_info_struct *sis = swap_info + i; in swap_type_of()677 if (swap_info[type].flags & SWP_WRITEOK) { in count_swap_pages()[all …]