swp_entry_t 549 fs/proc/task_mmu.c swp_entry_t e = pte_to_swp_entry(pte); swp_entry_t 280 include/asm-cris/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 5) | ((offset) << 12) }) swp_entry_t 281 include/asm-cris/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 61 include/asm-frv/pgtable.h #define __swp_entry(typ,off) ((swp_entry_t) { ((typ) | ((off) << 7)) }) swp_entry_t 62 include/asm-frv/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 480 include/asm-frv/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 2) | ((offset) << 8) }) swp_entry_t 481 include/asm-frv/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte }) swp_entry_t 343 include/asm-m32r/pgtable.h ((swp_entry_t) { ((type) << 2) | ((offset) << 10) }) swp_entry_t 344 include/asm-m32r/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 286 include/asm-m68k/motorola_pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 4) | ((offset) << 12) }) swp_entry_t 287 include/asm-m68k/motorola_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 229 include/asm-m68k/sun3_pgtable.h #define __swp_entry(type,offset) ((swp_entry_t) { ((type) | ((offset) << 7)) }) swp_entry_t 230 include/asm-m68k/sun3_pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 339 include/asm-mn10300/pgtable.h ((swp_entry_t) { ((type) << 2) | ((offset) << 8) }) swp_entry_t 340 include/asm-mn10300/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 415 include/asm-parisc/pgtable.h #define __swp_entry(type, offset) ((swp_entry_t) { (type) | \ swp_entry_t 418 include/asm-parisc/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 349 include/asm-um/pgtable.h ((swp_entry_t) { ((type) << 4) | ((offset) << 11) }) swp_entry_t 351 include/asm-um/pgtable.h ((swp_entry_t) { pte_val(pte_mkuptodate(pte)) }) swp_entry_t 75 include/asm-x86/pgtable-2level.h ((swp_entry_t) { ((type) << 1) | ((offset) << 8) }) swp_entry_t 76 include/asm-x86/pgtable-2level.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low }) swp_entry_t 171 include/asm-x86/pgtable-3level.h #define __swp_entry(type, offset) ((swp_entry_t){(type) | (offset) << 5}) swp_entry_t 172 include/asm-x86/pgtable-3level.h #define __pte_to_swp_entry(pte) ((swp_entry_t){ (pte).pte_high }) swp_entry_t 255 include/asm-x86/pgtable_64.h #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 1) | \ swp_entry_t 257 include/asm-x86/pgtable_64.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val((pte)) }) swp_entry_t 347 include/asm-xtensa/pgtable.h ((swp_entry_t) {((type) << 6) | ((offs) << 11) | _PAGE_INVALID}) swp_entry_t 348 include/asm-xtensa/pgtable.h #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) }) swp_entry_t 19 include/linux/shmem_fs.h swp_entry_t i_direct[SHMEM_NR_DIRECT]; /* first blocks */ swp_entry_t 211 include/linux/swap.h extern int shmem_unuse(swp_entry_t entry, struct page *page); swp_entry_t 227 include/linux/swap.h extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t); swp_entry_t 232 include/linux/swap.h extern struct page *lookup_swap_cache(swp_entry_t); swp_entry_t 233 include/linux/swap.h extern struct page *read_swap_cache_async(swp_entry_t, gfp_t, swp_entry_t 235 include/linux/swap.h extern struct page *swapin_readahead(swp_entry_t, gfp_t, swp_entry_t 241 include/linux/swap.h extern swp_entry_t get_swap_page(void); swp_entry_t 242 include/linux/swap.h extern swp_entry_t get_swap_page_of_type(int); swp_entry_t 243 include/linux/swap.h extern int swap_duplicate(swp_entry_t); swp_entry_t 244 include/linux/swap.h extern int valid_swaphandles(swp_entry_t, unsigned long *); swp_entry_t 245 include/linux/swap.h extern void swap_free(swp_entry_t); swp_entry_t 246 include/linux/swap.h extern void free_swap_and_cache(swp_entry_t); swp_entry_t 295 include/linux/swap.h static inline void free_swap_and_cache(swp_entry_t swp) swp_entry_t 299 include/linux/swap.h static inline int swap_duplicate(swp_entry_t swp) swp_entry_t 304 include/linux/swap.h static inline void swap_free(swp_entry_t swp) swp_entry_t 308 include/linux/swap.h static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, swp_entry_t 314 include/linux/swap.h static inline struct page *lookup_swap_cache(swp_entry_t swp) swp_entry_t 321 include/linux/swap.h static inline int add_to_swap_cache(struct page *page, swp_entry_t entry, swp_entry_t 342 include/linux/swap.h static inline swp_entry_t get_swap_page(void) swp_entry_t 344 include/linux/swap.h swp_entry_t entry; swp_entry_t 18 include/linux/swapops.h static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) swp_entry_t 20 include/linux/swapops.h swp_entry_t ret; swp_entry_t 31 include/linux/swapops.h static inline unsigned swp_type(swp_entry_t entry) swp_entry_t 40 include/linux/swapops.h static inline pgoff_t swp_offset(swp_entry_t entry) swp_entry_t 57 include/linux/swapops.h static inline swp_entry_t pte_to_swp_entry(pte_t pte) swp_entry_t 59 include/linux/swapops.h swp_entry_t arch_entry; swp_entry_t 70 include/linux/swapops.h static inline pte_t swp_entry_to_pte(swp_entry_t entry) swp_entry_t 72 include/linux/swapops.h swp_entry_t arch_entry; swp_entry_t 80 include/linux/swapops.h static inline swp_entry_t make_migration_entry(struct page *page, int write) swp_entry_t 87 include/linux/swapops.h static inline int is_migration_entry(swp_entry_t entry) swp_entry_t 93 include/linux/swapops.h static inline int is_write_migration_entry(swp_entry_t entry) swp_entry_t 98 include/linux/swapops.h static inline struct page *migration_entry_to_page(swp_entry_t entry) swp_entry_t 109 include/linux/swapops.h static inline void make_migration_entry_read(swp_entry_t *entry) swp_entry_t 119 include/linux/swapops.h static inline int is_migration_entry(swp_entry_t swp) swp_entry_t 124 include/linux/swapops.h static inline void make_migration_entry_read(swp_entry_t *entryp) { } swp_entry_t 127 include/linux/swapops.h static inline int is_write_migration_entry(swp_entry_t entry) swp_entry_t 503 mm/memory.c swp_entry_t entry = pte_to_swp_entry(pte); swp_entry_t 2256 mm/memory.c swp_entry_t entry; swp_entry_t 127 mm/migrate.c swp_entry_t entry; swp_entry_t 274 mm/migrate.c swp_entry_t entry; swp_entry_t 122 mm/mincore.c swp_entry_t entry = pte_to_swp_entry(pte); swp_entry_t 64 mm/mprotect.c swp_entry_t entry = pte_to_swp_entry(oldpte); swp_entry_t 30 mm/page_io.c swp_entry_t entry = { .val = index, }; swp_entry_t 738 mm/rmap.c swp_entry_t entry = { .val = page_private(page) }; swp_entry_t 770 mm/rmap.c swp_entry_t entry; swp_entry_t 129 mm/shmem.c static swp_entry_t *shmem_swp_map(struct page *page) swp_entry_t 131 mm/shmem.c return (swp_entry_t *)kmap_atomic(page, KM_USER1); swp_entry_t 146 mm/shmem.c static inline void shmem_swp_unmap(swp_entry_t *entry) swp_entry_t 307 mm/shmem.c static swp_entry_t *shmem_swp_entry(struct shmem_inode_info *info, unsigned long index, struct page **page) swp_entry_t 361 mm/shmem.c static void shmem_swp_set(struct shmem_inode_info *info, swp_entry_t *entry, unsigned long value) swp_entry_t 381 mm/shmem.c static swp_entry_t *shmem_swp_alloc(struct shmem_inode_info *info, unsigned long index, enum sgp_type sgp) swp_entry_t 386 mm/shmem.c swp_entry_t *entry; swp_entry_t 445 mm/shmem.c static int shmem_free_swp(swp_entry_t *dir, swp_entry_t *edir, swp_entry_t 449 mm/shmem.c swp_entry_t *ptr; swp_entry_t 462 mm/shmem.c *ptr = (swp_entry_t){0}; swp_entry_t 474 mm/shmem.c swp_entry_t *ptr; swp_entry_t 527 mm/shmem.c swp_entry_t *ptr; swp_entry_t 817 mm/shmem.c static inline int shmem_find_swp(swp_entry_t entry, swp_entry_t *dir, swp_entry_t *edir) swp_entry_t 819 mm/shmem.c swp_entry_t *ptr; swp_entry_t 828 mm/shmem.c static int shmem_unuse_inode(struct shmem_inode_info *info, swp_entry_t entry, struct page *page) swp_entry_t 837 mm/shmem.c swp_entry_t *ptr; swp_entry_t 978 mm/shmem.c int shmem_unuse(swp_entry_t entry, struct page *page) swp_entry_t 1002 mm/shmem.c swp_entry_t *entry, swap; swp_entry_t 1109 mm/shmem.c static struct page *shmem_swapin(swp_entry_t entry, gfp_t gfp, swp_entry_t 1151 mm/shmem.c static inline struct page *shmem_swapin(swp_entry_t entry, gfp_t gfp, swp_entry_t 1186 mm/shmem.c swp_entry_t *entry; swp_entry_t 1187 mm/shmem.c swp_entry_t swap; swp_entry_t 71 mm/swap_state.c int add_to_swap_cache(struct page *page, swp_entry_t entry, gfp_t gfp_mask) swp_entry_t 133 mm/swap_state.c swp_entry_t entry; swp_entry_t 182 mm/swap_state.c swp_entry_t entry; swp_entry_t 247 mm/swap_state.c struct page * lookup_swap_cache(swp_entry_t entry) swp_entry_t 266 mm/swap_state.c struct page *read_swap_cache_async(swp_entry_t entry, gfp_t gfp_mask, swp_entry_t 343 mm/swap_state.c struct page *swapin_readahead(swp_entry_t entry, gfp_t gfp_mask, swp_entry_t 62 mm/swapfile.c swp_entry_t entry; swp_entry_t 176 mm/swapfile.c swp_entry_t get_swap_page(void) swp_entry_t 214 mm/swapfile.c return (swp_entry_t) {0}; swp_entry_t 217 mm/swapfile.c swp_entry_t get_swap_page_of_type(int type) swp_entry_t 234 mm/swapfile.c return (swp_entry_t) {0}; swp_entry_t 237 mm/swapfile.c static struct swap_info_struct * swap_info_get(swp_entry_t entry) swp_entry_t 298 mm/swapfile.c void swap_free(swp_entry_t entry) swp_entry_t 316 mm/swapfile.c swp_entry_t entry; swp_entry_t 351 mm/swapfile.c swp_entry_t entry; swp_entry_t 394 mm/swapfile.c void free_swap_and_cache(swp_entry_t entry) swp_entry_t 512 mm/swapfile.c unsigned long addr, swp_entry_t entry, struct page *page) swp_entry_t 547 mm/swapfile.c swp_entry_t entry, struct page *page) swp_entry_t 583 mm/swapfile.c swp_entry_t entry, struct page *page) swp_entry_t 603 mm/swapfile.c swp_entry_t entry, struct page *page) swp_entry_t 622 mm/swapfile.c swp_entry_t entry, struct page *page) swp_entry_t 652 mm/swapfile.c swp_entry_t entry, struct page *page) swp_entry_t 725 mm/swapfile.c swp_entry_t entry; swp_entry_t 1196 mm/swapfile.c swp_entry_t entry = { .val = page_private(page) }; swp_entry_t 1759 mm/swapfile.c int swap_duplicate(swp_entry_t entry) swp_entry_t 1805 mm/swapfile.c int valid_swaphandles(swp_entry_t entry, unsigned long *offset) swp_entry_t 119 mm/tiny-shmem.c int shmem_unuse(swp_entry_t entry, struct page *page) swp_entry_t 437 mm/vmscan.c swp_entry_t swap = { .val = page_private(page) };