Searched defs:swap_info_struct (Results 1 – 1 of 1) sorted by relevance
246 struct swap_info_struct { struct247 struct percpu_ref users; /* indicate and keep swap device valid. */248 unsigned long flags; /* SWP_USED etc: see above */249 signed short prio; /* swap priority of this type */250 struct plist_node list; /* entry in swap_active_head */251 signed char type; /* strange name for an index */252 unsigned int max; /* extent of the swap_map */253 unsigned char *swap_map; /* vmalloc'ed array of usage counts */254 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */255 struct swap_cluster_list free_clusters; /* free clusters list */[all …]