Searched refs:swp_entry_t (Results 1 – 3 of 3) sorted by relevance
/external/kernel-headers/original/linux/ |
D | swap.h | 75 } swp_entry_t; typedef 161 extern void swapin_readahead(swp_entry_t, unsigned long, struct vm_area_struct *); 206 extern int shmem_unuse(swp_entry_t entry, struct page *page); 215 extern int rw_swap_page_sync(int, swp_entry_t, struct page *); 224 extern int move_to_swap_cache(struct page *, swp_entry_t); 229 extern struct page * lookup_swap_cache(swp_entry_t); 230 extern struct page * read_swap_cache_async(swp_entry_t, struct vm_area_struct *vma, 236 extern swp_entry_t get_swap_page(void); 237 extern swp_entry_t get_swap_page_of_type(int); 238 extern int swap_duplicate(swp_entry_t); [all …]
|
/external/kernel-headers/original/asm-x86/ |
D | pgtable-2level.h | 82 #define __swp_entry(type, offset) ((swp_entry_t) { ((type) << 1) | ((offset) << 8) }) 83 #define __pte_to_swp_entry(pte) ((swp_entry_t) { (pte).pte_low })
|
/external/kernel-headers/original/asm-arm/ |
D | pgtable.h | 357 #define __swp_entry(type,offset) ((swp_entry_t) { ((type) << 2) | ((offset) << 9) }) 358 #define __pte_to_swp_entry(pte) ((swp_entry_t) { pte_val(pte) })
|