Home
last modified time | relevance | path

Searched refs:swap_cluster_info (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/mm/
Dswapfile.c279 static inline void cluster_set_flag(struct swap_cluster_info *info, in cluster_set_flag()
285 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count()
290 static inline void cluster_set_count(struct swap_cluster_info *info, in cluster_set_count()
296 static inline void cluster_set_count_flag(struct swap_cluster_info *info, in cluster_set_count_flag()
303 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next()
308 static inline void cluster_set_next(struct swap_cluster_info *info, in cluster_set_next()
314 static inline void cluster_set_next_flag(struct swap_cluster_info *info, in cluster_set_next_flag()
321 static inline bool cluster_is_free(struct swap_cluster_info *info) in cluster_is_free()
326 static inline bool cluster_is_null(struct swap_cluster_info *info) in cluster_is_null()
331 static inline void cluster_set_null(struct swap_cluster_info *info) in cluster_set_null()
[all …]
/Linux-v5.15/include/linux/
Dswap.h214 struct swap_cluster_info { struct
234 struct swap_cluster_info index; /* Current cluster index */ argument
239 struct swap_cluster_info head;
240 struct swap_cluster_info tail;
254 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */