Lines Matching refs:swp_entry_t

51 static sector_t map_swap_entry(swp_entry_t, struct block_device**);
130 swp_entry_t entry = swp_entry(si->type, offset); in __try_to_reclaim_swap()
734 swp_entry_t slots[]) in scan_swap_map_slots()
929 static int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot) in swap_alloc_cluster()
980 swp_entry_t entry; in scan_swap_map()
992 int get_swap_pages(int n_goal, swp_entry_t swp_entries[], int entry_size) in get_swap_pages()
1080 swp_entry_t get_swap_page_of_type(int type) in get_swap_page_of_type()
1101 return (swp_entry_t) {0}; in get_swap_page_of_type()
1104 static struct swap_info_struct *__swap_info_get(swp_entry_t entry) in __swap_info_get()
1133 static struct swap_info_struct *_swap_info_get(swp_entry_t entry) in _swap_info_get()
1151 static struct swap_info_struct *swap_info_get(swp_entry_t entry) in swap_info_get()
1161 static struct swap_info_struct *swap_info_get_cont(swp_entry_t entry, in swap_info_get_cont()
1249 struct swap_info_struct *get_swap_device(swp_entry_t entry) in get_swap_device()
1278 swp_entry_t entry, unsigned char usage) in __swap_entry_free()
1292 static void swap_entry_free(struct swap_info_struct *p, swp_entry_t entry) in swap_entry_free()
1313 void swap_free(swp_entry_t entry) in swap_free()
1325 void put_swap_page(struct page *page, swp_entry_t entry) in put_swap_page()
1373 int split_swap_cluster(swp_entry_t entry) in split_swap_cluster()
1391 const swp_entry_t *e1 = ent1, *e2 = ent2; in swp_entry_cmp()
1396 void swapcache_free_entries(swp_entry_t *entries, int n) in swapcache_free_entries()
1434 swp_entry_t entry; in page_swapcount()
1448 int __swap_count(swp_entry_t entry) in __swap_count()
1462 static int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) in swap_swapcount()
1479 int __swp_swapcount(swp_entry_t entry) in __swp_swapcount()
1496 int swp_swapcount(swp_entry_t entry) in swp_swapcount()
1539 swp_entry_t entry) in swap_page_trans_huge_swapped()
1567 swp_entry_t entry; in page_swapped()
1607 swp_entry_t entry; in page_trans_huge_map_swapcount()
1673 swp_entry_t entry; in reuse_swap_page()
1732 int free_swap_and_cache(swp_entry_t entry) in free_swap_and_cache()
1854 unsigned long addr, swp_entry_t entry, struct page *page) in unuse_pte()
1915 swp_entry_t entry; in unuse_pte_range()
2132 swp_entry_t entry; in try_to_unuse()
2257 static sector_t map_swap_entry(swp_entry_t entry, struct block_device **bdev) in map_swap_entry()
2276 swp_entry_t entry; in map_swap_page()
3378 static int __swap_duplicate(swp_entry_t entry, unsigned char usage) in __swap_duplicate()
3446 void swap_shmem_alloc(swp_entry_t entry) in swap_shmem_alloc()
3458 int swap_duplicate(swp_entry_t entry) in swap_duplicate()
3475 int swapcache_prepare(swp_entry_t entry) in swapcache_prepare()
3480 struct swap_info_struct *swp_swap_info(swp_entry_t entry) in swp_swap_info()
3487 swp_entry_t entry = { .val = page_private(page) }; in page_swap_info()
3502 swp_entry_t swap = { .val = page_private(page) }; in __page_file_index()
3522 int add_swap_count_continuation(swp_entry_t entry, gfp_t gfp_mask) in add_swap_count_continuation()