Lines Matching refs:xbnew

3256 	struct xdrbuf xb, xbnew;
3271 xb_init(&xbnew, 0);
3369 xb_init_buffer(&xbnew, NULL, 0);
3370 xb_copy_32(error, &xb, &xbnew, val); /* version */
3371 argslength_offset = xb_offset(&xbnew);
3372 xb_copy_32(error, &xb, &xbnew, val); /* args length */
3373 xb_copy_32(error, &xb, &xbnew, val); /* XDR args version */
3386 xb_add_bitmap(error, &xbnew, newmattrs, NFS_MATTR_BITMAP_LEN);
3387 attrslength_offset = xb_offset(&xbnew);
3388 xb_copy_32(error, &xb, &xbnew, val); /* attrs length */
3399 xb_add_bitmap(error, &xbnew, newmflags_mask, NFS_MFLAG_BITMAP_LEN);
3400 xb_add_bitmap(error, &xbnew, newmflags, NFS_MFLAG_BITMAP_LEN);
3402 xb_copy_32(error, &xb, &xbnew, val);
3404 xb_copy_32(error, &xb, &xbnew, val);
3406 xb_copy_32(error, &xb, &xbnew, val);
3408 xb_copy_32(error, &xb, &xbnew, val);
3410 xb_copy_32(error, &xb, &xbnew, val);
3412 xb_copy_32(error, &xb, &xbnew, val);
3414 xb_copy_32(error, &xb, &xbnew, val);
3415 xb_copy_32(error, &xb, &xbnew, val);
3418 xb_copy_32(error, &xb, &xbnew, val);
3419 xb_copy_32(error, &xb, &xbnew, val);
3422 xb_copy_32(error, &xb, &xbnew, val);
3423 xb_copy_32(error, &xb, &xbnew, val);
3426 xb_copy_32(error, &xb, &xbnew, val);
3427 xb_copy_32(error, &xb, &xbnew, val);
3430 xb_copy_32(error, &xb, &xbnew, val);
3432 xb_copy_32(error, &xb, &xbnew, count);
3434 xb_copy_32(error, &xb, &xbnew, val);
3437 xb_copy_32(error, &xb, &xbnew, val);
3439 xb_copy_opaque(error, &xb, &xbnew);
3441 xb_copy_32(error, &xb, &xbnew, val);
3443 xb_copy_32(error, &xb, &xbnew, val);
3445 xb_copy_32(error, &xb, &xbnew, val);
3446 xb_copy_32(error, &xb, &xbnew, val);
3449 xb_copy_32(error, &xb, &xbnew, val);
3451 xb_copy_32(error, &xb, &xbnew, val);
3452 xb_copy_32(error, &xb, &xbnew, val);
3460 xb_add_fh(error, &xbnew, np->n_fhp, np->n_fhsize);
3467 xb_copy_32(error, &xb, &xbnew, numlocs); /* location count */
3469 xb_copy_32(error, &xb, &xbnew, numserv); /* server count */
3471 xb_copy_opaque(error, &xb, &xbnew); /* server name */
3472 xb_copy_32(error, &xb, &xbnew, numaddr); /* address count */
3474 xb_copy_opaque(error, &xb, &xbnew); /* address */
3475 xb_copy_opaque(error, &xb, &xbnew); /* server info */
3480 xb_add_32(error, &xbnew, numcomp+relpathcomps); /* new component count */
3482 xb_copy_opaque(error, &xb, &xbnew); /* component */
3492 xb_add_string(error, &xbnew, cp, (p - cp)); /* component */
3497 xb_copy_opaque(error, &xb, &xbnew); /* fs location info */
3504 xb_add_32(error, &xbnew, nfsls.nl_numlocs); /* FS_LOCATIONS */
3506 xb_add_32(error, &xbnew, nfsls.nl_locations[loc]->nl_servcount);
3508 xb_add_string(error, &xbnew, nfsls.nl_locations[loc]->nl_servers[serv]->ns_name,
3510 xb_add_32(error, &xbnew, nfsls.nl_locations[loc]->nl_servers[serv]->ns_addrcount);
3512 xb_add_string(error, &xbnew, nfsls.nl_locations[loc]->nl_servers[serv]->ns_addresses[addr],
3514 xb_add_32(error, &xbnew, 0); /* empty server info */
3516 xb_add_32(error, &xbnew, nfsls.nl_locations[loc]->nl_path.np_compcount);
3518 xb_add_string(error, &xbnew, nfsls.nl_locations[loc]->nl_path.np_components[comp],
3520 xb_add_32(error, &xbnew, 0); /* empty fs location info */
3532 xb_add_32(error, &xbnew, mntflags);
3539 xb_add_32(error, &xbnew, mlen2);
3543 xb_copy_32(error, &xb, &xbnew, val);
3547 error = xb_add_bytes(&xbnew, buf, mlen%XDRWORD, 1);
3552 error = xb_add_bytes(&xbnew, buf, 1, 1);
3556 error = xb_add_bytes(&xbnew, relpath, rlen, 1);
3561 error = xb_add_bytes(&xbnew, buf, count, 1);
3564 xb_build_done(error, &xbnew);
3567 end_offset = xb_offset(&xbnew);
3569 error = xb_seek(&xbnew, argslength_offset);
3571 xb_add_32(error, &xbnew, argslength);
3574 error = xb_seek(&xbnew, attrslength_offset);
3575 xb_add_32(error, &xbnew, end_offset - attrslength_offset - XDRWORD/*don't include length field*/);
3588 error = kernel_mount(fstype, dvp, vp, path, xb_buffer_base(&xbnew), argslength,
3596 xb_cleanup(&xbnew);