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.h297 struct swap_info_struct { struct
298 struct percpu_ref users; /* indicate and keep swap device valid. */
299 unsigned long flags; /* SWP_USED etc: see above */
300 signed short prio; /* swap priority of this type */
301 struct plist_node list; /* entry in swap_active_head */
302 signed char type; /* strange name for an index */
303 unsigned int max; /* extent of the swap_map */
304 unsigned char *swap_map; /* vmalloc'ed array of usage counts */
305 unsigned long *zeromap; /* kvmalloc'ed bitmap to track zero pages */
306 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */
[all …]