Lines Matching refs:numargs
309 static unsigned len_args(unsigned numargs, struct fuse_arg *args) in len_args() argument
314 for (i = 0; i < numargs; i++) in len_args()
328 len_args(req->in.numargs, (struct fuse_arg *) req->in.args); in queue_request()
558 req->in.numargs = args->in.numargs; in fuse_simple_request()
560 args->in.numargs * sizeof(struct fuse_in_arg)); in fuse_simple_request()
562 req->out.numargs = args->out.numargs; in fuse_simple_request()
564 args->out.numargs * sizeof(struct fuse_arg)); in fuse_simple_request()
568 BUG_ON(args->out.numargs != 1); in fuse_simple_request()
647 req->in.numargs = 1; in fuse_force_forget()
1040 static int fuse_copy_args(struct fuse_copy_state *cs, unsigned numargs, in fuse_copy_args() argument
1047 for (i = 0; !err && i < numargs; i++) { in fuse_copy_args()
1049 if (i == numargs - 1 && argpages) in fuse_copy_args()
1296 err = fuse_copy_args(cs, in->numargs, in->argpages, in fuse_dev_do_read()
1686 req->in.numargs = 2; in fuse_retrieve()
1812 reqsize += len_args(out->numargs, out->args); in copy_out_args()
1817 struct fuse_arg *lastarg = &out->args[out->numargs-1]; in copy_out_args()
1823 return fuse_copy_args(cs, out->numargs, out->argpages, out->args, in copy_out_args()