Searched defs:swap_info_struct (Results 1 – 1 of 1) sorted by relevance
263 struct swap_info_struct { struct264 struct percpu_ref users; /* indicate and keep swap device valid. */265 unsigned long flags; /* SWP_USED etc: see above */266 signed short prio; /* swap priority of this type */267 struct plist_node list; /* entry in swap_active_head */268 signed char type; /* strange name for an index */269 unsigned int max; /* extent of the swap_map */270 unsigned char *swap_map; /* vmalloc'ed array of usage counts */271 unsigned long *zeromap; /* kvmalloc'ed bitmap to track zero pages */272 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */[all …]