Lines Matching refs:args

222 	struct args {
225 } *args;
232 struct args d;
245 args = &sdata.d;
248 bzero(args, sizeof(*args));
250 if (len > sizeof(args->path))
251 len = sizeof(args->path);
252 args->len = htonl(len);
253 bcopy(path, args->path, len);
257 args, len, repl, sizeof(*repl));
278 struct args {
282 } *args;
290 struct args d;
303 args = &sdata.d;
306 bzero(args, sizeof(*args));
307 bcopy(d->fh, args->fh, sizeof(args->fh));
309 if (len > sizeof(args->name))
310 len = sizeof(args->name);
311 bcopy(name, args->name, len);
312 args->len = htonl(len);
319 args, len, repl, rlen);
385 struct nfs_read_args *args;
399 args = &sdata.d;
402 bcopy(d->fh, args->fh, NFS_FHSIZE);
403 args->off = htonl((n_long)off);
406 args->len = htonl((n_long)len);
407 args->xxx = htonl((n_long)0);
411 args, sizeof(*args),
753 struct nfs_readdir_args *args;
774 args = &sdata.d;
775 bzero(args, sizeof(*args));
777 bcopy(fp->fh, args->fh, NFS_FHSIZE);
778 args->cookie = htonl(fp->off);
779 args->count = htonl(NFS_READDIRSIZE);
782 args, sizeof(*args),
822 struct args {
825 } *args;
835 struct args d;
848 args = &sdata.d;
851 bzero(args, sizeof(*args));
853 if (len > sizeof(args->path))
854 len = sizeof(args->path);
855 args->len = htonl(len);
856 bcopy(path, args->path, len);
860 args, len, repl, sizeof(*repl));
881 struct args {
885 } *args;
895 struct args d;
908 args = &sdata.d;
911 bzero(args, sizeof(*args));
912 args->fhsize = htonl(d->fhsize);
913 bcopy(d->fh, args->fhplusname, d->fhsize);
918 args->fhplusname[pos++] = htonl(len);
919 bcopy(name, &args->fhplusname[pos], len);
926 args, len, repl, rlen);
950 struct args {
953 } *args;
963 struct args d;
976 args = &sdata.d;
979 bzero(args, sizeof(*args));
980 args->fhsize = htonl(d->fhsize);
981 bcopy(d->fh, args->fh, d->fhsize);
983 args, sizeof(uint32_t) + roundup(d->fhsize, sizeof(uint32_t)),
1014 struct args {
1017 } *args;
1029 struct args d;
1039 args = &sdata.d;
1042 bzero(args, sizeof(*args));
1043 args->fhsize = htonl(d->fhsize);
1044 bcopy(d->fh, args->fhoffcnt, d->fhsize);
1046 args->fhoffcnt[pos++] = 0;
1047 args->fhoffcnt[pos++] = htonl((uint32_t)off);
1050 args->fhoffcnt[pos] = htonl((uint32_t)len);
1054 args, 4 * sizeof(uint32_t) + roundup(d->fhsize, sizeof(uint32_t)),
1410 struct args {
1413 } *args;
1416 struct args d;
1426 args = &sdata.d;
1427 bzero(args, sizeof(*args));
1429 args->fhsize = htonl(fp->fhsize);
1430 bcopy(fp->fh, args->fhpluscookie, fp->fhsize);
1432 args->fhpluscookie[pos++] = htonl(fp->off >> 32);
1433 args->fhpluscookie[pos++] = htonl(fp->off);
1434 args->fhpluscookie[pos++] = htonl(fp->cookie >> 32);
1435 args->fhpluscookie[pos++] = htonl(fp->cookie);
1436 args->fhpluscookie[pos] = htonl(NFS_READDIRSIZE);
1439 args, 6 * sizeof(uint32_t) +