Home
last modified time | relevance | path

Searched refs:swap_info (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/mm/
H A Dfrontswap.c192 struct swap_info_struct *sis = swap_info[type]; in __frontswap_init()
250 struct swap_info_struct *sis = swap_info[type]; in __frontswap_store()
299 struct swap_info_struct *sis = swap_info[type]; in __frontswap_load()
333 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_page()
355 struct swap_info_struct *sis = swap_info[type]; in __frontswap_invalidate_area()
H A Dswapfile.c92 struct swap_info_struct *swap_info[MAX_SWAPFILES]; variable
108 return READ_ONCE(swap_info[type]); in swap_type_to_swap_info()
1838 struct swap_info_struct *sis = swap_info[type]; in swap_type_of()
1862 struct swap_info_struct *sis = swap_info[type]; in find_first_swap()
1900 struct swap_info_struct *sis = swap_info[type]; in count_swap_pages()
1978 si = swap_info[type]; in unuse_pte_range()
2192 struct swap_info_struct *si = swap_info[type]; in try_to_unuse()
2306 if (swap_info[type]->inuse_pages) in drain_mmlist()
2920 if (!(swap_info[type]->flags & SWP_USED)) in alloc_swap_info()
2930 WRITE_ONCE(swap_info[type], p); in alloc_swap_info()
[all …]
H A Dshmem.c1197 extern struct swap_info_struct *swap_info[];
1224 !frontswap_test(swap_info[type], swp_offset(entry))) in shmem_find_swap_entries()
/OK3568_Linux_fs/kernel/include/linux/
H A Dswapfile.h11 extern struct swap_info_struct *swap_info[];