Lines Matching refs:swap_info
100 static struct swap_info_struct *swap_info[MAX_SWAPFILES];
115 return READ_ONCE(swap_info[type]); /* rcu_dereference() */
1085 "swap_info %d in list but !highest_bit\n",
1088 "swap_info %d in list but !SWP_WRITEOK\n",
1665 struct swap_info_struct *sis = swap_info[type];
1689 struct swap_info_struct *sis = swap_info[type];
1703 * corresponding to given index in swap_info (swap type).
1728 struct swap_info_struct *sis = swap_info[type];
1850 si = swap_info[type];
2056 struct swap_info_struct *si = swap_info[type];
2158 if (swap_info[type]->inuse_pages)
2559 * can reuse this swap_info in alloc_swap_info() safely. It is ok to
2732 if (!(swap_info[type]->flags & SWP_USED))
2747 smp_store_release(&swap_info[type], p); /* rcu_assign_pointer() */
2751 p = swap_info[type];
3259 struct swap_info_struct *si = swap_info[type];
3278 struct swap_info_struct *si = swap_info[type];