Lines Matching refs:f_mapping
125 struct inode *inode = filp->f_mapping->host; in nfs_file_llseek()
152 since = filemap_sample_wb_err(file->f_mapping); in nfs_file_flush()
154 return filemap_check_wb_err(file->f_mapping, since); in nfs_file_flush()
171 result = nfs_revalidate_mapping(inode, iocb->ki_filp->f_mapping); in nfs_file_read()
196 status = nfs_revalidate_mapping(inode, file->f_mapping); in nfs_file_mmap()
303 if (pnfs_ld_read_whole_page(file->f_mapping->host)) in nfs_want_read_modify_write()
492 struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host); in nfs_swap_activate()
493 struct inode *inode = file->f_mapping->host; in nfs_swap_activate()
511 struct rpc_clnt *clnt = NFS_CLIENT(file->f_mapping->host); in nfs_swap_deactivate()
552 filp, filp->f_mapping->host->i_ino, in nfs_vm_page_mkwrite()
635 nfs_clear_invalid_mapping(file->f_mapping); in nfs_file_write()
637 since = filemap_sample_wb_err(file->f_mapping); in nfs_file_write()
653 result = filemap_fdatawrite_range(file->f_mapping, in nfs_file_write()
660 result = filemap_fdatawait_range(file->f_mapping, in nfs_file_write()
671 error = filemap_check_wb_err(file->f_mapping, since); in nfs_file_write()
690 struct inode *inode = filp->f_mapping->host; in do_getlk()
719 struct inode *inode = filp->f_mapping->host; in do_unlk()
755 struct inode *inode = filp->f_mapping->host; in do_setlk()
762 status = nfs_sync_mapping(filp->f_mapping); in do_setlk()
784 nfs_sync_mapping(filp->f_mapping); in do_setlk()
787 if (mapping_mapped(filp->f_mapping)) in do_setlk()
788 nfs_revalidate_mapping(inode, filp->f_mapping); in do_setlk()
799 struct inode *inode = filp->f_mapping->host; in nfs_lock()
837 struct inode *inode = filp->f_mapping->host; in nfs_flock()