Lines Matching refs:nfsi
18 static void nfs_block_o_direct(struct nfs_inode *nfsi, struct inode *inode) in nfs_block_o_direct() argument
20 if (test_bit(NFS_INO_ODIRECT, &nfsi->flags)) { in nfs_block_o_direct()
21 clear_bit(NFS_INO_ODIRECT, &nfsi->flags); in nfs_block_o_direct()
45 struct nfs_inode *nfsi = NFS_I(inode); in nfs_start_io_read() local
48 if (test_bit(NFS_INO_ODIRECT, &nfsi->flags) == 0) in nfs_start_io_read()
53 nfs_block_o_direct(nfsi, inode); in nfs_start_io_read()
98 static void nfs_block_buffered(struct nfs_inode *nfsi, struct inode *inode) in nfs_block_buffered() argument
100 if (!test_bit(NFS_INO_ODIRECT, &nfsi->flags)) { in nfs_block_buffered()
101 set_bit(NFS_INO_ODIRECT, &nfsi->flags); in nfs_block_buffered()
125 struct nfs_inode *nfsi = NFS_I(inode); in nfs_start_io_direct() local
128 if (test_bit(NFS_INO_ODIRECT, &nfsi->flags) != 0) in nfs_start_io_direct()
133 nfs_block_buffered(nfsi, inode); in nfs_start_io_direct()