Lines Matching refs:args
204 struct nfsd_fhandle *args = rqstp->rq_argp;
206 p = decode_fh(p, &args->fh);
215 struct nfsd_sattrargs *args = rqstp->rq_argp;
217 p = decode_fh(p, &args->fh);
220 p = decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp));
228 struct nfsd_diropargs *args = rqstp->rq_argp;
230 if (!(p = decode_fh(p, &args->fh))
231 || !(p = decode_filename(p, &args->name, &args->len)))
240 struct nfsd_readargs *args = rqstp->rq_argp;
243 p = decode_fh(p, &args->fh);
247 args->offset = ntohl(*p++);
248 len = args->count = ntohl(*p++);
265 args->vlen = v;
272 struct nfsd_writeargs *args = rqstp->rq_argp;
276 p = decode_fh(p, &args->fh);
281 args->offset = ntohl(*p++); /* offset */
283 len = args->len = ntohl(*p++);
310 args->first.iov_base = (void *)p;
311 args->first.iov_len = head->iov_len - hdr;
318 struct nfsd_createargs *args = rqstp->rq_argp;
320 if ( !(p = decode_fh(p, &args->fh))
321 || !(p = decode_filename(p, &args->name, &args->len)))
323 p = decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp));
331 struct nfsd_renameargs *args = rqstp->rq_argp;
333 if (!(p = decode_fh(p, &args->ffh))
334 || !(p = decode_filename(p, &args->fname, &args->flen))
335 || !(p = decode_fh(p, &args->tfh))
336 || !(p = decode_filename(p, &args->tname, &args->tlen)))
345 struct nfsd_readlinkargs *args = rqstp->rq_argp;
347 p = decode_fh(p, &args->fh);
350 args->buffer = page_address(*(rqstp->rq_next_page++));
358 struct nfsd_linkargs *args = rqstp->rq_argp;
360 if (!(p = decode_fh(p, &args->ffh))
361 || !(p = decode_fh(p, &args->tfh))
362 || !(p = decode_filename(p, &args->tname, &args->tlen)))
371 struct nfsd_symlinkargs *args = rqstp->rq_argp;
375 if ( !(p = decode_fh(p, &args->ffh))
376 || !(p = decode_filename(p, &args->fname, &args->flen)))
379 args->tlen = ntohl(*p++);
380 if (args->tlen == 0)
383 args->first.iov_base = p;
384 args->first.iov_len = rqstp->rq_arg.head[0].iov_len;
385 args->first.iov_len -= (char *)p - base;
393 if (args->tlen != rqstp->rq_arg.page_len)
397 xdrlen = XDR_QUADLEN(args->tlen);
398 if (xdrlen > args->first.iov_len - (8 * sizeof(__be32)))
402 decode_sattr(p, &args->attrs, nfsd_user_namespace(rqstp));
410 struct nfsd_readdirargs *args = rqstp->rq_argp;
412 p = decode_fh(p, &args->fh);
415 args->cookie = ntohl(*p++);
416 args->count = ntohl(*p++);
417 args->count = min_t(u32, args->count, PAGE_SIZE);
418 args->buffer = page_address(*(rqstp->rq_next_page++));