Lines Matching refs:fi_fds
609 ret = nfsd_file_get(f->fi_fds[O_WRONLY]); in find_writeable_file_locked()
611 ret = nfsd_file_get(f->fi_fds[O_RDWR]); in find_writeable_file_locked()
634 ret = nfsd_file_get(f->fi_fds[O_RDONLY]); in find_readable_file_locked()
636 ret = nfsd_file_get(f->fi_fds[O_RDWR]); in find_readable_file_locked()
658 ret = nfsd_file_get(f->fi_fds[O_RDWR]); in find_rw_file()
672 ret = nfsd_file_get(f->fi_fds[O_RDWR]); in find_any_file()
674 ret = nfsd_file_get(f->fi_fds[O_WRONLY]); in find_any_file()
676 ret = nfsd_file_get(f->fi_fds[O_RDONLY]); in find_any_file()
686 if (f->fi_fds[O_RDWR]) in find_any_file_locked()
687 return f->fi_fds[O_RDWR]; in find_any_file_locked()
688 if (f->fi_fds[O_WRONLY]) in find_any_file_locked()
689 return f->fi_fds[O_WRONLY]; in find_any_file_locked()
690 if (f->fi_fds[O_RDONLY]) in find_any_file_locked()
691 return f->fi_fds[O_RDONLY]; in find_any_file_locked()
836 swap(f1, fp->fi_fds[oflag]); in __nfs4_file_put_access()
838 swap(f2, fp->fi_fds[O_RDWR]); in __nfs4_file_put_access()
4328 memset(fp->fi_fds, 0, sizeof(fp->fi_fds)); in nfsd4_file_init()
5246 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
5255 if (!fp->fi_fds[oflag]) { in nfs4_get_vfs_file()
5256 fp->fi_fds[oflag] = nf; in nfs4_get_vfs_file()
5376 if (fp->fi_fds[O_WRONLY]) in nfsd4_check_conflicting_opens()
5378 if (fp->fi_fds[O_RDWR]) in nfsd4_check_conflicting_opens()