swp_entry_t 343 arch/alpha/include/asm/pgtable.h #define __swp_entry(type, off) ((swp_entry_t) { pte_val(mk_swap_pte((type), (off))) }) swp_entry_t 344 arch/alpha/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 372 arch/arc/include/asm/pgtable.h #define __swp_entry(type, off) ((swp_entry_t) { \ swp_entry_t 380 arch/arc/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 47 arch/arm/include/asm/pgtable-nommu.h #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) swp_entry_t 48 arch/arm/include/asm/pgtable-nommu.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 347 arch/arm/include/asm/pgtable.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << __SWP_TYPE_SHIFT) | ((offset) << __SWP_OFFSET_SHIFT) }) swp_entry_t 349 arch/arm/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 828 arch/arm64/include/asm/pgtable.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << __SWP_TYPE_SHIFT) | ((offset) << __SWP_OFFSET_SHIFT) }) swp_entry_t 830 arch/arm64/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 46 arch/c6x/include/asm/pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) swp_entry_t 47 arch/c6x/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 65 arch/csky/include/asm/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) {((type) << 4) | \ swp_entry_t 67 arch/csky/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 15 arch/h8300/include/asm/pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) swp_entry_t 16 arch/h8300/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 389 arch/hexagon/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 462 arch/hexagon/include/asm/pgtable.h ((swp_entry_t) { \ swp_entry_t 478 arch/ia64/include/asm/pgtable.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << 1) | ((long) (offset) << 8) }) swp_entry_t 479 arch/ia64/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 394 arch/m68k/include/asm/mcf_pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { (typ) | \ swp_entry_t 396 arch/m68k/include/asm/mcf_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 271 arch/m68k/include/asm/motorola_pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 4) | ((offset) << 12) }) swp_entry_t 272 arch/m68k/include/asm/motorola_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 37 arch/m68k/include/asm/pgtable_no.h #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) swp_entry_t 38 arch/m68k/include/asm/pgtable_no.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 212 arch/m68k/include/asm/sun3_pgtable.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) | ((offset) << 7)) }) swp_entry_t 213 arch/m68k/include/asm/sun3_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 41 arch/microblaze/include/asm/pgtable.h #define __swp_entry(typ, off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) swp_entry_t 42 arch/microblaze/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 509 arch/microblaze/include/asm/pgtable.h ((swp_entry_t) { (type) | ((offset) << 6) }) swp_entry_t 510 arch/microblaze/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 2 }) swp_entry_t 229 arch/mips/include/asm/pgtable-32.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << 10) | ((offset) << 15) }) swp_entry_t 230 arch/mips/include/asm/pgtable-32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 240 arch/mips/include/asm/pgtable-32.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << 4) | ((offset) << 9) }) swp_entry_t 241 arch/mips/include/asm/pgtable-32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high }) swp_entry_t 249 arch/mips/include/asm/pgtable-32.h #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 2) | ((offset) << 7) }) swp_entry_t 250 arch/mips/include/asm/pgtable-32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_high }) swp_entry_t 263 arch/mips/include/asm/pgtable-32.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << 8) | ((offset) << 13) }) swp_entry_t 264 arch/mips/include/asm/pgtable-32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 377 arch/mips/include/asm/pgtable-64.h #define __swp_entry(type, offset) ((swp_entry_t) { pte_val(mk_swap_pte((type), (offset))) }) swp_entry_t 378 arch/mips/include/asm/pgtable-64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 387 arch/nds32/include/asm/pgtable.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << 2) | ((offset) << 9) }) swp_entry_t 388 arch/nds32/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 285 arch/nios2/include/asm/pgtable.h #define __swp_entry(type, off) ((swp_entry_t) { (((type) & 0x3) << 26) \ swp_entry_t 288 arch/nios2/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 438 arch/openrisc/include/asm/pgtable.h ((swp_entry_t) { ((type) << 5) | ((offset) << 12) }) swp_entry_t 439 arch/openrisc/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 483 arch/parisc/include/asm/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { (type) | \ swp_entry_t 486 arch/parisc/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 377 arch/powerpc/include/asm/book3s/32/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { (type) | ((offset) << 5) }) swp_entry_t 378 arch/powerpc/include/asm/book3s/32/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) swp_entry_t 733 arch/powerpc/include/asm/book3s/64/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { \ swp_entry_t 742 arch/powerpc/include/asm/book3s/64/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) & ~_PAGE_PTE }) swp_entry_t 383 arch/powerpc/include/asm/nohash/32/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { (type) | ((offset) << 5) }) swp_entry_t 384 arch/powerpc/include/asm/nohash/32/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 3 }) swp_entry_t 351 arch/powerpc/include/asm/nohash/64/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { \ swp_entry_t 355 arch/powerpc/include/asm/nohash/64/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) swp_entry_t 427 arch/riscv/include/asm/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) \ swp_entry_t 430 arch/riscv/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 1662 arch/s390/include/asm/pgtable.h static inline unsigned long __swp_type(swp_entry_t entry) swp_entry_t 1667 arch/s390/include/asm/pgtable.h static inline unsigned long __swp_offset(swp_entry_t entry) swp_entry_t 1672 arch/s390/include/asm/pgtable.h static inline swp_entry_t __swp_entry(unsigned long type, unsigned long offset) swp_entry_t 1674 arch/s390/include/asm/pgtable.h return (swp_entry_t) { pte_val(mk_swap_pte(type, offset)) }; swp_entry_t 1677 arch/s390/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 671 arch/s390/mm/pgtable.c static void ptep_zap_swap_entry(struct mm_struct *mm, swp_entry_t entry) swp_entry_t 463 arch/sh/include/asm/pgtable_32.h #define __swp_entry(type, offset) ((swp_entry_t){ (type) | (offset) << 5}) swp_entry_t 464 arch/sh/include/asm/pgtable_32.h #define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high }) swp_entry_t 470 arch/sh/include/asm/pgtable_32.h #define __swp_entry(type, offset) ((swp_entry_t){(type) | (offset) <<10}) swp_entry_t 472 arch/sh/include/asm/pgtable_32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) >> 1 }) swp_entry_t 298 arch/sh/include/asm/pgtable_64.h #define __swp_entry(type, offset) ((swp_entry_t) { ((offset << 8) + ((type & 0x3c) << 1) + (type & 3)) }) swp_entry_t 299 arch/sh/include/asm/pgtable_64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 352 arch/sparc/include/asm/pgtable_32.h static inline unsigned long __swp_type(swp_entry_t entry) swp_entry_t 357 arch/sparc/include/asm/pgtable_32.h static inline unsigned long __swp_offset(swp_entry_t entry) swp_entry_t 362 arch/sparc/include/asm/pgtable_32.h static inline swp_entry_t __swp_entry(unsigned long type, unsigned long offset) swp_entry_t 364 arch/sparc/include/asm/pgtable_32.h return (swp_entry_t) { swp_entry_t 369 arch/sparc/include/asm/pgtable_32.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 1013 arch/sparc/include/asm/pgtable_64.h ( (swp_entry_t) \ swp_entry_t 1018 arch/sparc/include/asm/pgtable_64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 356 arch/um/include/asm/pgtable.h ((swp_entry_t) { ((type) << 5) | ((offset) << 11) }) swp_entry_t 358 arch/um/include/asm/pgtable.h ((swp_entry_t) { pte_val(pte_mkuptodate(pte)) }) swp_entry_t 267 arch/unicore32/include/asm/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { \ swp_entry_t 271 arch/unicore32/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 92 arch/x86/include/asm/pgtable-2level.h #define __swp_entry(type, offset) ((swp_entry_t) { \ swp_entry_t 95 arch/x86/include/asm/pgtable-2level.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low }) swp_entry_t 260 arch/x86/include/asm/pgtable-3level.h #define __swp_entry(type, offset) ((swp_entry_t){(type) | (offset) << 5}) swp_entry_t 229 arch/x86/include/asm/pgtable_64.h #define __swp_entry(type, offset) ((swp_entry_t) { \ swp_entry_t 233 arch/x86/include/asm/pgtable_64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) swp_entry_t 234 arch/x86/include/asm/pgtable_64.h #define __pmd_to_swp_entry(pmd) ((swp_entry_t) { pmd_val((pmd)) }) swp_entry_t 394 arch/xtensa/include/asm/pgtable.h ((swp_entry_t){((type) << 6) | ((offs) << 11) | \ swp_entry_t 396 arch/xtensa/include/asm/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 532 fs/proc/task_mmu.c swp_entry_t swpent = pte_to_swp_entry(*pte); swp_entry_t 718 fs/proc/task_mmu.c swp_entry_t swpent = pte_to_swp_entry(*pte); swp_entry_t 1338 fs/proc/task_mmu.c swp_entry_t entry; swp_entry_t 1394 fs/proc/task_mmu.c swp_entry_t entry = pmd_to_swp_entry(pmd); swp_entry_t 411 include/linux/swap.h extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t); swp_entry_t 412 include/linux/swap.h extern int __add_to_swap_cache(struct page *page, swp_entry_t entry); swp_entry_t 413 include/linux/swap.h extern void __delete_from_swap_cache(struct page *, swp_entry_t entry); swp_entry_t 417 include/linux/swap.h extern struct page *lookup_swap_cache(swp_entry_t entry, swp_entry_t 420 include/linux/swap.h extern struct page *read_swap_cache_async(swp_entry_t, gfp_t, swp_entry_t 423 include/linux/swap.h extern struct page *__read_swap_cache_async(swp_entry_t, gfp_t, swp_entry_t 426 include/linux/swap.h extern struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t flag, swp_entry_t 428 include/linux/swap.h extern struct page *swapin_readahead(swp_entry_t entry, gfp_t flag, swp_entry_t 449 include/linux/swap.h extern swp_entry_t get_swap_page(struct page *page); swp_entry_t 450 include/linux/swap.h extern void put_swap_page(struct page *page, swp_entry_t entry); swp_entry_t 451 include/linux/swap.h extern swp_entry_t get_swap_page_of_type(int); swp_entry_t 452 include/linux/swap.h extern int get_swap_pages(int n, swp_entry_t swp_entries[], int entry_size); swp_entry_t 453 include/linux/swap.h extern int add_swap_count_continuation(swp_entry_t, gfp_t); swp_entry_t 454 include/linux/swap.h extern void swap_shmem_alloc(swp_entry_t); swp_entry_t 455 include/linux/swap.h extern int swap_duplicate(swp_entry_t); swp_entry_t 456 include/linux/swap.h extern int swapcache_prepare(swp_entry_t); swp_entry_t 457 include/linux/swap.h extern void swap_free(swp_entry_t); swp_entry_t 458 include/linux/swap.h extern void swapcache_free_entries(swp_entry_t *entries, int n); swp_entry_t 459 include/linux/swap.h extern int free_swap_and_cache(swp_entry_t); swp_entry_t 465 include/linux/swap.h extern int __swap_count(swp_entry_t entry); swp_entry_t 466 include/linux/swap.h extern int __swp_swapcount(swp_entry_t entry); swp_entry_t 467 include/linux/swap.h extern int swp_swapcount(swp_entry_t entry); swp_entry_t 469 include/linux/swap.h extern struct swap_info_struct *swp_swap_info(swp_entry_t entry); swp_entry_t 475 include/linux/swap.h extern struct swap_info_struct *get_swap_device(swp_entry_t entry); swp_entry_t 489 include/linux/swap.h static inline struct swap_info_struct *swp_swap_info(swp_entry_t entry) swp_entry_t 516 include/linux/swap.h static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask) swp_entry_t 521 include/linux/swap.h static inline void swap_shmem_alloc(swp_entry_t swp) swp_entry_t 525 include/linux/swap.h static inline int swap_duplicate(swp_entry_t swp) swp_entry_t 530 include/linux/swap.h static inline void swap_free(swp_entry_t swp) swp_entry_t 534 include/linux/swap.h static inline void put_swap_page(struct page *page, swp_entry_t swp) swp_entry_t 538 include/linux/swap.h static inline struct page *swap_cluster_readahead(swp_entry_t entry, swp_entry_t 544 include/linux/swap.h static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, swp_entry_t 555 include/linux/swap.h static inline struct page *lookup_swap_cache(swp_entry_t swp, swp_entry_t 567 include/linux/swap.h static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, swp_entry_t 574 include/linux/swap.h swp_entry_t entry) swp_entry_t 587 include/linux/swap.h static inline int __swap_count(swp_entry_t entry) swp_entry_t 592 include/linux/swap.h static inline int __swp_swapcount(swp_entry_t entry) swp_entry_t 597 include/linux/swap.h static inline int swp_swapcount(swp_entry_t entry) swp_entry_t 610 include/linux/swap.h static inline swp_entry_t get_swap_page(struct page *page) swp_entry_t 612 include/linux/swap.h swp_entry_t entry; swp_entry_t 620 include/linux/swap.h extern int split_swap_cluster(swp_entry_t entry); swp_entry_t 622 include/linux/swap.h static inline int split_swap_cluster(swp_entry_t entry) swp_entry_t 659 include/linux/swap.h extern void mem_cgroup_swapout(struct page *page, swp_entry_t entry); swp_entry_t 660 include/linux/swap.h extern int mem_cgroup_try_charge_swap(struct page *page, swp_entry_t entry); swp_entry_t 661 include/linux/swap.h extern void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages); swp_entry_t 665 include/linux/swap.h static inline void mem_cgroup_swapout(struct page *page, swp_entry_t entry) swp_entry_t 670 include/linux/swap.h swp_entry_t entry) swp_entry_t 675 include/linux/swap.h static inline void mem_cgroup_uncharge_swap(swp_entry_t entry, swp_entry_t 9 include/linux/swap_cgroup.h extern unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, swp_entry_t 11 include/linux/swap_cgroup.h extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id, swp_entry_t 13 include/linux/swap_cgroup.h extern unsigned short lookup_swap_cgroup_id(swp_entry_t ent); swp_entry_t 20 include/linux/swap_cgroup.h unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id, swp_entry_t 27 include/linux/swap_cgroup.h unsigned short lookup_swap_cgroup_id(swp_entry_t ent) swp_entry_t 16 include/linux/swap_slots.h swp_entry_t *slots; swp_entry_t 20 include/linux/swap_slots.h swp_entry_t *slots_ret; swp_entry_t 27 include/linux/swap_slots.h int free_swap_slot(swp_entry_t entry); swp_entry_t 29 include/linux/swapops.h static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) swp_entry_t 31 include/linux/swapops.h swp_entry_t ret; swp_entry_t 41 include/linux/swapops.h static inline unsigned swp_type(swp_entry_t entry) swp_entry_t 50 include/linux/swapops.h static inline pgoff_t swp_offset(swp_entry_t entry) swp_entry_t 65 include/linux/swapops.h static inline swp_entry_t pte_to_swp_entry(pte_t pte) swp_entry_t 67 include/linux/swapops.h swp_entry_t arch_entry; swp_entry_t 79 include/linux/swapops.h static inline pte_t swp_entry_to_pte(swp_entry_t entry) swp_entry_t 81 include/linux/swapops.h swp_entry_t arch_entry; swp_entry_t 87 include/linux/swapops.h static inline swp_entry_t radix_to_swp_entry(void *arg) swp_entry_t 89 include/linux/swapops.h swp_entry_t entry; swp_entry_t 95 include/linux/swapops.h static inline void *swp_to_radix_entry(swp_entry_t entry) swp_entry_t 101 include/linux/swapops.h static inline swp_entry_t make_device_private_entry(struct page *page, bool write) swp_entry_t 107 include/linux/swapops.h static inline bool is_device_private_entry(swp_entry_t entry) swp_entry_t 113 include/linux/swapops.h static inline void make_device_private_entry_read(swp_entry_t *entry) swp_entry_t 118 include/linux/swapops.h static inline bool is_write_device_private_entry(swp_entry_t entry) swp_entry_t 123 include/linux/swapops.h static inline unsigned long device_private_entry_to_pfn(swp_entry_t entry) swp_entry_t 128 include/linux/swapops.h static inline struct page *device_private_entry_to_page(swp_entry_t entry) swp_entry_t 133 include/linux/swapops.h static inline swp_entry_t make_device_private_entry(struct page *page, bool write) swp_entry_t 138 include/linux/swapops.h static inline void make_device_private_entry_read(swp_entry_t *entry) swp_entry_t 142 include/linux/swapops.h static inline bool is_device_private_entry(swp_entry_t entry) swp_entry_t 147 include/linux/swapops.h static inline bool is_write_device_private_entry(swp_entry_t entry) swp_entry_t 152 include/linux/swapops.h static inline unsigned long device_private_entry_to_pfn(swp_entry_t entry) swp_entry_t 157 include/linux/swapops.h static inline struct page *device_private_entry_to_page(swp_entry_t entry) swp_entry_t 164 include/linux/swapops.h static inline swp_entry_t make_migration_entry(struct page *page, int write) swp_entry_t 172 include/linux/swapops.h static inline int is_migration_entry(swp_entry_t entry) swp_entry_t 178 include/linux/swapops.h static inline int is_write_migration_entry(swp_entry_t entry) swp_entry_t 183 include/linux/swapops.h static inline unsigned long migration_entry_to_pfn(swp_entry_t entry) swp_entry_t 188 include/linux/swapops.h static inline struct page *migration_entry_to_page(swp_entry_t entry) swp_entry_t 199 include/linux/swapops.h static inline void make_migration_entry_read(swp_entry_t *entry) swp_entry_t 213 include/linux/swapops.h static inline int is_migration_entry(swp_entry_t swp) swp_entry_t 218 include/linux/swapops.h static inline unsigned long migration_entry_to_pfn(swp_entry_t entry) swp_entry_t 223 include/linux/swapops.h static inline struct page *migration_entry_to_page(swp_entry_t entry) swp_entry_t 228 include/linux/swapops.h static inline void make_migration_entry_read(swp_entry_t *entryp) { } swp_entry_t 235 include/linux/swapops.h static inline int is_write_migration_entry(swp_entry_t entry) swp_entry_t 253 include/linux/swapops.h static inline swp_entry_t pmd_to_swp_entry(pmd_t pmd) swp_entry_t 255 include/linux/swapops.h swp_entry_t arch_entry; swp_entry_t 263 include/linux/swapops.h static inline pmd_t swp_entry_to_pmd(swp_entry_t entry) swp_entry_t 265 include/linux/swapops.h swp_entry_t arch_entry; swp_entry_t 290 include/linux/swapops.h static inline swp_entry_t pmd_to_swp_entry(pmd_t pmd) swp_entry_t 295 include/linux/swapops.h static inline pmd_t swp_entry_to_pmd(swp_entry_t entry) swp_entry_t 313 include/linux/swapops.h static inline swp_entry_t make_hwpoison_entry(struct page *page) swp_entry_t 319 include/linux/swapops.h static inline int is_hwpoison_entry(swp_entry_t entry) swp_entry_t 336 include/linux/swapops.h static inline swp_entry_t make_hwpoison_entry(struct page *page) swp_entry_t 341 include/linux/swapops.h static inline int is_hwpoison_entry(swp_entry_t swp) swp_entry_t 353 include/linux/swapops.h static inline int non_swap_entry(swp_entry_t entry) swp_entry_t 358 include/linux/swapops.h static inline int non_swap_entry(swp_entry_t entry) swp_entry_t 248 mm/frontswap.c swp_entry_t entry = { .val = page_private(page), }; swp_entry_t 297 mm/frontswap.c swp_entry_t entry = { .val = page_private(page), }; swp_entry_t 198 mm/gup.c swp_entry_t entry; swp_entry_t 477 mm/hmm.c swp_entry_t entry = pte_to_swp_entry(pte); swp_entry_t 1005 mm/huge_memory.c swp_entry_t entry = pmd_to_swp_entry(pmd); swp_entry_t 1813 mm/huge_memory.c swp_entry_t entry; swp_entry_t 1942 mm/huge_memory.c swp_entry_t entry = pmd_to_swp_entry(*pmd); swp_entry_t 2214 mm/huge_memory.c swp_entry_t entry; swp_entry_t 2247 mm/huge_memory.c swp_entry_t swp_entry; swp_entry_t 2514 mm/huge_memory.c swp_entry_t entry = { .val = page_private(head) }; swp_entry_t 2803 mm/huge_memory.c swp_entry_t entry = { .val = page_private(head) }; swp_entry_t 3027 mm/huge_memory.c swp_entry_t entry; swp_entry_t 3053 mm/huge_memory.c swp_entry_t entry; swp_entry_t 3395 mm/hugetlb.c swp_entry_t swp; swp_entry_t 3408 mm/hugetlb.c swp_entry_t swp; swp_entry_t 3478 mm/hugetlb.c swp_entry_t swp_entry = pte_to_swp_entry(entry); swp_entry_t 4597 mm/hugetlb.c swp_entry_t entry = pte_to_swp_entry(pte); swp_entry_t 195 mm/madvise.c swp_entry_t entry; swp_entry_t 228 mm/madvise.c swp_entry_t swap; swp_entry_t 598 mm/madvise.c swp_entry_t entry; swp_entry_t 3145 mm/memcontrol.c static int mem_cgroup_move_swap_account(swp_entry_t entry, swp_entry_t 3161 mm/memcontrol.c static inline int mem_cgroup_move_swap_account(swp_entry_t entry, swp_entry_t 5362 mm/memcontrol.c swp_entry_t ent; swp_entry_t 5394 mm/memcontrol.c pte_t ptent, swp_entry_t *entry) swp_entry_t 5397 mm/memcontrol.c swp_entry_t ent = pte_to_swp_entry(ptent); swp_entry_t 5430 mm/memcontrol.c pte_t ptent, swp_entry_t *entry) swp_entry_t 5437 mm/memcontrol.c unsigned long addr, pte_t ptent, swp_entry_t *entry) swp_entry_t 5457 mm/memcontrol.c swp_entry_t swp = radix_to_swp_entry(page); swp_entry_t 5599 mm/memcontrol.c swp_entry_t ent = { .val = 0 }; swp_entry_t 5926 mm/memcontrol.c swp_entry_t ent; swp_entry_t 6537 mm/memcontrol.c swp_entry_t ent = { .val = page_private(page), }; swp_entry_t 6615 mm/memcontrol.c swp_entry_t entry = { .val = page_private(page) }; swp_entry_t 7032 mm/memcontrol.c void mem_cgroup_swapout(struct page *page, swp_entry_t entry) swp_entry_t 7100 mm/memcontrol.c int mem_cgroup_try_charge_swap(struct page *page, swp_entry_t entry) swp_entry_t 7146 mm/memcontrol.c void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages) swp_entry_t 688 mm/memory.c swp_entry_t entry = pte_to_swp_entry(pte); swp_entry_t 793 mm/memory.c swp_entry_t entry = (swp_entry_t){0}; swp_entry_t 1015 mm/memory.c swp_entry_t entry; swp_entry_t 2756 mm/memory.c swp_entry_t entry; swp_entry_t 215 mm/migrate.c swp_entry_t entry; swp_entry_t 311 mm/migrate.c swp_entry_t entry; swp_entry_t 2249 mm/migrate.c swp_entry_t entry; swp_entry_t 2770 mm/migrate.c swp_entry_t swp_entry; swp_entry_t 70 mm/mincore.c swp_entry_t swp = radix_to_swp_entry(page); swp_entry_t 153 mm/mincore.c swp_entry_t entry = pte_to_swp_entry(pte); swp_entry_t 126 mm/mprotect.c swp_entry_t entry = pte_to_swp_entry(oldpte); swp_entry_t 76 mm/page_io.c swp_entry_t entry; swp_entry_t 40 mm/page_vma_mapped.c swp_entry_t entry; swp_entry_t 86 mm/page_vma_mapped.c swp_entry_t entry; swp_entry_t 96 mm/page_vma_mapped.c swp_entry_t entry; swp_entry_t 196 mm/page_vma_mapped.c swp_entry_t entry = pmd_to_swp_entry(*pvmw->pmd); swp_entry_t 1461 mm/rmap.c swp_entry_t entry; swp_entry_t 1554 mm/rmap.c swp_entry_t entry; swp_entry_t 1580 mm/rmap.c swp_entry_t entry = { .val = page_private(subpage) }; swp_entry_t 376 mm/shmem.c pgoff_t index, swp_entry_t swap) swp_entry_t 1128 mm/shmem.c swp_entry_t entry; swp_entry_t 1298 mm/shmem.c swp_entry_t swap; swp_entry_t 1450 mm/shmem.c static struct page *shmem_swapin(swp_entry_t swap, gfp_t gfp, swp_entry_t 1558 mm/shmem.c swp_entry_t entry; swp_entry_t 1636 mm/shmem.c swp_entry_t swap; swp_entry_t 76 mm/swap_cgroup.c static struct swap_cgroup *lookup_swap_cgroup(swp_entry_t ent, swp_entry_t 97 mm/swap_cgroup.c unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, swp_entry_t 126 mm/swap_cgroup.c unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id, swp_entry_t 162 mm/swap_cgroup.c unsigned short lookup_swap_cgroup_id(swp_entry_t ent) swp_entry_t 118 mm/swap_slots.c swp_entry_t *slots, *slots_ret; swp_entry_t 125 mm/swap_slots.c slots = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), swp_entry_t 130 mm/swap_slots.c slots_ret = kvcalloc(SWAP_SLOTS_CACHE_SIZE, sizeof(swp_entry_t), swp_entry_t 174 mm/swap_slots.c swp_entry_t *slots = NULL; swp_entry_t 278 mm/swap_slots.c int free_swap_slot(swp_entry_t entry) swp_entry_t 310 mm/swap_slots.c swp_entry_t get_swap_page(struct page *page) swp_entry_t 312 mm/swap_slots.c swp_entry_t entry, *pentry; swp_entry_t 79 mm/swap_state.c swp_entry_t entry = swp_entry(i, 1); swp_entry_t 114 mm/swap_state.c int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp) swp_entry_t 158 mm/swap_state.c void __delete_from_swap_cache(struct page *page, swp_entry_t entry) swp_entry_t 190 mm/swap_state.c swp_entry_t entry; swp_entry_t 246 mm/swap_state.c swp_entry_t entry = { .val = page_private(page) }; swp_entry_t 310 mm/swap_state.c struct page *lookup_swap_cache(swp_entry_t entry, struct vm_area_struct *vma, swp_entry_t 359 mm/swap_state.c struct page *__read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, swp_entry_t 448 mm/swap_state.c struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, swp_entry_t 539 mm/swap_state.c struct page *swap_cluster_readahead(swp_entry_t entry, gfp_t gfp_mask, swp_entry_t 645 mm/swap_state.c swp_entry_t entry; swp_entry_t 722 mm/swap_state.c static struct page *swap_vma_readahead(swp_entry_t fentry, gfp_t gfp_mask, swp_entry_t 729 mm/swap_state.c swp_entry_t entry; swp_entry_t 781 mm/swap_state.c struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, swp_entry_t 51 mm/swapfile.c static sector_t map_swap_entry(swp_entry_t, struct block_device**); swp_entry_t 130 mm/swapfile.c swp_entry_t entry = swp_entry(si->type, offset); swp_entry_t 734 mm/swapfile.c swp_entry_t slots[]) swp_entry_t 929 mm/swapfile.c static int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot) swp_entry_t 980 mm/swapfile.c swp_entry_t entry; swp_entry_t 992 mm/swapfile.c int get_swap_pages(int n_goal, swp_entry_t swp_entries[], int entry_size) swp_entry_t 1080 mm/swapfile.c swp_entry_t get_swap_page_of_type(int type) swp_entry_t 1101 mm/swapfile.c return (swp_entry_t) {0}; swp_entry_t 1104 mm/swapfile.c static struct swap_info_struct *__swap_info_get(swp_entry_t entry) swp_entry_t 1133 mm/swapfile.c static struct swap_info_struct *_swap_info_get(swp_entry_t entry) swp_entry_t 1151 mm/swapfile.c static struct swap_info_struct *swap_info_get(swp_entry_t entry) swp_entry_t 1161 mm/swapfile.c static struct swap_info_struct *swap_info_get_cont(swp_entry_t entry, swp_entry_t 1249 mm/swapfile.c struct swap_info_struct *get_swap_device(swp_entry_t entry) swp_entry_t 1278 mm/swapfile.c swp_entry_t entry, unsigned char usage) swp_entry_t 1292 mm/swapfile.c static void swap_entry_free(struct swap_info_struct *p, swp_entry_t entry) swp_entry_t 1313 mm/swapfile.c void swap_free(swp_entry_t entry) swp_entry_t 1325 mm/swapfile.c void put_swap_page(struct page *page, swp_entry_t entry) swp_entry_t 1373 mm/swapfile.c int split_swap_cluster(swp_entry_t entry) swp_entry_t 1391 mm/swapfile.c const swp_entry_t *e1 = ent1, *e2 = ent2; swp_entry_t 1396 mm/swapfile.c void swapcache_free_entries(swp_entry_t *entries, int n) swp_entry_t 1434 mm/swapfile.c swp_entry_t entry; swp_entry_t 1448 mm/swapfile.c int __swap_count(swp_entry_t entry) swp_entry_t 1462 mm/swapfile.c static int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) swp_entry_t 1479 mm/swapfile.c int __swp_swapcount(swp_entry_t entry) swp_entry_t 1496 mm/swapfile.c int swp_swapcount(swp_entry_t entry) swp_entry_t 1539 mm/swapfile.c swp_entry_t entry) swp_entry_t 1567 mm/swapfile.c swp_entry_t entry; swp_entry_t 1607 mm/swapfile.c swp_entry_t entry; swp_entry_t 1673 mm/swapfile.c swp_entry_t entry; swp_entry_t 1732 mm/swapfile.c int free_swap_and_cache(swp_entry_t entry) swp_entry_t 1854 mm/swapfile.c unsigned long addr, swp_entry_t entry, struct page *page) swp_entry_t 1915 mm/swapfile.c swp_entry_t entry; swp_entry_t 2132 mm/swapfile.c swp_entry_t entry; swp_entry_t 2257 mm/swapfile.c static sector_t map_swap_entry(swp_entry_t entry, struct block_device **bdev) swp_entry_t 2276 mm/swapfile.c swp_entry_t entry; swp_entry_t 3377 mm/swapfile.c static int __swap_duplicate(swp_entry_t entry, unsigned char usage) swp_entry_t 3445 mm/swapfile.c void swap_shmem_alloc(swp_entry_t entry) swp_entry_t 3457 mm/swapfile.c int swap_duplicate(swp_entry_t entry) swp_entry_t 3474 mm/swapfile.c int swapcache_prepare(swp_entry_t entry) swp_entry_t 3479 mm/swapfile.c struct swap_info_struct *swp_swap_info(swp_entry_t entry) swp_entry_t 3486 mm/swapfile.c swp_entry_t entry = { .val = page_private(page) }; swp_entry_t 3501 mm/swapfile.c swp_entry_t swap = { .val = page_private(page) }; swp_entry_t 3521 mm/swapfile.c int add_swap_count_continuation(swp_entry_t entry, gfp_t gfp_mask) swp_entry_t 677 mm/util.c swp_entry_t entry; swp_entry_t 946 mm/vmscan.c swp_entry_t swap = { .val = page_private(page) }; swp_entry_t 164 mm/zswap.c swp_entry_t swpentry; swp_entry_t 814 mm/zswap.c static int zswap_get_swap_cache_page(swp_entry_t entry, swp_entry_t 843 mm/zswap.c swp_entry_t swpentry;