Searched refs:swap_info (Results 1 – 3 of 3) sorted by relevance
32 struct swap_info_struct swap_info[MAX_SWAPFILES]; variable115 p = &swap_info[type]; in get_swap_page()122 type = swap_info[type].next; in get_swap_page()124 p->prio != swap_info[type].prio) { in get_swap_page()134 if (type < 0 || p->prio != swap_info[type].prio) { in get_swap_page()157 p = & swap_info[type]; in swap_info_get()166 if (p->prio > swap_info[swap_list.next].prio) in swap_info_get()515 struct swap_info_struct * si = &swap_info[type]; in try_to_unuse()738 for (type = swap_list.head; type >= 0; type = swap_info[type].next) { in sys_swapoff()739 p = swap_info + type; in sys_swapoff()[all …]
520 for( p = swap_info, type = 0; type < nr_swapfiles; type++, p++ ) in swap_init()590 for (i = swap_list.head; i >= 0; i = swap_info[i].next) { in swap_init()591 if (p->prio >= swap_info[i].prio) { in swap_init()598 swap_list.head = swap_list.next = p - swap_info; in swap_init()600 swap_info[prev].next = p - swap_info; in swap_init()867 if (stram_swap_info->prio > swap_info[swap_list.next].prio) in free_stram_region()
145 extern struct swap_info_struct swap_info[];