Home
last modified time | relevance | path

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

/linux/fs/iomap/
H A Dswapfile.c141 struct file *swap_file, sector_t *pagespan, in iomap_swapfile_activate() argument
144 struct inode *inode = swap_file->f_mapping->host; in iomap_swapfile_activate()
154 .file = swap_file, in iomap_swapfile_activate()
162 ret = vfs_fsync(swap_file, 1); in iomap_swapfile_activate()
/linux/mm/
H A Dswapfile.c2862 struct file *swap_file) in destroy_swap_extents() argument
2873 struct address_space *mapping = swap_file->f_mapping; in destroy_swap_extents()
2877 mapping->a_ops->swap_deactivate(swap_file); in destroy_swap_extents()
2956 struct file *swap_file, sector_t *span) in setup_swap_extents() argument
2958 struct address_space *mapping = swap_file->f_mapping; in setup_swap_extents()
2975 ret = mapping->a_ops->swap_activate(sis, swap_file, span); in setup_swap_extents()
2982 return generic_swapfile_activate(sis, swap_file, span); in setup_swap_extents()
3086 struct file *swap_file, *victim; in SYSCALL_DEFINE1() local
3106 if (p->swap_file->f_mapping == mapping) { in SYSCALL_DEFINE1()
3168 destroy_swap_extents(p, p->swap_file); in SYSCALL_DEFINE1()
[all …]
H A Dpage_io.c33 struct file *swap_file, in generic_swapfile_activate() argument
36 struct address_space *mapping = swap_file->f_mapping; in generic_swapfile_activate()
657 init_sync_kiocb(&sio->iocb, ctx->sis->swap_file); in swap_fs_prepare_rw()
/linux/fs/ntfs/
H A Daops.c297 struct file *swap_file, sector_t *span) in ntfs_swap_activate() argument
299 if (NInoWofCompressed(NTFS_I(file_inode(swap_file)))) in ntfs_swap_activate()
302 return iomap_swapfile_activate(sis, swap_file, span, in ntfs_swap_activate()
/linux/fs/xfs/
H A Dxfs_aops.c637 struct file *swap_file, in xfs_vm_swap_activate() argument
640 struct xfs_inode *ip = XFS_I(file_inode(swap_file)); in xfs_vm_swap_activate()
676 return iomap_swapfile_activate(sis, swap_file, span, in xfs_vm_swap_activate()
/linux/include/linux/
H A Dswap.h262 struct file *swap_file; /* seldom referenced */ member
H A Diomap.h755 struct file *swap_file, sector_t *pagespan,
/linux/fs/smb/client/
H A Dfile.c3479 struct file *swap_file, sector_t *span) in cifs_swap_activate()
3481 struct cifsFileInfo *cfile = swap_file->private_data; in cifs_swap_activate()
3482 struct inode *inode = swap_file->f_mapping->host; in cifs_swap_activate()
3488 if (swap_file->f_mapping->a_ops != &cifs_addr_ops) in cifs_swap_activate()
3476 cifs_swap_activate(struct swap_info_struct * sis,struct file * swap_file,sector_t * span) cifs_swap_activate() argument
/linux/fs/f2fs/
H A Ddata.c4259 struct file *swap_file, sector_t *span) in check_swap_activate() argument
4261 struct address_space *mapping = swap_file->f_mapping; in check_swap_activate()