Lines Matching refs:swap_cluster_info
281 static inline void cluster_set_flag(struct swap_cluster_info *info, in cluster_set_flag()
287 static inline unsigned int cluster_count(struct swap_cluster_info *info) in cluster_count()
292 static inline void cluster_set_count(struct swap_cluster_info *info, in cluster_set_count()
298 static inline void cluster_set_count_flag(struct swap_cluster_info *info, in cluster_set_count_flag()
305 static inline unsigned int cluster_next(struct swap_cluster_info *info) in cluster_next()
310 static inline void cluster_set_next(struct swap_cluster_info *info, in cluster_set_next()
316 static inline void cluster_set_next_flag(struct swap_cluster_info *info, in cluster_set_next_flag()
323 static inline bool cluster_is_free(struct swap_cluster_info *info) in cluster_is_free()
328 static inline bool cluster_is_null(struct swap_cluster_info *info) in cluster_is_null()
333 static inline void cluster_set_null(struct swap_cluster_info *info) in cluster_set_null()
339 static inline bool cluster_is_huge(struct swap_cluster_info *info) in cluster_is_huge()
346 static inline void cluster_clear_huge(struct swap_cluster_info *info) in cluster_clear_huge()
351 static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, in lock_cluster()
354 struct swap_cluster_info *ci; in lock_cluster()
364 static inline void unlock_cluster(struct swap_cluster_info *ci) in unlock_cluster()
374 static inline struct swap_cluster_info *lock_cluster_or_swap_info( in lock_cluster_or_swap_info()
377 struct swap_cluster_info *ci; in lock_cluster_or_swap_info()
389 struct swap_cluster_info *ci) in unlock_cluster_or_swap_info()
414 struct swap_cluster_info *ci, in cluster_list_add_tail()
421 struct swap_cluster_info *ci_tail; in cluster_list_add_tail()
437 struct swap_cluster_info *ci) in cluster_list_del_first()
472 struct swap_cluster_info *ci = si->cluster_info; in __free_cluster()
484 struct swap_cluster_info *info, *ci; in swap_do_scheduled_discard()
526 struct swap_cluster_info *ci = si->cluster_info; in alloc_cluster()
535 struct swap_cluster_info *ci = si->cluster_info + idx; in free_cluster()
557 struct swap_cluster_info *cluster_info, unsigned long page_nr) in inc_cluster_info_page()
577 struct swap_cluster_info *cluster_info, unsigned long page_nr) in dec_cluster_info_page()
624 struct swap_cluster_info *ci; in scan_swap_map_try_ssd_cluster()
799 struct swap_cluster_info *ci; in scan_swap_map_slots()
1001 struct swap_cluster_info *ci; in swap_alloc_cluster()
1033 struct swap_cluster_info *ci; in swap_free_cluster()
1285 struct swap_cluster_info *ci; in __swap_entry_free()
1300 struct swap_cluster_info *ci; in swap_entry_free()
1335 struct swap_cluster_info *ci; in put_swap_page()
1382 struct swap_cluster_info *ci; in split_swap_cluster()
1439 struct swap_cluster_info *ci; in page_swapcount()
1472 struct swap_cluster_info *ci; in swap_swapcount()
1506 struct swap_cluster_info *ci; in swp_swapcount()
1547 struct swap_cluster_info *ci; in swap_page_trans_huge_swapped()
2295 struct swap_cluster_info *cluster_info) in setup_swap_info()
2345 struct swap_cluster_info *cluster_info, in enable_swap_info()
2391 struct swap_cluster_info *cluster_info; in SYSCALL_DEFINE1()
2895 DIV_ROUND_UP(L1_CACHE_BYTES, sizeof(struct swap_cluster_info))
2904 struct swap_cluster_info *cluster_info, in setup_swap_map_and_extents()
2996 struct swap_cluster_info *cluster_info = NULL; in SYSCALL_DEFINE2()
3283 struct swap_cluster_info *ci; in __swap_duplicate()
3425 struct swap_cluster_info *ci; in add_swap_count_continuation()