Home
last modified time | relevance | path

Searched refs:MNTNAMLEN (Results 1 – 7 of 7) sorted by relevance

/freebsd-12-stable/usr.sbin/rpc.umntall/
Dmounttab.h31 #define STRSIZ (MNTNAMLEN+MNTPATHLEN+100)
37 char mtab_host[MNTNAMLEN];
Dmounttab.c127 memmove(mtabp->mtab_host, hostp, MNTNAMLEN); in read_mtab()
128 mtabp->mtab_host[MNTNAMLEN - 1] = '\0'; in read_mtab()
205 bzero(mtabp->mtab_host, MNTNAMLEN); in clean_mtab()
/freebsd-12-stable/contrib/amd/libamu/
Damu.h59 #ifndef MNTNAMLEN
60 # define MNTNAMLEN 255 macro
Dxdr_func.c482 if (!xdr_string(xdrs, objp, MNTNAMLEN)) { in xdr_name()
/freebsd-12-stable/usr.bin/showmount/
Dshowmount.c80 char ml_host[MNTNAMLEN+1];
86 char gr_name[MNTNAMLEN+1];
291 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) { in xdr_mntdump()
382 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) in xdr_exportslist()
/freebsd-12-stable/include/rpcsvc/
Dmount.x46 const MNTNAMLEN = 255; /* maximum bytes in a name argument */ variable
113 typedef string name<MNTNAMLEN>; typedef
/freebsd-12-stable/usr.sbin/mountd/
Dmountd.c98 char ml_host[MNTNAMLEN+1];
1407 if (!xdr_string(xdrsp, &strp, MNTNAMLEN)) in xdr_mlist()
1497 MNTNAMLEN)) in put_exlist()
1504 MNTNAMLEN)) in put_exlist()
1598 if (len > MNTNAMLEN) { in get_exportlist_one()
3580 #define STRSIZ (MNTNAMLEN+MNTPATHLEN+50)
3609 strncpy(mlp->ml_host, host, MNTNAMLEN); in get_mountlist()
3610 mlp->ml_host[MNTNAMLEN] = '\0'; in get_mountlist()
3660 strncpy(mlp->ml_host, hostp, MNTNAMLEN); in add_mlist()
3661 mlp->ml_host[MNTNAMLEN] = '\0'; in add_mlist()