Searched refs:swp_entry_t (Results 1 – 5 of 5) sorted by relevance
/include/linux/ |
D | swapops.h | 26 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry() 28 swp_entry_t ret; in swp_entry() 39 static inline unsigned swp_type(swp_entry_t entry) in swp_type() 48 static inline pgoff_t swp_offset(swp_entry_t entry) in swp_offset() 65 static inline swp_entry_t pte_to_swp_entry(pte_t pte) in pte_to_swp_entry() 67 swp_entry_t arch_entry; in pte_to_swp_entry() 79 static inline pte_t swp_entry_to_pte(swp_entry_t entry) in swp_entry_to_pte() 81 swp_entry_t arch_entry; in swp_entry_to_pte() 87 static inline swp_entry_t radix_to_swp_entry(void *arg) in radix_to_swp_entry() 89 swp_entry_t entry; in radix_to_swp_entry() [all …]
|
D | swap_cgroup.h | 8 extern unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, 10 extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id); 11 extern unsigned short lookup_swap_cgroup_id(swp_entry_t ent); 18 unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id) in swap_cgroup_record() 24 unsigned short lookup_swap_cgroup_id(swp_entry_t ent) in lookup_swap_cgroup_id()
|
D | swap.h | 374 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t); 375 extern int __add_to_swap_cache(struct page *page, swp_entry_t entry); 380 extern struct page *lookup_swap_cache(swp_entry_t); 381 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t, 383 extern struct page *__read_swap_cache_async(swp_entry_t, gfp_t, 386 extern struct page *swapin_readahead(swp_entry_t, gfp_t, 405 extern swp_entry_t get_swap_page(void); 406 extern swp_entry_t get_swap_page_of_type(int); 407 extern int add_swap_count_continuation(swp_entry_t, gfp_t); 408 extern void swap_shmem_alloc(swp_entry_t); [all …]
|
D | shmem_fs.h | 65 extern int shmem_unuse(swp_entry_t entry, struct page *page);
|
D | mm_types.h | 628 } swp_entry_t; typedef
|