/freebsd/usr.bin/showmount/ |
H A D | showmount.c | 259 xdr_mntdump(XDR *xdrsp, struct mountlist **mlp) in xdr_mntdump() argument 269 if (!xdr_bool(xdrsp, &bool)) in xdr_mntdump() 277 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) { in xdr_mntdump() 282 if (!xdr_string(xdrsp, &strp, MNTPATHLEN)) { in xdr_mntdump() 333 if (!xdr_bool(xdrsp, &bool)) in xdr_mntdump() 343 xdr_exportslist(XDR *xdrsp, struct exportslist **exp) in xdr_exportslist() argument 351 if (!xdr_bool(xdrsp, &bool)) in xdr_exportslist() 359 if (!xdr_string(xdrsp, &strp, MNTPATHLEN)) in xdr_exportslist() 361 if (!xdr_bool(xdrsp, &grpbool)) in xdr_exportslist() 368 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) in xdr_exportslist() [all …]
|
/freebsd/usr.sbin/mountd/ |
H A D | mountd.c | 1364 xdr_dir(XDR *xdrsp, char *dirp) in xdr_dir() argument 1366 return (xdr_string(xdrsp, &dirp, MNTPATHLEN)); in xdr_dir() 1373 xdr_fhs(XDR *xdrsp, caddr_t cp) in xdr_fhs() argument 1379 if (!xdr_long(xdrsp, &ok)) in xdr_fhs() 1383 return (xdr_opaque(xdrsp, (caddr_t)&fhrp->fhr_fh, NFSX_V2FH)); in xdr_fhs() 1386 if (!xdr_long(xdrsp, &len)) in xdr_fhs() 1388 if (!xdr_opaque(xdrsp, (caddr_t)&fhrp->fhr_fh, len)) in xdr_fhs() 1391 if (!xdr_int(xdrsp, &fhrp->fhr_numsecflavors)) in xdr_fhs() 1394 if (!xdr_int(xdrsp, &fhrp->fhr_secflavors[i])) in xdr_fhs() 1400 if (!xdr_long(xdrsp, &len)) in xdr_fhs() [all …]
|
/freebsd/sbin/mount_nfs/ |
H A D | mount_nfs.c | 1055 xdr_dir(XDR *xdrsp, char *dirp) in xdr_dir() argument 1057 return (xdr_string(xdrsp, &dirp, MNTPATHLEN)); in xdr_dir() 1061 xdr_fh(XDR *xdrsp, struct nfhret *np) in xdr_fh() argument 1066 if (!xdr_u_long(xdrsp, &np->stat)) in xdr_fh() 1073 return (xdr_opaque(xdrsp, (caddr_t)np->nfh, NFS_FHSIZE)); in xdr_fh() 1075 if (!xdr_long(xdrsp, &np->fhsize)) in xdr_fh() 1079 if (!xdr_opaque(xdrsp, (caddr_t)np->nfh, np->fhsize)) in xdr_fh() 1081 if (!xdr_long(xdrsp, &authcnt)) in xdr_fh() 1084 if (!xdr_long(xdrsp, &auth)) in xdr_fh()
|
/freebsd/usr.sbin/nfsuserd/ |
H A D | nfsuserd.c | 764 xdr_getid(XDR *xdrsp, caddr_t cp) in xdr_getid() argument 768 return (xdr_long(xdrsp, &ifp->id)); in xdr_getid() 775 xdr_getname(XDR *xdrsp, caddr_t cp) in xdr_getname() argument 780 if (!xdr_long(xdrsp, &len)) in xdr_getname() 784 if (!xdr_opaque(xdrsp, ifp->name, len)) in xdr_getname() 794 xdr_retval(XDR *xdrsp, caddr_t cp) in xdr_retval() argument 800 return (xdr_long(xdrsp, &val)); in xdr_retval()
|
/freebsd/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 254 xdr_dir(XDR *xdrsp, char *dirp) { in xdr_dir() argument 255 return (xdr_string(xdrsp, &dirp, MNTPATHLEN)); in xdr_dir()
|
/freebsd/sbin/umount/ |
H A D | umount.c | 653 xdr_dir(XDR *xdrsp, char *dirp) in xdr_dir() argument 656 return (xdr_string(xdrsp, &dirp, MNTPATHLEN)); in xdr_dir()
|