Symbol: swap_cluster_info
include/linux/memcontrol.h
1976
void __memcg1_swapout(struct folio *folio, struct swap_cluster_info *ci);
include/linux/memcontrol.h
1982
struct swap_cluster_info *ci)
include/linux/memcontrol.h
32
struct swap_cluster_info;
include/linux/swap.h
256
struct swap_cluster_info *cluster_info; /* cluster info. Only for SSD */
mm/huge_memory.c
3835
struct swap_cluster_info *ci = NULL;
mm/memcontrol-v1.c
618
void __memcg1_swapout(struct folio *folio, struct swap_cluster_info *ci)
mm/memcontrol-v1.c
692
struct swap_cluster_info *ci;
mm/memcontrol.c
5585
struct swap_cluster_info *ci;
mm/migrate.c
575
struct swap_cluster_info *ci = NULL;
mm/page_io.c
209
struct swap_cluster_info *ci;
mm/page_io.c
232
struct swap_cluster_info *ci;
mm/page_io.c
541
struct swap_cluster_info *ci = __swap_entry_to_cluster(entry);
mm/shmem.c
2077
struct swap_cluster_info *ci;
mm/swap.h
108
static inline struct swap_cluster_info *__swap_offset_to_cluster(
mm/swap.h
116
static inline struct swap_cluster_info *__swap_entry_to_cluster(swp_entry_t entry)
mm/swap.h
122
static __always_inline struct swap_cluster_info *__swap_cluster_lock(
mm/swap.h
125
struct swap_cluster_info *ci = __swap_offset_to_cluster(si, offset);
mm/swap.h
153
static inline struct swap_cluster_info *swap_cluster_lock(
mm/swap.h
159
static inline struct swap_cluster_info *__swap_cluster_get_and_lock(
mm/swap.h
180
static inline struct swap_cluster_info *swap_cluster_get_and_lock(
mm/swap.h
195
static inline struct swap_cluster_info *swap_cluster_get_and_lock_irq(
mm/swap.h
201
static inline void swap_cluster_unlock(struct swap_cluster_info *ci)
mm/swap.h
206
static inline void swap_cluster_unlock_irq(struct swap_cluster_info *ci)
mm/swap.h
238
struct swap_cluster_info *ci,
mm/swap.h
311
void __swap_cache_add_folio(struct swap_cluster_info *ci,
mm/swap.h
313
void __swap_cache_del_folio(struct swap_cluster_info *ci,
mm/swap.h
315
void __swap_cache_replace_folio(struct swap_cluster_info *ci,
mm/swap.h
339
static inline struct swap_cluster_info *swap_cluster_lock(
mm/swap.h
345
static inline struct swap_cluster_info *swap_cluster_get_and_lock(
mm/swap.h
351
static inline struct swap_cluster_info *swap_cluster_get_and_lock_irq(
mm/swap.h
357
static inline void swap_cluster_unlock(struct swap_cluster_info *ci)
mm/swap.h
361
static inline void swap_cluster_unlock_irq(struct swap_cluster_info *ci)
mm/swap.h
460
static inline void __swap_cache_del_folio(struct swap_cluster_info *ci,
mm/swap.h
465
static inline void __swap_cache_replace_folio(struct swap_cluster_info *ci,
mm/swap_state.c
156
static int __swap_cache_add_check(struct swap_cluster_info *ci,
mm/swap_state.c
203
static void __swap_cache_do_add_folio(struct swap_cluster_info *ci,
mm/swap_state.c
241
void __swap_cache_add_folio(struct swap_cluster_info *ci,
mm/swap_state.c
251
static void __swap_cache_do_del_folio(struct swap_cluster_info *ci,
mm/swap_state.c
310
void __swap_cache_del_folio(struct swap_cluster_info *ci, struct folio *folio,
mm/swap_state.c
332
struct swap_cluster_info *ci;
mm/swap_state.c
356
void __swap_cache_replace_folio(struct swap_cluster_info *ci,
mm/swap_state.c
403
static struct folio *__swap_cache_alloc(struct swap_cluster_info *ci,
mm/swap_state.c
514
struct swap_cluster_info *ci;
mm/swap_table.h
219
static inline void __swap_table_set(struct swap_cluster_info *ci,
mm/swap_table.h
229
static inline unsigned long __swap_table_xchg(struct swap_cluster_info *ci,
mm/swap_table.h
240
static inline unsigned long __swap_table_get(struct swap_cluster_info *ci,
mm/swap_table.h
251
static inline unsigned long swap_table_get(struct swap_cluster_info *ci,
mm/swap_table.h
267
static inline void __swap_table_set_zero(struct swap_cluster_info *ci,
mm/swap_table.h
283
static inline bool __swap_table_test_zero(struct swap_cluster_info *ci,
mm/swap_table.h
296
static inline void __swap_table_clear_zero(struct swap_cluster_info *ci,
mm/swap_table.h
312
static inline void __swap_cgroup_set(struct swap_cluster_info *ci,
mm/swap_table.h
324
static inline unsigned short __swap_cgroup_get(struct swap_cluster_info *ci,
mm/swap_table.h
334
static inline unsigned short __swap_cgroup_clear(struct swap_cluster_info *ci,
mm/swap_table.h
350
static inline void __swap_cgroup_set(struct swap_cluster_info *ci,
mm/swap_table.h
355
static inline unsigned short __swap_cgroup_get(struct swap_cluster_info *ci,
mm/swap_table.h
361
static inline unsigned short __swap_cgroup_clear(struct swap_cluster_info *ci,
mm/swapfile.c
1023
struct swap_cluster_info *ci = isolate_lock_cluster(si, list);
mm/swapfile.c
1041
struct swap_cluster_info *ci;
mm/swapfile.c
1095
struct swap_cluster_info *ci;
mm/swapfile.c
1364
struct swap_cluster_info *ci;
mm/swapfile.c
1458
struct swap_cluster_info *ci,
mm/swapfile.c
1497
struct swap_cluster_info *ci;
mm/swapfile.c
1511
static void swap_extend_table_try_free(struct swap_cluster_info *ci)
mm/swapfile.c
1531
static void __swap_cluster_put_entry(struct swap_cluster_info *ci,
mm/swapfile.c
1586
struct swap_cluster_info *ci;
mm/swapfile.c
1639
static int __swap_cluster_dup_entry(struct swap_cluster_info *ci,
mm/swapfile.c
1693
struct swap_cluster_info *ci;
mm/swapfile.c
176
static bool swap_only_has_cache(struct swap_cluster_info *ci,
mm/swapfile.c
1910
struct swap_cluster_info *ci,
mm/swapfile.c
1962
struct swap_cluster_info *ci = __swap_entry_to_cluster(entry);
mm/swapfile.c
1976
struct swap_cluster_info *ci;
mm/swapfile.c
1993
struct swap_cluster_info *ci;
mm/swapfile.c
202
struct swap_cluster_info *ci;
mm/swapfile.c
2026
struct swap_cluster_info *ci;
mm/swapfile.c
2155
struct swap_cluster_info *ci;
mm/swapfile.c
2194
struct swap_cluster_info *ci;
mm/swapfile.c
3010
struct swap_cluster_info *ci;
mm/swapfile.c
3020
static void free_swap_cluster_info(struct swap_cluster_info *cluster_info,
mm/swapfile.c
3023
struct swap_cluster_info *ci;
mm/swapfile.c
3066
struct swap_cluster_info *cluster_info;
mm/swapfile.c
3519
struct swap_cluster_info *cluster_info;
mm/swapfile.c
3576
struct swap_cluster_info *ci = &cluster_info[i];
mm/swapfile.c
375
static inline bool cluster_is_empty(struct swap_cluster_info *info)
mm/swapfile.c
380
static inline bool cluster_is_discard(struct swap_cluster_info *info)
mm/swapfile.c
385
static inline bool cluster_table_is_alloced(struct swap_cluster_info *ci)
mm/swapfile.c
390
static inline bool cluster_is_usable(struct swap_cluster_info *ci, int order)
mm/swapfile.c
402
struct swap_cluster_info *ci)
mm/swapfile.c
408
struct swap_cluster_info *ci)
mm/swapfile.c
421
static void swap_cluster_free_table(struct swap_cluster_info *ci)
mm/swapfile.c
449
static int swap_cluster_alloc_table(struct swap_cluster_info *ci, gfp_t gfp)
mm/swapfile.c
498
static void swap_cluster_assert_empty(struct swap_cluster_info *ci,
mm/swapfile.c
526
static struct swap_cluster_info *
mm/swapfile.c
528
struct swap_cluster_info *ci)
mm/swapfile.c
56
struct swap_cluster_info *ci, struct list_head *list,
mm/swapfile.c
580
struct swap_cluster_info *ci, struct list_head *list,
mm/swapfile.c
599
struct swap_cluster_info *ci)
mm/swapfile.c
606
static void __free_cluster(struct swap_info_struct *si, struct swap_cluster_info *ci)
mm/swapfile.c
623
static struct swap_cluster_info *isolate_lock_cluster(
mm/swapfile.c
626
struct swap_cluster_info *ci, *found = NULL;
mm/swapfile.c
665
struct swap_cluster_info *ci;
mm/swapfile.c
671
ci = list_first_entry(&si->discard_clusters, struct swap_cluster_info, list);
mm/swapfile.c
719
static void free_cluster(struct swap_info_struct *si, struct swap_cluster_info *ci)
mm/swapfile.c
744
struct swap_cluster_info *ci)
mm/swapfile.c
760
struct swap_cluster_info *ci)
mm/swapfile.c
788
struct swap_cluster_info *cluster_info,
mm/swapfile.c
793
struct swap_cluster_info *ci;
mm/swapfile.c
838
struct swap_cluster_info *ci,
mm/swapfile.c
885
struct swap_cluster_info *ci,
mm/swapfile.c
912
struct swap_cluster_info *ci,
mm/swapfile.c
965
struct swap_cluster_info *ci,
mm/vmscan.c
684
struct swap_cluster_info *ci;