Lines Matching refs:oflag
555 __nfs4_get_fd(struct nfs4_file *f, int oflag) in __nfs4_get_fd() argument
557 if (f->fi_fds[oflag]) in __nfs4_get_fd()
558 return nfsd_file_get(f->fi_fds[oflag]); in __nfs4_get_fd()
722 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument
726 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
730 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access()
731 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
4926 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local
4958 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
4964 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
4965 fp->fi_fds[oflag] = nf; in nfs4_get_vfs_file()