Searched refs:swp_entry_t (Results 1 – 4 of 4) 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() 78 static inline pte_t swp_entry_to_pte(swp_entry_t entry) in swp_entry_to_pte() 80 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.h | 107 } swp_entry_t; typedef 309 extern void mem_cgroup_uncharge_swap(swp_entry_t ent); 311 static inline void mem_cgroup_uncharge_swap(swp_entry_t ent) in mem_cgroup_uncharge_swap() 326 extern int add_to_swap_cache(struct page *, swp_entry_t, gfp_t); 331 extern struct page *lookup_swap_cache(swp_entry_t); 332 extern struct page *read_swap_cache_async(swp_entry_t, gfp_t, 334 extern struct page *swapin_readahead(swp_entry_t, gfp_t, 341 extern swp_entry_t get_swap_page(void); 342 extern swp_entry_t get_swap_page_of_type(int); 343 extern int add_swap_count_continuation(swp_entry_t, gfp_t); [all …]
|
D | page_cgroup.h | 110 extern unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, 112 extern unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id); 113 extern unsigned short lookup_swap_cgroup_id(swp_entry_t ent); 119 unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id) in swap_cgroup_record() 125 unsigned short lookup_swap_cgroup_id(swp_entry_t ent) in lookup_swap_cgroup_id()
|
D | shmem_fs.h | 55 extern int shmem_unuse(swp_entry_t entry, struct page *page);
|