• Home
  • Raw
  • Download

Lines Matching refs:argp

20 nfsd_proc_null(struct svc_rqst *rqstp, void *argp, void *resp)  in nfsd_proc_null()  argument
42 nfsd_proc_getattr(struct svc_rqst *rqstp, struct nfsd_fhandle *argp, in nfsd_proc_getattr() argument
46 dprintk("nfsd: GETATTR %s\n", SVCFH_fmt(&argp->fh)); in nfsd_proc_getattr()
48 fh_copy(&resp->fh, &argp->fh); in nfsd_proc_getattr()
59 nfsd_proc_setattr(struct svc_rqst *rqstp, struct nfsd_sattrargs *argp, in nfsd_proc_setattr() argument
62 struct iattr *iap = &argp->attrs; in nfsd_proc_setattr()
67 SVCFH_fmt(&argp->fh), in nfsd_proc_setattr()
68 argp->attrs.ia_valid, (long) argp->attrs.ia_size); in nfsd_proc_setattr()
70 fhp = fh_copy(&resp->fh, &argp->fh); in nfsd_proc_setattr()
127 nfsd_proc_lookup(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, in nfsd_proc_lookup() argument
133 SVCFH_fmt(&argp->fh), argp->len, argp->name); in nfsd_proc_lookup()
136 nfserr = nfsd_lookup(rqstp, &argp->fh, argp->name, argp->len, in nfsd_proc_lookup()
139 fh_put(&argp->fh); in nfsd_proc_lookup()
147 nfsd_proc_readlink(struct svc_rqst *rqstp, struct nfsd_readlinkargs *argp, in nfsd_proc_readlink() argument
152 dprintk("nfsd: READLINK %s\n", SVCFH_fmt(&argp->fh)); in nfsd_proc_readlink()
156 nfserr = nfsd_readlink(rqstp, &argp->fh, argp->buffer, &resp->len); in nfsd_proc_readlink()
158 fh_put(&argp->fh); in nfsd_proc_readlink()
167 nfsd_proc_read(struct svc_rqst *rqstp, struct nfsd_readargs *argp, in nfsd_proc_read() argument
173 SVCFH_fmt(&argp->fh), in nfsd_proc_read()
174 argp->count, argp->offset); in nfsd_proc_read()
180 if (NFSSVC_MAXBLKSIZE_V2 < argp->count) { in nfsd_proc_read()
185 argp->count); in nfsd_proc_read()
186 argp->count = NFSSVC_MAXBLKSIZE_V2; in nfsd_proc_read()
188 svc_reserve_auth(rqstp, (19<<2) + argp->count + 4); in nfsd_proc_read()
190 resp->count = argp->count; in nfsd_proc_read()
191 nfserr = nfsd_read(rqstp, fh_copy(&resp->fh, &argp->fh), in nfsd_proc_read()
192 argp->offset, in nfsd_proc_read()
193 rqstp->rq_vec, argp->vlen, in nfsd_proc_read()
205 nfsd_proc_write(struct svc_rqst *rqstp, struct nfsd_writeargs *argp, in nfsd_proc_write() argument
210 unsigned long cnt = argp->len; in nfsd_proc_write()
213 SVCFH_fmt(&argp->fh), in nfsd_proc_write()
214 argp->len, argp->offset); in nfsd_proc_write()
216 nfserr = nfsd_write(rqstp, fh_copy(&resp->fh, &argp->fh), NULL, in nfsd_proc_write()
217 argp->offset, in nfsd_proc_write()
218 rqstp->rq_vec, argp->vlen, in nfsd_proc_write()
231 nfsd_proc_create(struct svc_rqst *rqstp, struct nfsd_createargs *argp, in nfsd_proc_create() argument
234 svc_fh *dirfhp = &argp->fh; in nfsd_proc_create()
236 struct iattr *attr = &argp->attrs; in nfsd_proc_create()
245 SVCFH_fmt(dirfhp), argp->len, argp->name); in nfsd_proc_create()
255 if (!argp->len) in nfsd_proc_create()
258 if (isdotent(argp->name, argp->len)) in nfsd_proc_create()
267 dchild = lookup_one_len(argp->name, dirfhp->fh_dentry, argp->len); in nfsd_proc_create()
365 nfserr = nfsd_create(rqstp, dirfhp, argp->name, argp->len, in nfsd_proc_create()
369 argp->name, attr->ia_valid, (long) attr->ia_size); in nfsd_proc_create()
389 nfsd_proc_remove(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, in nfsd_proc_remove() argument
394 dprintk("nfsd: REMOVE %s %.*s\n", SVCFH_fmt(&argp->fh), in nfsd_proc_remove()
395 argp->len, argp->name); in nfsd_proc_remove()
398 nfserr = nfsd_unlink(rqstp, &argp->fh, -S_IFDIR, argp->name, argp->len); in nfsd_proc_remove()
399 fh_put(&argp->fh); in nfsd_proc_remove()
404 nfsd_proc_rename(struct svc_rqst *rqstp, struct nfsd_renameargs *argp, in nfsd_proc_rename() argument
410 SVCFH_fmt(&argp->ffh), argp->flen, argp->fname); in nfsd_proc_rename()
412 SVCFH_fmt(&argp->tfh), argp->tlen, argp->tname); in nfsd_proc_rename()
414 nfserr = nfsd_rename(rqstp, &argp->ffh, argp->fname, argp->flen, in nfsd_proc_rename()
415 &argp->tfh, argp->tname, argp->tlen); in nfsd_proc_rename()
416 fh_put(&argp->ffh); in nfsd_proc_rename()
417 fh_put(&argp->tfh); in nfsd_proc_rename()
422 nfsd_proc_link(struct svc_rqst *rqstp, struct nfsd_linkargs *argp, in nfsd_proc_link() argument
428 SVCFH_fmt(&argp->ffh)); in nfsd_proc_link()
430 SVCFH_fmt(&argp->tfh), in nfsd_proc_link()
431 argp->tlen, in nfsd_proc_link()
432 argp->tname); in nfsd_proc_link()
434 nfserr = nfsd_link(rqstp, &argp->tfh, argp->tname, argp->tlen, in nfsd_proc_link()
435 &argp->ffh); in nfsd_proc_link()
436 fh_put(&argp->ffh); in nfsd_proc_link()
437 fh_put(&argp->tfh); in nfsd_proc_link()
442 nfsd_proc_symlink(struct svc_rqst *rqstp, struct nfsd_symlinkargs *argp, in nfsd_proc_symlink() argument
449 SVCFH_fmt(&argp->ffh), argp->flen, argp->fname, in nfsd_proc_symlink()
450 argp->tlen, argp->tname); in nfsd_proc_symlink()
458 argp->tname[argp->tlen] = '\0'; in nfsd_proc_symlink()
459 nfserr = nfsd_symlink(rqstp, &argp->ffh, argp->fname, argp->flen, in nfsd_proc_symlink()
460 argp->tname, &newfh); in nfsd_proc_symlink()
462 fh_put(&argp->ffh); in nfsd_proc_symlink()
472 nfsd_proc_mkdir(struct svc_rqst *rqstp, struct nfsd_createargs *argp, in nfsd_proc_mkdir() argument
477 dprintk("nfsd: MKDIR %s %.*s\n", SVCFH_fmt(&argp->fh), argp->len, argp->name); in nfsd_proc_mkdir()
484 argp->attrs.ia_valid &= ~ATTR_SIZE; in nfsd_proc_mkdir()
486 nfserr = nfsd_create(rqstp, &argp->fh, argp->name, argp->len, in nfsd_proc_mkdir()
487 &argp->attrs, S_IFDIR, 0, &resp->fh); in nfsd_proc_mkdir()
488 fh_put(&argp->fh); in nfsd_proc_mkdir()
496 nfsd_proc_rmdir(struct svc_rqst *rqstp, struct nfsd_diropargs *argp, in nfsd_proc_rmdir() argument
501 dprintk("nfsd: RMDIR %s %.*s\n", SVCFH_fmt(&argp->fh), argp->len, argp->name); in nfsd_proc_rmdir()
503 nfserr = nfsd_unlink(rqstp, &argp->fh, S_IFDIR, argp->name, argp->len); in nfsd_proc_rmdir()
504 fh_put(&argp->fh); in nfsd_proc_rmdir()
512 nfsd_proc_readdir(struct svc_rqst *rqstp, struct nfsd_readdirargs *argp, in nfsd_proc_readdir() argument
520 SVCFH_fmt(&argp->fh), in nfsd_proc_readdir()
521 argp->count, argp->cookie); in nfsd_proc_readdir()
524 count = (argp->count >> 2) - 2; in nfsd_proc_readdir()
531 resp->buffer = argp->buffer; in nfsd_proc_readdir()
536 offset = argp->cookie; in nfsd_proc_readdir()
537 nfserr = nfsd_readdir(rqstp, &argp->fh, &offset, in nfsd_proc_readdir()
540 resp->count = resp->buffer - argp->buffer; in nfsd_proc_readdir()
544 fh_put(&argp->fh); in nfsd_proc_readdir()
552 nfsd_proc_statfs(struct svc_rqst * rqstp, struct nfsd_fhandle *argp, in nfsd_proc_statfs() argument
557 dprintk("nfsd: STATFS %s\n", SVCFH_fmt(&argp->fh)); in nfsd_proc_statfs()
559 nfserr = nfsd_statfs(rqstp, &argp->fh, &resp->stats, in nfsd_proc_statfs()
561 fh_put(&argp->fh); in nfsd_proc_statfs()