Lines Matching refs:rqstp
33 nfsd3_proc_null(struct svc_rqst *rqstp) in nfsd3_proc_null() argument
42 nfsd3_proc_getattr(struct svc_rqst *rqstp) in nfsd3_proc_getattr() argument
44 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_getattr()
45 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_getattr()
51 resp->status = fh_verify(rqstp, &resp->fh, 0, in nfsd3_proc_getattr()
65 nfsd3_proc_setattr(struct svc_rqst *rqstp) in nfsd3_proc_setattr() argument
67 struct nfsd3_sattrargs *argp = rqstp->rq_argp; in nfsd3_proc_setattr()
68 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_setattr()
74 resp->status = nfsd_setattr(rqstp, &resp->fh, &argp->attrs, in nfsd3_proc_setattr()
83 nfsd3_proc_lookup(struct svc_rqst *rqstp) in nfsd3_proc_lookup() argument
85 struct nfsd3_diropargs *argp = rqstp->rq_argp; in nfsd3_proc_lookup()
86 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfsd3_proc_lookup()
96 resp->status = nfsd_lookup(rqstp, &resp->dirfh, in nfsd3_proc_lookup()
106 nfsd3_proc_access(struct svc_rqst *rqstp) in nfsd3_proc_access() argument
108 struct nfsd3_accessargs *argp = rqstp->rq_argp; in nfsd3_proc_access()
109 struct nfsd3_accessres *resp = rqstp->rq_resp; in nfsd3_proc_access()
117 resp->status = nfsd_access(rqstp, &resp->fh, &resp->access, NULL); in nfsd3_proc_access()
125 nfsd3_proc_readlink(struct svc_rqst *rqstp) in nfsd3_proc_readlink() argument
127 struct nfsd3_readlinkargs *argp = rqstp->rq_argp; in nfsd3_proc_readlink()
128 struct nfsd3_readlinkres *resp = rqstp->rq_resp; in nfsd3_proc_readlink()
135 resp->status = nfsd_readlink(rqstp, &resp->fh, argp->buffer, &resp->len); in nfsd3_proc_readlink()
143 nfsd3_proc_read(struct svc_rqst *rqstp) in nfsd3_proc_read() argument
145 struct nfsd3_readargs *argp = rqstp->rq_argp; in nfsd3_proc_read()
146 struct nfsd3_readres *resp = rqstp->rq_resp; in nfsd3_proc_read()
147 u32 max_blocksize = svc_max_payload(rqstp); in nfsd3_proc_read()
160 svc_reserve_auth(rqstp, ((1 + NFS3_POST_OP_ATTR_WORDS + 3)<<2) + resp->count +4); in nfsd3_proc_read()
163 resp->status = nfsd_read(rqstp, &resp->fh, argp->offset, in nfsd3_proc_read()
164 rqstp->rq_vec, argp->vlen, &resp->count, in nfsd3_proc_read()
173 nfsd3_proc_write(struct svc_rqst *rqstp) in nfsd3_proc_write() argument
175 struct nfsd3_writeargs *argp = rqstp->rq_argp; in nfsd3_proc_write()
176 struct nfsd3_writeres *resp = rqstp->rq_resp; in nfsd3_proc_write()
193 nvecs = svc_fill_write_vector(rqstp, rqstp->rq_arg.pages, in nfsd3_proc_write()
199 resp->status = nfsd_write(rqstp, &resp->fh, argp->offset, in nfsd3_proc_write()
200 rqstp->rq_vec, nvecs, &cnt, in nfsd3_proc_write()
213 nfsd3_proc_create(struct svc_rqst *rqstp) in nfsd3_proc_create() argument
215 struct nfsd3_createargs *argp = rqstp->rq_argp; in nfsd3_proc_create()
216 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfsd3_proc_create()
239 resp->status = do_nfsd_create(rqstp, dirfhp, argp->name, argp->len, in nfsd3_proc_create()
249 nfsd3_proc_mkdir(struct svc_rqst *rqstp) in nfsd3_proc_mkdir() argument
251 struct nfsd3_createargs *argp = rqstp->rq_argp; in nfsd3_proc_mkdir()
252 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfsd3_proc_mkdir()
262 resp->status = nfsd_create(rqstp, &resp->dirfh, argp->name, argp->len, in nfsd3_proc_mkdir()
269 nfsd3_proc_symlink(struct svc_rqst *rqstp) in nfsd3_proc_symlink() argument
271 struct nfsd3_symlinkargs *argp = rqstp->rq_argp; in nfsd3_proc_symlink()
272 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfsd3_proc_symlink()
283 argp->tname = svc_fill_symlink_pathname(rqstp, &argp->first, in nfsd3_proc_symlink()
284 page_address(rqstp->rq_arg.pages[0]), in nfsd3_proc_symlink()
298 resp->status = nfsd_symlink(rqstp, &resp->dirfh, argp->fname, in nfsd3_proc_symlink()
309 nfsd3_proc_mknod(struct svc_rqst *rqstp) in nfsd3_proc_mknod() argument
311 struct nfsd3_mknodargs *argp = rqstp->rq_argp; in nfsd3_proc_mknod()
312 struct nfsd3_diropres *resp = rqstp->rq_resp; in nfsd3_proc_mknod()
337 resp->status = nfsd_create(rqstp, &resp->dirfh, argp->name, argp->len, in nfsd3_proc_mknod()
348 nfsd3_proc_remove(struct svc_rqst *rqstp) in nfsd3_proc_remove() argument
350 struct nfsd3_diropargs *argp = rqstp->rq_argp; in nfsd3_proc_remove()
351 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_remove()
360 resp->status = nfsd_unlink(rqstp, &resp->fh, -S_IFDIR, in nfsd3_proc_remove()
370 nfsd3_proc_rmdir(struct svc_rqst *rqstp) in nfsd3_proc_rmdir() argument
372 struct nfsd3_diropargs *argp = rqstp->rq_argp; in nfsd3_proc_rmdir()
373 struct nfsd3_attrstat *resp = rqstp->rq_resp; in nfsd3_proc_rmdir()
381 resp->status = nfsd_unlink(rqstp, &resp->fh, S_IFDIR, in nfsd3_proc_rmdir()
388 nfsd3_proc_rename(struct svc_rqst *rqstp) in nfsd3_proc_rename() argument
390 struct nfsd3_renameargs *argp = rqstp->rq_argp; in nfsd3_proc_rename()
391 struct nfsd3_renameres *resp = rqstp->rq_resp; in nfsd3_proc_rename()
404 resp->status = nfsd_rename(rqstp, &resp->ffh, argp->fname, argp->flen, in nfsd3_proc_rename()
410 nfsd3_proc_link(struct svc_rqst *rqstp) in nfsd3_proc_link() argument
412 struct nfsd3_linkargs *argp = rqstp->rq_argp; in nfsd3_proc_link()
413 struct nfsd3_linkres *resp = rqstp->rq_resp; in nfsd3_proc_link()
424 resp->status = nfsd_link(rqstp, &resp->tfh, argp->tname, argp->tlen, in nfsd3_proc_link()
433 nfsd3_proc_readdir(struct svc_rqst *rqstp) in nfsd3_proc_readdir() argument
435 struct nfsd3_readdirargs *argp = rqstp->rq_argp; in nfsd3_proc_readdir()
436 struct nfsd3_readdirres *resp = rqstp->rq_resp; in nfsd3_proc_readdir()
455 resp->rqstp = rqstp; in nfsd3_proc_readdir()
456 resp->status = nfsd_readdir(rqstp, &resp->fh, (loff_t *)&argp->cookie, in nfsd3_proc_readdir()
460 for (p = rqstp->rq_respages + 1; p < rqstp->rq_next_page; p++) { in nfsd3_proc_readdir()
493 nfsd3_proc_readdirplus(struct svc_rqst *rqstp) in nfsd3_proc_readdirplus() argument
495 struct nfsd3_readdirargs *argp = rqstp->rq_argp; in nfsd3_proc_readdirplus()
496 struct nfsd3_readdirres *resp = rqstp->rq_resp; in nfsd3_proc_readdirplus()
516 resp->rqstp = rqstp; in nfsd3_proc_readdirplus()
519 resp->status = fh_verify(rqstp, &resp->fh, S_IFDIR, NFSD_MAY_NOP); in nfsd3_proc_readdirplus()
528 resp->status = nfsd_readdir(rqstp, &resp->fh, &offset, in nfsd3_proc_readdirplus()
531 for (p = rqstp->rq_respages + 1; p < rqstp->rq_next_page; p++) { in nfsd3_proc_readdirplus()
562 nfsd3_proc_fsstat(struct svc_rqst *rqstp) in nfsd3_proc_fsstat() argument
564 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_fsstat()
565 struct nfsd3_fsstatres *resp = rqstp->rq_resp; in nfsd3_proc_fsstat()
570 resp->status = nfsd_statfs(rqstp, &argp->fh, &resp->stats, 0); in nfsd3_proc_fsstat()
579 nfsd3_proc_fsinfo(struct svc_rqst *rqstp) in nfsd3_proc_fsinfo() argument
581 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_fsinfo()
582 struct nfsd3_fsinfores *resp = rqstp->rq_resp; in nfsd3_proc_fsinfo()
583 u32 max_blocksize = svc_max_payload(rqstp); in nfsd3_proc_fsinfo()
598 resp->status = fh_verify(rqstp, &argp->fh, 0, in nfsd3_proc_fsinfo()
622 nfsd3_proc_pathconf(struct svc_rqst *rqstp) in nfsd3_proc_pathconf() argument
624 struct nfsd_fhandle *argp = rqstp->rq_argp; in nfsd3_proc_pathconf()
625 struct nfsd3_pathconfres *resp = rqstp->rq_resp; in nfsd3_proc_pathconf()
638 resp->status = fh_verify(rqstp, &argp->fh, 0, NFSD_MAY_NOP); in nfsd3_proc_pathconf()
664 nfsd3_proc_commit(struct svc_rqst *rqstp) in nfsd3_proc_commit() argument
666 struct nfsd3_commitargs *argp = rqstp->rq_argp; in nfsd3_proc_commit()
667 struct nfsd3_commitres *resp = rqstp->rq_resp; in nfsd3_proc_commit()
680 resp->status = nfsd_commit(rqstp, &resp->fh, argp->offset, in nfsd3_proc_commit()