Home
last modified time | relevance | path

Searched defs:swap_info_struct (Results 1 – 1 of 1) sorted by relevance

/linux/include/linux/
H A Dswap.h291 struct swap_info_struct { struct
292 struct percpu_ref users; /* indicate and keep swap device valid. */
293 unsigned long flags; /* SWP_USED etc: see above */
294 signed short prio; /* swap priority of this type */
295 struct plist_node list; /* entry in swap_active_head */
296 signed char type; /* strange name for an index */
297 unsigned int max; /* extent of the swap_map */
298 unsigned char *swap_map; /* vmalloc'ed array of usage counts */
299 unsigned long *zeromap; /* kvmalloc'ed bitmap to track zero pages */
300 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */
[all …]