Symbol: swp_entry_t
arch/alpha/include/asm/pgtable.h
334
#define __swp_entry(type, off) ((swp_entry_t) { pte_val(mk_swap_pte((type), (off))) })
arch/alpha/include/asm/pgtable.h
335
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/arc/include/asm/pgtable-bits-arcv2.h
123
#define __swp_entry(type, off) ((swp_entry_t) \
arch/arc/include/asm/pgtable-bits-arcv2.h
130
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/arm/include/asm/pgtable.h
298
#define __swp_entry(type, offset) ((swp_entry_t) { (((type) & __SWP_TYPE_MASK) << __SWP_TYPE_SHIFT) | \
arch/arm/include/asm/pgtable.h
301
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/arm64/include/asm/mte.h
28
void mte_restore_tags(swp_entry_t entry, struct page *page);
arch/arm64/include/asm/pgtable.h
1521
#define __swp_entry(type,offset) ((swp_entry_t) { ((type) << __SWP_TYPE_SHIFT) | ((offset) << __SWP_OFFSET_SHIFT) })
arch/arm64/include/asm/pgtable.h
1523
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/arm64/include/asm/pgtable.h
1527
#define __pmd_to_swp_entry(pmd) ((swp_entry_t) { pmd_val(pmd) })
arch/arm64/include/asm/pgtable.h
1556
extern void arch_swap_restore(swp_entry_t entry, struct folio *folio);
arch/arm64/mm/mteswap.c
117
void arch_swap_restore(swp_entry_t entry, struct folio *folio)
arch/arm64/mm/mteswap.c
50
void mte_restore_tags(swp_entry_t entry, struct page *page)
arch/arm64/mm/mteswap.c
65
swp_entry_t entry = swp_entry(type, offset);
arch/arm64/mm/mteswap.c
73
swp_entry_t entry = page_swap_entry(page);
arch/arm64/mm/mteswap.c
80
swp_entry_t entry = swp_entry(type, 0);
arch/arm64/mm/mteswap.c
81
swp_entry_t last_entry = swp_entry(type + 1, 0);
arch/csky/abiv1/inc/abi/pgtable-bits.h
48
#define __swp_entry(type, offset) ((swp_entry_t) { \
arch/csky/abiv2/inc/abi/pgtable-bits.h
48
#define __swp_entry(type, offset) ((swp_entry_t) { \
arch/csky/include/asm/pgtable.h
42
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/hexagon/include/asm/pgtable.h
333
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/hexagon/include/asm/pgtable.h
386
((swp_entry_t) { \
arch/loongarch/include/asm/pgtable.h
332
#define __swp_entry(type, offset) ((swp_entry_t) { pte_val(mk_swap_pte((type), (offset))) })
arch/loongarch/include/asm/pgtable.h
336
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/loongarch/include/asm/pgtable.h
337
#define __pmd_to_swp_entry(pmd) ((swp_entry_t) { pmd_val(pmd) })
arch/m68k/include/asm/mcf_pgtable.h
266
#define __swp_entry(typ, off) ((swp_entry_t) { ((typ) & 0x7f) | \
arch/m68k/include/asm/mcf_pgtable.h
268
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/m68k/include/asm/motorola_pgtable.h
184
#define __swp_entry(type, offset) ((swp_entry_t) { (((type) & 0x7f) << 4) | ((offset) << 12) })
arch/m68k/include/asm/motorola_pgtable.h
185
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/m68k/include/asm/sun3_pgtable.h
167
#define __swp_entry(type, offset) ((swp_entry_t) { (((type) & 0x3f) | \
arch/m68k/include/asm/sun3_pgtable.h
169
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/microblaze/include/asm/pgtable.h
396
((swp_entry_t) { ((type) & 0x1f) | ((offset) << 6) })
arch/microblaze/include/asm/pgtable.h
397
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 2 })
arch/mips/include/asm/pgtable-32.h
213
#define __swp_entry(type, offset) ((swp_entry_t) { (((type) & 0x1f) << 10) | ((offset) << 15) })
arch/mips/include/asm/pgtable-32.h
214
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/mips/include/asm/pgtable-32.h
241
#define __swp_entry(type, offset) ((swp_entry_t) { (((type) & 0x1f) << 4) | ((offset) << 9) })
arch/mips/include/asm/pgtable-32.h
242
#define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high })
arch/mips/include/asm/pgtable-32.h
270
#define __swp_entry(type, offset) ((swp_entry_t) { (((type) & 0x1f) << 2) | ((offset) << 7) })
arch/mips/include/asm/pgtable-32.h
271
#define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high })
arch/mips/include/asm/pgtable-32.h
294
#define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 8) | ((offset) << 13) })
arch/mips/include/asm/pgtable-32.h
295
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/mips/include/asm/pgtable-64.h
345
#define __swp_entry(type, offset) ((swp_entry_t) { pte_val(mk_swap_pte((type), (offset))) })
arch/mips/include/asm/pgtable-64.h
346
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/nios2/include/asm/pgtable.h
257
#define __swp_entry(type, off) ((swp_entry_t) { (((type) & 0x1f) << 26) \
arch/nios2/include/asm/pgtable.h
260
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/openrisc/include/asm/pgtable.h
393
((swp_entry_t) { (((type) & 0x3f) << 5) | ((offset) << 12) })
arch/openrisc/include/asm/pgtable.h
394
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/parisc/include/asm/pgtable.h
422
#define __swp_entry(type, offset) ((swp_entry_t) { \
arch/parisc/include/asm/pgtable.h
426
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/powerpc/include/asm/book3s/32/pgtable.h
365
#define __swp_entry(type, offset) ((swp_entry_t) { ((type) & 0x1f) | ((offset) << 5) })
arch/powerpc/include/asm/book3s/32/pgtable.h
366
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 })
arch/powerpc/include/asm/book3s/64/pgtable.h
649
#define __swp_entry(type, offset) ((swp_entry_t) { \
arch/powerpc/include/asm/book3s/64/pgtable.h
657
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) & ~_PAGE_PTE })
arch/powerpc/include/asm/nohash/32/pgtable.h
193
#define __swp_entry(type, offset) ((swp_entry_t) { ((type) & 0x1f) | ((offset) << 5) })
arch/powerpc/include/asm/nohash/32/pgtable.h
194
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 })
arch/powerpc/include/asm/nohash/64/pgtable.h
191
#define __swp_entry(type, offset) ((swp_entry_t) { \
arch/powerpc/include/asm/nohash/64/pgtable.h
195
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) })
arch/riscv/include/asm/pgtable.h
1194
#define __swp_entry(type, offset) ((swp_entry_t) \
arch/riscv/include/asm/pgtable.h
1198
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/riscv/include/asm/pgtable.h
1217
#define __pmd_to_swp_entry(pmd) ((swp_entry_t) { pmd_val(pmd) })
arch/s390/include/asm/pgtable.h
1818
static inline unsigned long __swp_type(swp_entry_t entry)
arch/s390/include/asm/pgtable.h
1823
static inline unsigned long __swp_offset(swp_entry_t entry)
arch/s390/include/asm/pgtable.h
1828
static inline swp_entry_t __swp_entry(unsigned long type, unsigned long offset)
arch/s390/include/asm/pgtable.h
1830
return (swp_entry_t) { pte_val(mk_swap_pte(type, offset)) };
arch/s390/include/asm/pgtable.h
1833
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/s390/include/asm/pgtable.h
1871
static inline unsigned long __swp_type_rste(swp_entry_t entry)
arch/s390/include/asm/pgtable.h
1876
static inline unsigned long __swp_offset_rste(swp_entry_t entry)
arch/s390/include/asm/pgtable.h
1881
#define __rste_to_swp_entry(rste) ((swp_entry_t) { rste })
arch/s390/include/asm/pgtable.h
1904
static inline swp_entry_t __pmd_to_swp_entry(pmd_t pmd)
arch/s390/include/asm/pgtable.h
1906
swp_entry_t arch_entry;
arch/s390/include/asm/pgtable.h
1914
static inline pmd_t __swp_entry_to_pmd(swp_entry_t arch_entry)
arch/s390/mm/hugetlbpage.c
27
swp_entry_t arch_entry;
arch/s390/mm/hugetlbpage.c
82
swp_entry_t arch_entry;
arch/sh/include/asm/pgtable_32.h
448
#define __swp_entry(type, offset) ((swp_entry_t){ ((type) & 0x1f) | (offset) << 5})
arch/sh/include/asm/pgtable_32.h
449
#define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high })
arch/sh/include/asm/pgtable_32.h
464
#define __swp_entry(type, offset) ((swp_entry_t){((type) & 0x1f) | (offset) << 10})
arch/sh/include/asm/pgtable_32.h
466
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 1 })
arch/sparc/include/asm/pgtable_32.h
331
static inline unsigned long __swp_type(swp_entry_t entry)
arch/sparc/include/asm/pgtable_32.h
336
static inline unsigned long __swp_offset(swp_entry_t entry)
arch/sparc/include/asm/pgtable_32.h
341
static inline swp_entry_t __swp_entry(unsigned long type, unsigned long offset)
arch/sparc/include/asm/pgtable_32.h
343
return (swp_entry_t) {
arch/sparc/include/asm/pgtable_32.h
348
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/sparc/include/asm/pgtable_64.h
1018
( (swp_entry_t) \
arch/sparc/include/asm/pgtable_64.h
1023
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
arch/um/include/asm/pgtable.h
316
((swp_entry_t) { (((type) & 0x1f) << 5) | ((offset) << 11) })
arch/um/include/asm/pgtable.h
318
((swp_entry_t) { pte_val(pte_mkuptodate(pte)) })
arch/x86/include/asm/pgtable-2level.h
105
#define __swp_entry(type, offset) ((swp_entry_t) { \
arch/x86/include/asm/pgtable-2level.h
108
#define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
arch/x86/include/asm/pgtable-3level.h
175
#define __swp_entry(type, offset) ((swp_entry_t){((type) & _SWP_TYPE_MASK) \
arch/x86/include/asm/pgtable_64.h
231
#define __swp_entry(type, offset) ((swp_entry_t) { \
arch/x86/include/asm/pgtable_64.h
235
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) })
arch/x86/include/asm/pgtable_64.h
236
#define __pmd_to_swp_entry(pmd) ((swp_entry_t) { pmd_val((pmd)) })
arch/xtensa/include/asm/pgtable.h
346
((swp_entry_t){(((type) & 0x1f) << 6) | ((offs) << 11) | \
arch/xtensa/include/asm/pgtable.h
348
#define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
include/linux/memcontrol.h
1148
struct mm_struct *mm, gfp_t gfp, swp_entry_t entry)
include/linux/memcontrol.h
1899
void memcg1_swapout(struct folio *folio, swp_entry_t entry);
include/linux/memcontrol.h
1900
void memcg1_swapin(swp_entry_t entry, unsigned int nr_pages);
include/linux/memcontrol.h
1929
static inline void memcg1_swapout(struct folio *folio, swp_entry_t entry)
include/linux/memcontrol.h
1933
static inline void memcg1_swapin(swp_entry_t entry, unsigned int nr_pages)
include/linux/memcontrol.h
670
gfp_t gfp, swp_entry_t entry);
include/linux/mm_types.h
312
typedef swp_entry_t softleaf_t;
include/linux/mm_types.h
428
swp_entry_t swap;
include/linux/pgtable.h
1374
static inline void arch_swap_restore(swp_entry_t entry, struct folio *folio)
include/linux/swap.h
305
static inline swp_entry_t page_swap_entry(struct page *page)
include/linux/swap.h
308
swp_entry_t entry = folio->swap;
include/linux/swap.h
454
extern int add_swap_count_continuation(swp_entry_t, gfp_t);
include/linux/swap.h
459
extern int __swap_count(swp_entry_t entry);
include/linux/swap.h
460
extern bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry);
include/linux/swap.h
461
extern int swp_swapcount(swp_entry_t entry);
include/linux/swap.h
463
extern struct swap_info_struct *get_swap_device(swp_entry_t entry);
include/linux/swap.h
476
int swap_dup_entry_direct(swp_entry_t entry);
include/linux/swap.h
477
void swap_put_entries_direct(swp_entry_t entry, int nr);
include/linux/swap.h
486
swp_entry_t swap_alloc_hibernation_slot(int type);
include/linux/swap.h
487
void swap_free_hibernation_slot(swp_entry_t entry);
include/linux/swap.h
495
static inline struct swap_info_struct *get_swap_device(swp_entry_t entry)
include/linux/swap.h
520
static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask)
include/linux/swap.h
525
static inline int swap_dup_entry_direct(swp_entry_t ent)
include/linux/swap.h
530
static inline void swap_put_entries_direct(swp_entry_t ent, int nr)
include/linux/swap.h
534
static inline int __swap_count(swp_entry_t entry)
include/linux/swap.h
539
static inline bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry)
include/linux/swap.h
544
static inline int swp_swapcount(swp_entry_t entry)
include/linux/swap.h
596
int __mem_cgroup_try_charge_swap(struct folio *folio, swp_entry_t entry);
include/linux/swap.h
598
swp_entry_t entry)
include/linux/swap.h
605
extern void __mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages);
include/linux/swap.h
606
static inline void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages)
include/linux/swap.h
617
swp_entry_t entry)
include/linux/swap.h
622
static inline void mem_cgroup_uncharge_swap(swp_entry_t entry,
include/linux/swap_cgroup.h
10
extern unsigned short swap_cgroup_clear(swp_entry_t ent, unsigned int nr_ents);
include/linux/swap_cgroup.h
11
extern unsigned short lookup_swap_cgroup_id(swp_entry_t ent);
include/linux/swap_cgroup.h
18
void swap_cgroup_record(struct folio *folio, unsigned short id, swp_entry_t ent)
include/linux/swap_cgroup.h
23
unsigned short swap_cgroup_clear(swp_entry_t ent, unsigned int nr_ents)
include/linux/swap_cgroup.h
29
unsigned short lookup_swap_cgroup_id(swp_entry_t ent)
include/linux/swap_cgroup.h
9
extern void swap_cgroup_record(struct folio *folio, unsigned short id, swp_entry_t ent);
include/linux/swapops.h
105
static inline pgoff_t swp_offset(swp_entry_t entry)
include/linux/swapops.h
114
static inline pte_t swp_entry_to_pte(swp_entry_t entry)
include/linux/swapops.h
116
swp_entry_t arch_entry;
include/linux/swapops.h
122
static inline swp_entry_t radix_to_swp_entry(void *arg)
include/linux/swapops.h
124
swp_entry_t entry;
include/linux/swapops.h
130
static inline void *swp_to_radix_entry(swp_entry_t entry)
include/linux/swapops.h
136
static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset)
include/linux/swapops.h
141
static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset)
include/linux/swapops.h
146
static inline swp_entry_t make_device_exclusive_entry(pgoff_t offset)
include/linux/swapops.h
152
static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset)
include/linux/swapops.h
157
static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset)
include/linux/swapops.h
162
static inline swp_entry_t make_device_exclusive_entry(pgoff_t offset)
include/linux/swapops.h
171
static inline swp_entry_t make_readable_migration_entry(pgoff_t offset)
include/linux/swapops.h
176
static inline swp_entry_t make_readable_exclusive_migration_entry(pgoff_t offset)
include/linux/swapops.h
181
static inline swp_entry_t make_writable_migration_entry(pgoff_t offset)
include/linux/swapops.h
200
static inline swp_entry_t make_migration_entry_young(swp_entry_t entry)
include/linux/swapops.h
208
static inline swp_entry_t make_migration_entry_dirty(swp_entry_t entry)
include/linux/swapops.h
220
static inline swp_entry_t make_readable_migration_entry(pgoff_t offset)
include/linux/swapops.h
225
static inline swp_entry_t make_readable_exclusive_migration_entry(pgoff_t offset)
include/linux/swapops.h
230
static inline swp_entry_t make_writable_migration_entry(pgoff_t offset)
include/linux/swapops.h
240
static inline swp_entry_t make_migration_entry_young(swp_entry_t entry)
include/linux/swapops.h
245
static inline swp_entry_t make_migration_entry_dirty(swp_entry_t entry)
include/linux/swapops.h
257
static inline swp_entry_t make_hwpoison_entry(struct page *page)
include/linux/swapops.h
263
static inline int is_hwpoison_entry(swp_entry_t entry)
include/linux/swapops.h
270
static inline swp_entry_t make_hwpoison_entry(struct page *page)
include/linux/swapops.h
275
static inline int is_hwpoison_entry(swp_entry_t swp)
include/linux/swapops.h
302
static inline swp_entry_t make_pte_marker_entry(pte_marker marker)
include/linux/swapops.h
312
static inline swp_entry_t make_poisoned_swp_entry(void)
include/linux/swapops.h
317
static inline swp_entry_t make_guard_swp_entry(void)
include/linux/swapops.h
333
static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
include/linux/swapops.h
335
swp_entry_t arch_entry;
include/linux/swapops.h
356
static inline pmd_t swp_entry_to_pmd(swp_entry_t entry)
include/linux/swapops.h
84
static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset)
include/linux/swapops.h
86
swp_entry_t ret;
include/linux/swapops.h
96
static inline unsigned swp_type(swp_entry_t entry)
include/linux/zswap.h
30
void zswap_invalidate(swp_entry_t swp);
include/linux/zswap.h
52
static inline void zswap_invalidate(swp_entry_t swp) {}
mm/debug_vm_pgtable.c
76
swp_entry_t swp_entry;
mm/debug_vm_pgtable.c
77
swp_entry_t leaf_entry;
mm/debug_vm_pgtable.c
775
swp_entry_t entry;
mm/debug_vm_pgtable.c
807
swp_entry_t arch_entry;
mm/debug_vm_pgtable.c
825
swp_entry_t arch_entry;
mm/filemap.c
4619
swp_entry_t swp = radix_to_swp_entry(folio);
mm/huge_memory.c
3186
swp_entry_t swp_entry;
mm/huge_memory.c
3212
swp_entry_t swp_entry;
mm/huge_memory.c
4871
swp_entry_t entry;
mm/huge_memory.c
4945
swp_entry_t entry;
mm/internal.h
138
static inline swp_entry_t folio_swap(swp_entry_t entry,
mm/internal.h
141
swp_entry_t swap = {
mm/madvise.c
244
swp_entry_t entry;
mm/memcontrol-v1.c
613
void memcg1_swapout(struct folio *folio, swp_entry_t entry)
mm/memcontrol-v1.c
684
void memcg1_swapin(swp_entry_t entry, unsigned int nr_pages)
mm/memcontrol.c
4814
gfp_t gfp, swp_entry_t entry)
mm/memcontrol.c
5208
int __mem_cgroup_try_charge_swap(struct folio *folio, swp_entry_t entry)
mm/memcontrol.c
5253
void __mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages)
mm/memory.c
4688
static void check_swap_exclusive(struct folio *folio, swp_entry_t entry,
mm/migrate_device.c
1034
swp_entry_t swp_entry;
mm/migrate_device.c
837
swp_entry_t swp_entry;
mm/mincore.c
61
static unsigned char mincore_swap(swp_entry_t entry, bool shmem)
mm/page_io.c
209
swp_entry_t entry;
mm/page_io.c
227
swp_entry_t entry;
mm/rmap.c
2219
swp_entry_t entry = page_swap_entry(subpage);
mm/rmap.c
2628
swp_entry_t entry;
mm/rmap.c
2816
swp_entry_t entry;
mm/shmem.c
1444
swp_entry_t entry;
mm/shmem.c
1777
static struct folio *shmem_swapin_cluster(swp_entry_t swap, gfp_t gfp,
mm/shmem.c
2042
swp_entry_t entry, int order, gfp_t gfp)
mm/shmem.c
2134
swp_entry_t entry = old->swap;
mm/shmem.c
2189
struct folio *folio, swp_entry_t swap)
mm/shmem.c
2192
swp_entry_t swapin_error;
mm/shmem.c
2216
swp_entry_t swap, gfp_t gfp)
mm/shmem.c
2262
swp_entry_t tmp;
mm/shmem.c
2301
swp_entry_t swap;
mm/shmem.c
521
swp_entry_t swap)
mm/shmem.c
887
swp_entry_t iter, swap;
mm/swap.h
229
static inline struct address_space *swap_address_space(swp_entry_t entry)
mm/swap.h
237
static inline loff_t swap_dev_pos(swp_entry_t entry)
mm/swap.h
252
swp_entry_t entry)
mm/swap.h
254
swp_entry_t folio_entry = folio->swap;
mm/swap.h
275
bool swap_cache_has_folio(swp_entry_t entry);
mm/swap.h
276
struct folio *swap_cache_get_folio(swp_entry_t entry);
mm/swap.h
277
void *swap_cache_get_shadow(swp_entry_t entry);
mm/swap.h
279
struct folio *swap_cache_alloc_folio(swp_entry_t entry, gfp_t gfp_flags,
mm/swap.h
284
struct folio *folio, swp_entry_t entry);
mm/swap.h
286
struct folio *folio, swp_entry_t entry, void *shadow);
mm/swap.h
289
void __swap_cache_clear_shadow(swp_entry_t entry, int nr_ents);
mm/swap.h
292
void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr);
mm/swap.h
293
struct folio *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
mm/swap.h
296
struct folio *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
mm/swap.h
298
struct folio *swapin_readahead(swp_entry_t entry, gfp_t flag,
mm/swap.h
300
struct folio *swapin_folio(swp_entry_t entry, struct folio *folio);
mm/swap.h
314
static inline int swap_zeromap_batch(swp_entry_t entry, int max_nr,
mm/swap.h
334
static inline int non_swapcache_batch(swp_entry_t entry, int max_nr)
mm/swap.h
380
static inline struct swap_info_struct *__swap_entry_to_info(swp_entry_t entry)
mm/swap.h
407
static inline struct address_space *swap_address_space(swp_entry_t entry)
mm/swap.h
412
static inline bool folio_matches_swap_entry(const struct folio *folio, swp_entry_t entry)
mm/swap.h
421
static inline struct folio *swap_cluster_readahead(swp_entry_t entry,
mm/swap.h
427
static inline struct folio *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask,
mm/swap.h
433
static inline struct folio *swapin_folio(swp_entry_t entry, struct folio *folio)
mm/swap.h
449
static inline bool swap_cache_has_folio(swp_entry_t entry)
mm/swap.h
454
static inline struct folio *swap_cache_get_folio(swp_entry_t entry)
mm/swap.h
459
static inline void *swap_cache_get_shadow(swp_entry_t entry)
mm/swap.h
469
struct folio *folio, swp_entry_t entry, void *shadow)
mm/swap.h
483
static inline int swap_zeromap_batch(swp_entry_t entry, int max_nr,
mm/swap.h
489
static inline int non_swapcache_batch(swp_entry_t entry, int max_nr)
mm/swap.h
60
static inline unsigned int swp_cluster_offset(swp_entry_t entry)
mm/swap.h
78
static inline struct swap_info_struct *__swap_entry_to_info(swp_entry_t entry)
mm/swap.h
91
static inline struct swap_cluster_info *__swap_entry_to_cluster(swp_entry_t entry)
mm/swap_cgroup.c
119
unsigned short lookup_swap_cgroup_id(swp_entry_t ent)
mm/swap_cgroup.c
65
swp_entry_t ent)
mm/swap_cgroup.c
93
unsigned short swap_cgroup_clear(swp_entry_t ent, unsigned int nr_ents)
mm/swap_state.c
112
bool swap_cache_has_folio(swp_entry_t entry)
mm/swap_state.c
129
void *swap_cache_get_shadow(swp_entry_t entry)
mm/swap_state.c
141
struct folio *folio, swp_entry_t entry)
mm/swap_state.c
178
static int swap_cache_add_folio(struct folio *folio, swp_entry_t entry,
mm/swap_state.c
238
swp_entry_t entry, void *shadow)
mm/swap_state.c
297
swp_entry_t entry = folio->swap;
mm/swap_state.c
323
swp_entry_t entry = new->swap;
mm/swap_state.c
362
void __swap_cache_clear_shadow(swp_entry_t entry, int nr_ents)
mm/swap_state.c
487
static struct folio *__swap_cache_prepare_and_add(swp_entry_t entry,
mm/swap_state.c
551
struct folio *swap_cache_alloc_folio(swp_entry_t entry, gfp_t gfp_mask,
mm/swap_state.c
596
struct folio *swapin_folio(swp_entry_t entry, struct folio *folio)
mm/swap_state.c
615
struct folio *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask,
mm/swap_state.c
720
struct folio *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask,
mm/swap_state.c
828
static struct folio *swap_vma_readahead(swp_entry_t targ_entry, gfp_t gfp_mask,
mm/swap_state.c
87
struct folio *swap_cache_get_folio(swp_entry_t entry)
mm/swap_state.c
913
struct folio *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask,
mm/swapfile.c
142
static struct swap_info_struct *swap_entry_to_info(swp_entry_t entry)
mm/swapfile.c
1558
swp_entry_t entry = folio->swap;
mm/swapfile.c
1586
swp_entry_t entry = folio->swap;
mm/swapfile.c
1661
struct swap_info_struct *get_swap_device(swp_entry_t entry)
mm/swapfile.c
1696
swp_entry_t entry = swp_entry(si->type, offset);
mm/swapfile.c
1721
int __swap_count(swp_entry_t entry)
mm/swapfile.c
1734
bool swap_entry_swapped(struct swap_info_struct *si, swp_entry_t entry)
mm/swapfile.c
1751
int swp_swapcount(swp_entry_t entry)
mm/swapfile.c
1795
swp_entry_t entry, int order)
mm/swapfile.c
1824
swp_entry_t entry = folio->swap;
mm/swapfile.c
1901
void swap_put_entries_direct(swp_entry_t entry, int nr)
mm/swapfile.c
1927
swp_entry_t swap_alloc_hibernation_slot(int type)
mm/swapfile.c
1931
swp_entry_t entry = {0};
mm/swapfile.c
1956
void swap_free_hibernation_slot(swp_entry_t entry)
mm/swapfile.c
205
const swp_entry_t entry = swp_entry(si->type, offset);
mm/swapfile.c
2081
unsigned long addr, swp_entry_t entry, struct folio *folio)
mm/swapfile.c
2120
swp_entry_t swp_entry;
mm/swapfile.c
2407
swp_entry_t entry;
mm/swapfile.c
3143
swp_entry_t entry = swp_entry(0, ~0UL);
mm/swapfile.c
3646
static int __swap_duplicate(swp_entry_t entry, unsigned char usage, int nr)
mm/swapfile.c
3678
int swap_dup_entry_direct(swp_entry_t entry)
mm/swapfile.c
3701
int add_swap_count_continuation(swp_entry_t entry, gfp_t gfp_mask)
mm/swapfile.c
59
static int __swap_duplicate(swp_entry_t entry, unsigned char usage, int nr);
mm/userfaultfd.c
1161
struct swap_info_struct *si, swp_entry_t entry)
mm/vmscan.c
758
swp_entry_t swap = folio->swap;
mm/zswap.c
1105
swp_entry_t swpentry;
mm/zswap.c
1412
swp_entry_t page_swpentry = page_swap_entry(page);
mm/zswap.c
1491
swp_entry_t swp = folio->swap;
mm/zswap.c
1596
swp_entry_t swp = folio->swap;
mm/zswap.c
1654
void zswap_invalidate(swp_entry_t swp)
mm/zswap.c
191
swp_entry_t swpentry;
mm/zswap.c
231
static inline struct xarray *swap_zswap_tree(swp_entry_t swp)
mm/zswap.c
995
swp_entry_t swpentry)