Lines Matching refs:swap_info
92 struct swap_info_struct *swap_info[MAX_SWAPFILES];
108 return READ_ONCE(swap_info[type]);
1089 "swap_info %d in list but !highest_bit\n",
1092 "swap_info %d in list but !SWP_WRITEOK\n",
1841 struct swap_info_struct *sis = swap_info[type];
1865 struct swap_info_struct *sis = swap_info[type];
1879 * corresponding to given index in swap_info (swap type).
1903 struct swap_info_struct *sis = swap_info[type];
1981 si = swap_info[type];
2193 struct swap_info_struct *si = swap_info[type];
2306 if (swap_info[type]->inuse_pages)
2741 * can reuse this swap_info in alloc_swap_info() safely. It is ok to
2908 if (!(swap_info[type]->flags & SWP_USED))
2918 WRITE_ONCE(swap_info[type], p);
2920 * Write swap_info[type] before nr_swapfiles, in case a
2928 p = swap_info[type];
3448 struct swap_info_struct *si = swap_info[type];
3467 struct swap_info_struct *si = swap_info[type];