Home
last modified time | relevance | path

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

/linux-4.1.27/mm/
Dpage_io.c137 struct file *swap_file, in generic_swapfile_activate() argument
140 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
265 struct file *swap_file = sis->swap_file; in __swap_writepage() local
266 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
275 init_sync_kiocb(&kiocb, swap_file); in __swap_writepage()
343 struct file *swap_file = sis->swap_file; in swap_readpage() local
344 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
346 ret = mapping->a_ops->readpage(swap_file, page); in swap_readpage()
376 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dswapfile.c1632 struct file *swap_file = sis->swap_file; in destroy_swap_extents() local
1633 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents()
1636 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents()
1719 struct file *swap_file = sis->swap_file; in setup_swap_extents() local
1720 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents()
1731 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents()
1740 return generic_swapfile_activate(sis, swap_file, span); in setup_swap_extents()
1808 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local
1833 if (p->swap_file->f_mapping == mapping) { in SYSCALL_DEFINE1()
1903 swap_file = p->swap_file; in SYSCALL_DEFINE1()
[all …]
/linux-4.1.27/include/linux/
Dswap.h227 struct file *swap_file; /* seldom referenced */ member