Home
last modified time | relevance | path

Searched refs:nfserr (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/fs/nfsd/
Dnfsproc.c87 int nfserr; in nfsd_proc_lookup() local
93 nfserr = nfsd_lookup(rqstp, &argp->fh, argp->name, argp->len, in nfsd_proc_lookup()
97 return nfserr; in nfsd_proc_lookup()
108 int dummy, nfserr; in nfsd_proc_readlink() local
117 nfserr = nfsd_readlink(rqstp, &argp->fh, (char *) path, &resp->len); in nfsd_proc_readlink()
120 return nfserr; in nfsd_proc_readlink()
132 int nfserr, avail; in nfsd_proc_read() local
154 nfserr = nfsd_read(rqstp, fh_copy(&resp->fh, &argp->fh), in nfsd_proc_read()
159 return nfserr; in nfsd_proc_read()
170 int nfserr; in nfsd_proc_write() local
[all …]
Dnfs3proc.c71 int nfserr; in nfsd3_proc_getattr() local
77 nfserr = fh_verify(rqstp, &resp->fh, 0, MAY_NOP); in nfsd3_proc_getattr()
78 RETURN_STATUS(nfserr); in nfsd3_proc_getattr()
88 int nfserr; in nfsd3_proc_setattr() local
94 nfserr = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr()
96 RETURN_STATUS(nfserr); in nfsd3_proc_setattr()
106 int nfserr; in nfsd3_proc_lookup() local
116 nfserr = nfsd_lookup(rqstp, &resp->dirfh, in nfsd3_proc_lookup()
120 RETURN_STATUS(nfserr); in nfsd3_proc_lookup()
130 int nfserr; in nfsd3_proc_access() local
[all …]
Dlockd.c25 u32 nfserr; in nlm_fopen() local
34 nfserr = nfsd_open(rqstp, &fh, S_IFREG, MAY_LOCK, filp); in nlm_fopen()
35 if (!nfserr) { in nlm_fopen()
45 switch (nfserr) { in nlm_fopen()
Dnfssvc.c261 u32 nfserr; in nfsd_dispatch() local
288 nfserr = proc->pc_func(rqstp, rqstp->rq_argp, rqstp->rq_resp); in nfsd_dispatch()
289 if (nfserr == nfserr_dropit) { in nfsd_dispatch()
296 svc_putlong(&rqstp->rq_resbuf, nfserr); in nfsd_dispatch()
301 if (!(nfserr && rqstp->rq_vers == 2)) { in nfsd_dispatch()
/linux-2.4.37.9/fs/lockd/
Dsvcsubs.c57 u32 nfserr; in nlm_lookup_file() local
76 nfserr = nlm_lck_denied_nolocks; in nlm_lookup_file()
92 if ((nfserr = nlmsvc_ops->fopen(rqstp, f, &file->f_file)) != 0) { in nlm_lookup_file()
93 dprintk("lockd: open failed (nfserr %d)\n", ntohl(nfserr)); in nlm_lookup_file()
104 nfserr = 0; in nlm_lookup_file()
108 return nfserr; in nlm_lookup_file()
113 if (nfserr == 1) in nlm_lookup_file()
114 nfserr = nlm4_stale_fh; in nlm_lookup_file()
117 nfserr = nlm_lck_denied; in nlm_lookup_file()