Lines Matching refs:nfsi
65 nfs_page_search_commits_for_head_request_locked(struct nfs_inode *nfsi,
189 struct nfs_inode *nfsi = NFS_I(inode); in nfs_page_find_swap_request() local
193 mutex_lock(&nfsi->commit_mutex); in nfs_page_find_swap_request()
195 req = nfs_page_search_commits_for_head_request_locked(nfsi, in nfs_page_find_swap_request()
202 mutex_unlock(&nfsi->commit_mutex); in nfs_page_find_swap_request()
749 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_add_request() local
770 atomic_long_inc(&nfsi->nrequests); in nfs_inode_add_request()
786 struct nfs_inode *nfsi = NFS_I(inode); in nfs_inode_remove_request() local
803 atomic_long_dec(&nfsi->nrequests); in nfs_inode_remove_request()
823 nfs_page_search_commits_for_head_request_locked(struct nfs_inode *nfsi, in nfs_page_search_commits_for_head_request_locked() argument
828 struct inode *inode = &nfsi->vfs_inode; in nfs_page_search_commits_for_head_request_locked()
1284 struct nfs_inode *nfsi = NFS_I(inode); in nfs_write_pageuptodate() local
1288 if (nfsi->cache_validity & NFS_INO_REVAL_PAGECACHE) in nfs_write_pageuptodate()
1291 if (test_bit(NFS_INO_INVALIDATING, &nfsi->flags)) in nfs_write_pageuptodate()
1294 if (nfsi->cache_validity & NFS_INO_INVALID_DATA) in nfs_write_pageuptodate()
1955 struct nfs_inode *nfsi = NFS_I(inode); in nfs_write_inode() local
1961 if (!atomic_long_read(&nfsi->commit_info.ncommit)) in nfs_write_inode()
1978 } else if (atomic_long_read(&nfsi->commit_info.ncommit)) in nfs_write_inode()
1982 if (!atomic_read(&nfsi->commit_info.rpcs_out)) in nfs_write_inode()