Lines Matching refs:swap_cluster_info

285 static inline void cluster_set_flag(struct swap_cluster_info *info,  in cluster_set_flag()
291 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count()
296 static inline void cluster_set_count(struct swap_cluster_info *info, in cluster_set_count()
302 static inline void cluster_set_count_flag(struct swap_cluster_info *info, in cluster_set_count_flag()
309 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next()
314 static inline void cluster_set_next(struct swap_cluster_info *info, in cluster_set_next()
320 static inline void cluster_set_next_flag(struct swap_cluster_info *info, in cluster_set_next_flag()
327 static inline bool cluster_is_free(struct swap_cluster_info *info) in cluster_is_free()
332 static inline bool cluster_is_null(struct swap_cluster_info *info) in cluster_is_null()
337 static inline void cluster_set_null(struct swap_cluster_info *info) in cluster_set_null()
343 static inline bool cluster_is_huge(struct swap_cluster_info *info) in cluster_is_huge()
350 static inline void cluster_clear_huge(struct swap_cluster_info *info) in cluster_clear_huge()
355 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_cluster()
358 struct swap_cluster_info *ci; in lock_cluster()
368 static inline void unlock_cluster(struct swap_cluster_info *ci) in unlock_cluster()
378 static inline struct swap_cluster_info *lock_cluster_or_swap_info( in lock_cluster_or_swap_info()
381 struct swap_cluster_info *ci; in lock_cluster_or_swap_info()
393 struct swap_cluster_info *ci) in unlock_cluster_or_swap_info()
418 struct swap_cluster_info *ci, in cluster_list_add_tail()
425 struct swap_cluster_info *ci_tail; in cluster_list_add_tail()
441 struct swap_cluster_info *ci) in cluster_list_del_first()
476 struct swap_cluster_info *ci = si->cluster_info; in __free_cluster()
488 struct swap_cluster_info *info, *ci; in swap_do_scheduled_discard()
530 struct swap_cluster_info *ci = si->cluster_info; in alloc_cluster()
539 struct swap_cluster_info *ci = si->cluster_info + idx; in free_cluster()
561 struct swap_cluster_info *cluster_info, unsigned long page_nr) in inc_cluster_info_page()
581 struct swap_cluster_info *cluster_info, unsigned long page_nr) in dec_cluster_info_page()
628 struct swap_cluster_info *ci; in scan_swap_map_try_ssd_cluster()
803 struct swap_cluster_info *ci; in scan_swap_map_slots()
1005 struct swap_cluster_info *ci; in swap_alloc_cluster()
1037 struct swap_cluster_info *ci; in swap_free_cluster()
1289 struct swap_cluster_info *ci; in __swap_entry_free()
1304 struct swap_cluster_info *ci; in swap_entry_free()
1339 struct swap_cluster_info *ci; in put_swap_folio()
1386 struct swap_cluster_info *ci; in split_swap_cluster()
1456 struct swap_cluster_info *ci; in swap_swapcount()
1491 struct swap_cluster_info *ci; in swp_swapcount()
1532 struct swap_cluster_info *ci; in swap_page_trans_huge_swapped()
2289 struct swap_cluster_info *cluster_info) in setup_swap_info()
2339 struct swap_cluster_info *cluster_info, in enable_swap_info()
2385 struct swap_cluster_info *cluster_info; in SYSCALL_DEFINE1()
2889 DIV_ROUND_UP(L1_CACHE_BYTES, sizeof(struct swap_cluster_info))
2898 struct swap_cluster_info *cluster_info, in setup_swap_map_and_extents()
2990 struct swap_cluster_info *cluster_info = NULL; in SYSCALL_DEFINE2()
3277 struct swap_cluster_info *ci; in __swap_duplicate()
3419 struct swap_cluster_info *ci; in add_swap_count_continuation()