Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dpage_io.c98 struct file *swap_file, in generic_swapfile_activate() argument
101 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
263 struct file *swap_file = sis->swap_file; in __swap_writepage() local
264 struct address_space *mapping = swap_file->f_mapping; in __swap_writepage()
273 init_sync_kiocb(&kiocb, swap_file); in __swap_writepage()
351 struct file *swap_file = sis->swap_file; in swap_readpage() local
352 struct address_space *mapping = swap_file->f_mapping; in swap_readpage()
354 ret = mapping->a_ops->readpage(swap_file, page); in swap_readpage()
410 struct address_space *mapping = sis->swap_file->f_mapping; in swap_set_page_dirty()
Dswapfile.c2345 struct file *swap_file = sis->swap_file; in destroy_swap_extents() local
2346 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents()
2350 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents()
2433 struct file *swap_file = sis->swap_file; in setup_swap_extents() local
2434 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents()
2445 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents()
2456 return generic_swapfile_activate(sis, swap_file, span); in setup_swap_extents()
2466 bdev = p->swap_file->f_inode->i_sb->s_bdev; in swap_node()
2571 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local
2596 if (p->swap_file->f_mapping == mapping) { in SYSCALL_DEFINE1()
[all …]
Dswap_state.c669 struct inode *inode = si->swap_file->f_mapping->host; in swap_cluster_readahead()
/kernel/linux/linux-5.10/fs/iomap/
Dswapfile.c142 struct file *swap_file, sector_t *pagespan, in iomap_swapfile_activate() argument
149 struct address_space *mapping = swap_file->f_mapping; in iomap_swapfile_activate()
159 ret = vfs_fsync(swap_file, 1); in iomap_swapfile_activate()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_aops.c660 struct file *swap_file, in xfs_iomap_swapfile_activate() argument
663 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev; in xfs_iomap_swapfile_activate()
664 return iomap_swapfile_activate(sis, swap_file, span, in xfs_iomap_swapfile_activate()
/kernel/linux/linux-5.10/include/linux/
Diomap.h273 struct file *swap_file, sector_t *pagespan,
Dswap.h259 struct file *swap_file; /* seldom referenced */ member
/kernel/linux/linux-5.10/fs/zonefs/
Dsuper.c205 struct file *swap_file, sector_t *span) in zonefs_swap_activate() argument
207 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate()
216 return iomap_swapfile_activate(sis, swap_file, span, in zonefs_swap_activate()
/kernel/linux/linux-5.10/fs/f2fs/
Ddata.c3952 struct file *swap_file, sector_t *span) in check_swap_activate_fast() argument
3954 struct address_space *mapping = swap_file->f_mapping; in check_swap_activate_fast()
4030 struct file *swap_file, sector_t *span) in check_swap_activate() argument
4032 struct address_space *mapping = swap_file->f_mapping; in check_swap_activate()
4045 return check_swap_activate_fast(sis, swap_file, span); in check_swap_activate()
/kernel/linux/linux-5.10/fs/cifs/
Dfile.c4852 struct file *swap_file, sector_t *span) in cifs_swap_activate() argument
4854 struct cifsFileInfo *cfile = swap_file->private_data; in cifs_swap_activate()
4855 struct inode *inode = swap_file->f_mapping->host; in cifs_swap_activate()