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

/linux-master/fs/iomap/
H A Dswapfile.c143 struct file *swap_file, sector_t *pagespan,
146 struct inode *inode = swap_file->f_mapping->host;
156 .file = swap_file,
164 ret = vfs_fsync(swap_file, 1);
142 iomap_swapfile_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *pagespan, const struct iomap_ops *ops) argument
/linux-master/mm/
H A Dpage_io.c79 struct file *swap_file,
82 struct address_space *mapping = swap_file->f_mapping;
300 struct file *swap_file = sis->swap_file; local
309 if (sio->iocb.ki_filp != swap_file ||
317 init_sync_kiocb(&sio->iocb, swap_file);
437 if (sio->iocb.ki_filp != sis->swap_file ||
445 init_sync_kiocb(&sio->iocb, sis->swap_file);
78 generic_swapfile_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *span) argument
H A Dswapfile.c2192 struct file *swap_file = sis->swap_file; local
2193 struct address_space *mapping = swap_file->f_mapping;
2197 mapping->a_ops->swap_deactivate(swap_file);
2277 struct file *swap_file = sis->swap_file; local
2278 struct address_space *mapping = swap_file->f_mapping;
2289 ret = mapping->a_ops->swap_activate(sis, swap_file, span);
2301 return generic_swapfile_activate(sis, swap_file, span);
2311 bdev = p->swap_file
2415 struct file *swap_file, *victim; local
3004 struct file *swap_file = NULL; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_aops.c563 struct file *swap_file,
566 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev;
567 return iomap_swapfile_activate(sis, swap_file, span,
561 xfs_iomap_swapfile_activate( struct swap_info_struct *sis, struct file *swap_file, sector_t *span) argument
/linux-master/fs/zonefs/
H A Dfile.c161 struct file *swap_file, sector_t *span)
163 struct inode *inode = file_inode(swap_file);
171 return iomap_swapfile_activate(sis, swap_file, span,
160 zonefs_swap_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *span) argument
/linux-master/include/linux/
H A Diomap.h410 struct file *swap_file, sector_t *pagespan,
H A Dswap.h303 struct file *swap_file; /* seldom referenced */ member in struct:swap_info_struct
/linux-master/fs/smb/client/
H A Dfile.c5125 struct file *swap_file, sector_t *span)
5127 struct cifsFileInfo *cfile = swap_file->private_data;
5128 struct inode *inode = swap_file->f_mapping->host;
5134 if (!swap_file->f_mapping->a_ops->swap_rw)
5124 cifs_swap_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *span) argument
/linux-master/fs/f2fs/
H A Ddata.c3894 struct file *swap_file, sector_t *span)
3896 struct address_space *mapping = swap_file->f_mapping;
3893 check_swap_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *span) argument

Completed in 257 milliseconds