Home
last modified time | relevance | path

Searched refs:swp_entry_t (Results 1 – 5 of 5) sorted by relevance

/include/linux/
Dswapops.h26 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 …]
Dswap_cgroup.h8 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()
Dswap.h374 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 …]
Dshmem_fs.h65 extern int shmem_unuse(swp_entry_t entry, struct page *page);
Dmm_types.h628 } swp_entry_t; typedef