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;
301 struct file *swap_file = sis->swap_file; local
310 if (sio->iocb.ki_filp != swap_file ||
318 init_sync_kiocb(&sio->iocb, swap_file);
438 if (sio->iocb.ki_filp != sis->swap_file ||
446 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.c2240 struct file *swap_file = sis->swap_file; local
2241 struct address_space *mapping = swap_file->f_mapping;
2245 mapping->a_ops->swap_deactivate(swap_file);
2325 struct file *swap_file = sis->swap_file; local
2326 struct address_space *mapping = swap_file->f_mapping;
2337 ret = mapping->a_ops->swap_activate(sis, swap_file, span);
2349 return generic_swapfile_activate(sis, swap_file, span);
2359 bdev = p->swap_file
2467 struct file *swap_file, *victim; local
3037 struct file *swap_file = NULL; local
[all...]
/linux-master/fs/xfs/
H A Dxfs_aops.c533 struct file *swap_file,
536 sis->bdev = xfs_inode_buftarg(XFS_I(file_inode(swap_file)))->bt_bdev;
537 return iomap_swapfile_activate(sis, swap_file, span,
531 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.h314 struct file *swap_file; /* seldom referenced */ member in struct:swap_info_struct
/linux-master/fs/smb/client/
H A Dfile.c3133 struct file *swap_file, sector_t *span)
3135 struct cifsFileInfo *cfile = swap_file->private_data;
3136 struct inode *inode = swap_file->f_mapping->host;
3142 if (!swap_file->f_mapping->a_ops->swap_rw)
3132 cifs_swap_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *span) argument
/linux-master/fs/f2fs/
H A Ddata.c3918 struct file *swap_file, sector_t *span)
3920 struct address_space *mapping = swap_file->f_mapping;
3917 check_swap_activate(struct swap_info_struct *sis, struct file *swap_file, sector_t *span) argument

Completed in 344 milliseconds