• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/

Lines Matching defs:rqstp

64 do_open_permission(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open, int accmode)
79 status = fh_verify(rqstp, current_fh, S_IFREG, accmode);
85 do_open_lookup(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open)
99 status = nfsd_create_v3(rqstp, current_fh, open->op_fname.data,
104 status = nfsd_lookup(rqstp, current_fh,
120 status = do_open_permission(rqstp, current_fh, open, MAY_NOP);
128 do_open_fhandle(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfsd4_open *open)
151 status = do_open_permission(rqstp, current_fh, open, MAY_OWNER_OVERRIDE);
158 nfsd4_open(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
180 status = fh_verify(rqstp, &cstate->current_fh, 0, MAY_NOP);
212 status = do_open_lookup(rqstp, &cstate->current_fh,
225 status = do_open_fhandle(rqstp, &cstate->current_fh,
247 status = nfsd4_process_open2(rqstp, &cstate->current_fh, open);
261 nfsd4_getfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
272 nfsd4_putfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
279 return fh_verify(rqstp, &cstate->current_fh, 0, MAY_NOP);
283 nfsd4_putrootfh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
289 status = exp_pseudoroot(rqstp->rq_client, &cstate->current_fh,
290 &rqstp->rq_chandle);
295 nfsd4_restorefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
306 nfsd4_savefh(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
320 nfsd4_access(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
327 return nfsd_access(rqstp, &cstate->current_fh, &access->ac_resp_access,
332 nfsd4_commit(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
341 status = nfsd_commit(rqstp, &cstate->current_fh, commit->co_offset,
349 nfsd4_create(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
358 status = fh_verify(rqstp, &cstate->current_fh, S_IFDIR, MAY_CREATE);
375 status = nfsd_symlink(rqstp, &cstate->current_fh,
386 status = nfsd_create(rqstp, &cstate->current_fh,
396 status = nfsd_create(rqstp, &cstate->current_fh,
402 status = nfsd_create(rqstp, &cstate->current_fh,
408 status = nfsd_create(rqstp, &cstate->current_fh,
415 status = nfsd_create(rqstp, &cstate->current_fh,
435 nfsd4_getattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
440 status = fh_verify(rqstp, &cstate->current_fh, 0, MAY_NOP);
455 nfsd4_link(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
462 status = nfsd_link(rqstp, &cstate->current_fh,
470 nfsd4_lookupp(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
477 if((ret = exp_pseudoroot(rqstp->rq_client, &tmp_fh,
478 &rqstp->rq_chandle)) != 0)
485 return nfsd_lookup(rqstp, &cstate->current_fh,
490 nfsd4_lookup(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
493 return nfsd_lookup(rqstp, &cstate->current_fh,
499 nfsd4_read(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
523 read->rd_rqstp = rqstp;
529 nfsd4_readdir(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
547 readdir->rd_rqstp = rqstp;
553 nfsd4_readlink(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
556 readlink->rl_rqstp = rqstp;
562 nfsd4_remove(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
569 status = nfsd_unlink(rqstp, &cstate->current_fh, 0,
581 nfsd4_rename(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
591 status = nfsd_rename(rqstp, &cstate->save_fh, rename->rn_sname,
614 nfsd4_setattr(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
631 status = nfsd4_set_nfs4_acl(rqstp, &cstate->current_fh,
635 status = nfsd_setattr(rqstp, &cstate->current_fh, &setattr->sa_iattr,
641 nfsd4_write(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
672 status = nfsd_write(rqstp, &cstate->current_fh, filp,
673 write->wr_offset, rqstp->rq_vec, write->wr_vlen,
689 _nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
696 status = fh_verify(rqstp, &cstate->current_fh, 0, MAY_NOP);
721 rqstp);
742 nfsd4_nverify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
747 status = _nfsd4_verify(rqstp, cstate, verify);
752 nfsd4_verify(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
757 status = _nfsd4_verify(rqstp, cstate, verify);
765 nfsd4_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)
817 nfsd4_proc_compound(struct svc_rqst *rqstp,
832 resp->xbuf = &rqstp->rq_res;
833 resp->p = rqstp->rq_res.head[0].iov_base + rqstp->rq_res.head[0].iov_len;
837 resp->end = rqstp->rq_res.head[0].iov_base + PAGE_SIZE;
841 resp->rqstp = rqstp;
891 op->status = opdesc->op_func(rqstp, cstate, &op->u);