Searched refs:swap_file (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/fs/iomap/ |
D | swapfile.c | 143 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.1.9/mm/ |
D | page_io.c | 81 struct file *swap_file, in generic_swapfile_activate() argument 84 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate() 299 struct file *swap_file = sis->swap_file; in swap_writepage_fs() local 307 if (sio->iocb.ki_filp != swap_file || in swap_writepage_fs() 315 init_sync_kiocb(&sio->iocb, swap_file); in swap_writepage_fs() 421 if (sio->iocb.ki_filp != sis->swap_file || in swap_readpage_fs() 429 init_sync_kiocb(&sio->iocb, sis->swap_file); in swap_readpage_fs()
|
D | swapfile.c | 2163 struct file *swap_file = sis->swap_file; in destroy_swap_extents() local 2164 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents() 2168 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents() 2248 struct file *swap_file = sis->swap_file; in setup_swap_extents() local 2249 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents() 2260 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents() 2272 return generic_swapfile_activate(sis, swap_file, span); in setup_swap_extents() 2282 bdev = p->swap_file->f_inode->i_sb->s_bdev; in swap_node() 2387 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local 2412 if (p->swap_file->f_mapping == mapping) { in SYSCALL_DEFINE1() [all …]
|
/linux-6.1.9/fs/xfs/ |
D | xfs_aops.c | 556 struct file *swap_file, in xfs_iomap_swapfile_activate() argument 559 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev; in xfs_iomap_swapfile_activate() 560 return iomap_swapfile_activate(sis, swap_file, span, in xfs_iomap_swapfile_activate()
|
/linux-6.1.9/include/linux/ |
D | iomap.h | 367 struct file *swap_file, sector_t *pagespan,
|
D | swap.h | 295 struct file *swap_file; /* seldom referenced */ member
|
/linux-6.1.9/fs/zonefs/ |
D | super.c | 251 struct file *swap_file, sector_t *span) in zonefs_swap_activate() argument 253 struct inode *inode = file_inode(swap_file); in zonefs_swap_activate() 262 return iomap_swapfile_activate(sis, swap_file, span, in zonefs_swap_activate()
|
/linux-6.1.9/fs/cifs/ |
D | file.c | 5158 struct file *swap_file, sector_t *span) in cifs_swap_activate() argument 5160 struct cifsFileInfo *cfile = swap_file->private_data; in cifs_swap_activate() 5161 struct inode *inode = swap_file->f_mapping->host; in cifs_swap_activate() 5167 if (!swap_file->f_mapping->a_ops->swap_rw) in cifs_swap_activate()
|
/linux-6.1.9/fs/f2fs/ |
D | data.c | 3857 struct file *swap_file, sector_t *span) in check_swap_activate() argument 3859 struct address_space *mapping = swap_file->f_mapping; in check_swap_activate()
|