Lines Matching refs:oflag
435 __nfs4_get_fd(struct nfs4_file *f, int oflag) in __nfs4_get_fd() argument
437 if (f->fi_fds[oflag]) in __nfs4_get_fd()
438 return nfsd_file_get(f->fi_fds[oflag]); in __nfs4_get_fd()
604 static void __nfs4_file_put_access(struct nfs4_file *fp, int oflag) in __nfs4_file_put_access() argument
608 if (atomic_dec_and_lock(&fp->fi_access[oflag], &fp->fi_lock)) { in __nfs4_file_put_access()
612 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access()
613 if (atomic_read(&fp->fi_access[1 - oflag]) == 0) in __nfs4_file_put_access()
4857 int oflag = nfs4_access_to_omode(open->op_share_access); in nfs4_get_vfs_file() local
4889 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
4895 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
4896 fp->fi_fds[oflag] = nf; in nfs4_get_vfs_file()