Home
last modified time | relevance | path

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

/linux-6.6.21/fs/iomap/
Dswapfile.c143 struct file *swap_file, sector_t *pagespan, in iomap_swapfile_activate() argument
146 struct inode *inode = swap_file->f_mapping->host; in iomap_swapfile_activate()
156 .file = swap_file, in iomap_swapfile_activate()
164 ret = vfs_fsync(swap_file, 1); in iomap_swapfile_activate()
/linux-6.6.21/mm/
Dpage_io.c79 struct file *swap_file, in generic_swapfile_activate() argument
82 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
296 struct file *swap_file = sis->swap_file; in swap_writepage_fs() local
304 if (sio->iocb.ki_filp != swap_file || in swap_writepage_fs()
312 init_sync_kiocb(&sio->iocb, swap_file); in swap_writepage_fs()
435 if (sio->iocb.ki_filp != sis->swap_file || in swap_readpage_fs()
443 init_sync_kiocb(&sio->iocb, sis->swap_file); in swap_readpage_fs()
Dswapfile.c2168 struct file *swap_file = sis->swap_file; in destroy_swap_extents() local
2169 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents()
2173 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents()
2253 struct file *swap_file = sis->swap_file; in setup_swap_extents() local
2254 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents()
2265 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents()
2277 return generic_swapfile_activate(sis, swap_file, span); in setup_swap_extents()
2287 bdev = p->swap_file->f_inode->i_sb->s_bdev; in swap_node()
2393 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local
2418 if (p->swap_file->f_mapping == mapping) { in SYSCALL_DEFINE1()
[all …]
/linux-6.6.21/fs/xfs/
Dxfs_aops.c569 struct file *swap_file, in xfs_iomap_swapfile_activate() argument
572 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev; in xfs_iomap_swapfile_activate()
573 return iomap_swapfile_activate(sis, swap_file, span, in xfs_iomap_swapfile_activate()
/linux-6.6.21/fs/zonefs/
Dfile.c160 struct file *swap_file, sector_t *span) in zonefs_swap_activate() argument
162 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate()
170 return iomap_swapfile_activate(sis, swap_file, span, in zonefs_swap_activate()
/linux-6.6.21/include/linux/
Diomap.h399 struct file *swap_file, sector_t *pagespan,
Dswap.h302 struct file *swap_file; /* seldom referenced */ member
/linux-6.6.21/fs/smb/client/
Dfile.c4990 struct file *swap_file, sector_t *span) in cifs_swap_activate() argument
4992 struct cifsFileInfo *cfile = swap_file->private_data; in cifs_swap_activate()
4993 struct inode *inode = swap_file->f_mapping->host; in cifs_swap_activate()
4999 if (!swap_file->f_mapping->a_ops->swap_rw) in cifs_swap_activate()
/linux-6.6.21/fs/f2fs/
Ddata.c3976 struct file *swap_file, sector_t *span) in check_swap_activate() argument
3978 struct address_space *mapping = swap_file->f_mapping; in check_swap_activate()