Searched refs:swap_file (Results 1 – 9 of 9) sorted by relevance
| /linux/fs/iomap/ |
| H A D | swapfile.c | 141 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 D | swapfile.c | 2862 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 D | page_io.c | 33 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 D | aops.c | 297 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 D | xfs_aops.c | 637 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 D | swap.h | 262 struct file *swap_file; /* seldom referenced */ member
|
| H A D | iomap.h | 755 struct file *swap_file, sector_t *pagespan,
|
| /linux/fs/smb/client/ |
| H A D | file.c | 3479 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 D | data.c | 4259 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()
|