Home
last modified time | relevance | path

Searched refs:swap_file (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/mm/
Dpage_io.c133 struct file *swap_file, in generic_swapfile_activate() argument
136 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
261 struct file *swap_file = sis->swap_file; in __swap_writepage() local
262 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
271 init_sync_kiocb(&kiocb, swap_file); in __swap_writepage()
339 struct file *swap_file = sis->swap_file; in swap_readpage() local
340 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
342 ret = mapping->a_ops->readpage(swap_file, page); in swap_readpage()
372 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dswapfile.c1674 struct file *swap_file = sis->swap_file; in destroy_swap_extents() local
1675 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents()
1678 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents()
1761 struct file *swap_file = sis->swap_file; in setup_swap_extents() local
1762 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents()
1773 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents()
1782 return generic_swapfile_activate(sis, swap_file, span); in setup_swap_extents()
1850 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local
1875 if (p->swap_file->f_mapping == mapping) { in SYSCALL_DEFINE1()
1945 swap_file = p->swap_file; in SYSCALL_DEFINE1()
[all …]
/linux-4.4.14/include/linux/
Dswap.h227 struct file *swap_file; /* seldom referenced */ member