Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
Dswapfile.c287 static inline void cluster_set_flag(struct swap_cluster_info *info, in cluster_set_flag()
293 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count()
298 static inline void cluster_set_count(struct swap_cluster_info *info, in cluster_set_count()
304 static inline void cluster_set_count_flag(struct swap_cluster_info *info, in cluster_set_count_flag()
311 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next()
316 static inline void cluster_set_next(struct swap_cluster_info *info, in cluster_set_next()
322 static inline void cluster_set_next_flag(struct swap_cluster_info *info, in cluster_set_next_flag()
329 static inline bool cluster_is_free(struct swap_cluster_info *info) in cluster_is_free()
334 static inline bool cluster_is_null(struct swap_cluster_info *info) in cluster_is_null()
339 static inline void cluster_set_null(struct swap_cluster_info *info) in cluster_set_null()
[all …]
/linux-6.6.21/include/linux/
Dswap.h250 struct swap_cluster_info { struct
270 struct swap_cluster_info index; /* Current cluster index */ argument
275 struct swap_cluster_info head;
276 struct swap_cluster_info tail;
290 struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */