include/linux/swap.h
270
struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */
mm/huge_memory.c
3795
struct swap_cluster_info *ci = NULL;
mm/migrate.c
575
struct swap_cluster_info *ci = NULL;
mm/shmem.c
2132
struct swap_cluster_info *ci;
mm/swap.h
100
struct swap_cluster_info *ci = __swap_offset_to_cluster(si, offset);
mm/swap.h
128
static inline struct swap_cluster_info *swap_cluster_lock(
mm/swap.h
134
static inline struct swap_cluster_info *__swap_cluster_get_and_lock(
mm/swap.h
155
static inline struct swap_cluster_info *swap_cluster_get_and_lock(
mm/swap.h
170
static inline struct swap_cluster_info *swap_cluster_get_and_lock_irq(
mm/swap.h
176
static inline void swap_cluster_unlock(struct swap_cluster_info *ci)
mm/swap.h
181
static inline void swap_cluster_unlock_irq(struct swap_cluster_info *ci)
mm/swap.h
210
struct swap_cluster_info *ci,
mm/swap.h
283
void __swap_cache_add_folio(struct swap_cluster_info *ci,
mm/swap.h
285
void __swap_cache_del_folio(struct swap_cluster_info *ci,
mm/swap.h
287
void __swap_cache_replace_folio(struct swap_cluster_info *ci,
mm/swap.h
354
static inline struct swap_cluster_info *swap_cluster_lock(
mm/swap.h
360
static inline struct swap_cluster_info *swap_cluster_get_and_lock(
mm/swap.h
366
static inline struct swap_cluster_info *swap_cluster_get_and_lock_irq(
mm/swap.h
372
static inline void swap_cluster_unlock(struct swap_cluster_info *ci)
mm/swap.h
376
static inline void swap_cluster_unlock_irq(struct swap_cluster_info *ci)
mm/swap.h
468
static inline void __swap_cache_del_folio(struct swap_cluster_info *ci,
mm/swap.h
473
static inline void __swap_cache_replace_folio(struct swap_cluster_info *ci,
mm/swap.h
83
static inline struct swap_cluster_info *__swap_offset_to_cluster(
mm/swap.h
91
static inline struct swap_cluster_info *__swap_entry_to_cluster(swp_entry_t entry)
mm/swap.h
97
static __always_inline struct swap_cluster_info *__swap_cluster_lock(
mm/swap_state.c
140
void __swap_cache_add_folio(struct swap_cluster_info *ci,
mm/swap_state.c
185
struct swap_cluster_info *ci;
mm/swap_state.c
237
void __swap_cache_del_folio(struct swap_cluster_info *ci, struct folio *folio,
mm/swap_state.c
296
struct swap_cluster_info *ci;
mm/swap_state.c
320
void __swap_cache_replace_folio(struct swap_cluster_info *ci,
mm/swap_state.c
364
struct swap_cluster_info *ci = __swap_entry_to_cluster(entry);
mm/swap_table.h
106
static inline unsigned long __swap_table_get(struct swap_cluster_info *ci,
mm/swap_table.h
117
static inline unsigned long swap_table_get(struct swap_cluster_info *ci,
mm/swap_table.h
85
static inline void __swap_table_set(struct swap_cluster_info *ci,
mm/swap_table.h
95
static inline unsigned long __swap_table_xchg(struct swap_cluster_info *ci,
mm/swapfile.c
1044
struct swap_cluster_info *ci;
mm/swapfile.c
1321
struct swap_cluster_info *ci;
mm/swapfile.c
1432
struct swap_cluster_info *ci;
mm/swapfile.c
1602
struct swap_cluster_info *ci,
mm/swapfile.c
1693
struct swap_cluster_info *ci,
mm/swapfile.c
1737
struct swap_cluster_info *ci;
mm/swapfile.c
1755
struct swap_cluster_info *ci;
mm/swapfile.c
178
struct swap_cluster_info *ci,
mm/swapfile.c
1797
struct swap_cluster_info *ci;
mm/swapfile.c
1959
struct swap_cluster_info *ci;
mm/swapfile.c
206
struct swap_cluster_info *ci;
mm/swapfile.c
2649
struct swap_cluster_info *cluster_info,
mm/swapfile.c
2679
struct swap_cluster_info *cluster_info,
mm/swapfile.c
2716
struct swap_cluster_info *ci;
mm/swapfile.c
2726
static void free_cluster_info(struct swap_cluster_info *cluster_info,
mm/swapfile.c
2729
struct swap_cluster_info *ci;
mm/swapfile.c
2774
struct swap_cluster_info *cluster_info;
mm/swapfile.c
3251
static struct swap_cluster_info *setup_clusters(struct swap_info_struct *si,
mm/swapfile.c
3256
struct swap_cluster_info *cluster_info;
mm/swapfile.c
3311
struct swap_cluster_info *ci = &cluster_info[i];
mm/swapfile.c
3342
struct swap_cluster_info *cluster_info = NULL;
mm/swapfile.c
3600
struct swap_cluster_info *ci,
mm/swapfile.c
3650
struct swap_cluster_info *ci;
mm/swapfile.c
3704
struct swap_cluster_info *ci;
mm/swapfile.c
379
static inline bool cluster_is_empty(struct swap_cluster_info *info)
mm/swapfile.c
384
static inline bool cluster_is_discard(struct swap_cluster_info *info)
mm/swapfile.c
389
static inline bool cluster_table_is_alloced(struct swap_cluster_info *ci)
mm/swapfile.c
394
static inline bool cluster_is_usable(struct swap_cluster_info *ci, int order)
mm/swapfile.c
406
struct swap_cluster_info *ci)
mm/swapfile.c
412
struct swap_cluster_info *ci)
mm/swapfile.c
449
static void swap_cluster_free_table(struct swap_cluster_info *ci)
mm/swapfile.c
469
static struct swap_cluster_info *
mm/swapfile.c
471
struct swap_cluster_info *ci)
mm/swapfile.c
534
struct swap_cluster_info *ci, struct list_head *list,
mm/swapfile.c
553
struct swap_cluster_info *ci)
mm/swapfile.c
560
static void __free_cluster(struct swap_info_struct *si, struct swap_cluster_info *ci)
mm/swapfile.c
576
static struct swap_cluster_info *isolate_lock_cluster(
mm/swapfile.c
579
struct swap_cluster_info *ci, *found = NULL;
mm/swapfile.c
61
struct swap_cluster_info *ci,
mm/swapfile.c
616
struct swap_cluster_info *ci;
mm/swapfile.c
622
ci = list_first_entry(&si->discard_clusters, struct swap_cluster_info, list);
mm/swapfile.c
65
struct swap_cluster_info *ci, struct list_head *list,
mm/swapfile.c
670
static void free_cluster(struct swap_info_struct *si, struct swap_cluster_info *ci)
mm/swapfile.c
695
struct swap_cluster_info *ci)
mm/swapfile.c
711
struct swap_cluster_info *ci)
mm/swapfile.c
738
static int swap_cluster_setup_bad_slot(struct swap_cluster_info *cluster_info,
mm/swapfile.c
743
struct swap_cluster_info *ci;
mm/swapfile.c
766
struct swap_cluster_info *ci,
mm/swapfile.c
815
struct swap_cluster_info *ci,
mm/swapfile.c
848
static void swap_cluster_assert_table_empty(struct swap_cluster_info *ci,
mm/swapfile.c
864
struct swap_cluster_info *ci,
mm/swapfile.c
915
struct swap_cluster_info *ci,
mm/swapfile.c
973
struct swap_cluster_info *ci = isolate_lock_cluster(si, list);
mm/swapfile.c
991
struct swap_cluster_info *ci;
mm/vmscan.c
711
struct swap_cluster_info *ci;