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