Home
last modified time | relevance | path

Searched refs:ml_dirp (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.bin/showmount/
H A Dshowmount.c67 char ml_dirp[MNTPATHLEN+1]; member
281 strp = mp->ml_dirp; in xdr_mntdump()
297 val2 = strcmp(mp->ml_dirp, tp->ml_dirp); in xdr_mntdump()
403 printf("%s:%s\n", mp->ml_host, mp->ml_dirp); in print_dump()
406 printf("%s\n", mp->ml_dirp); in print_dump()
/freebsd/usr.sbin/mountd/
H A Dmountd.c86 char ml_dirp[MNTPATHLEN+1]; member
1422 strp = &mlp->ml_dirp[0]; in xdr_mlist()
3738 strncpy(mlp->ml_dirp, dirp, MNTPATHLEN); in get_mountlist()
3739 mlp->ml_dirp[MNTPATHLEN] = '\0'; in get_mountlist()
3755 (!dirp || !strcmp(mlp->ml_dirp, dirp))) { in del_mlist()
3767 fprintf(mlfile, "%s %s\n", mlp->ml_host, mlp->ml_dirp); in del_mlist()
3780 if (!strcmp(mlp->ml_host, hostp) && !strcmp(mlp->ml_dirp, dirp)) in add_mlist()
3789 strncpy(mlp->ml_dirp, dirp, MNTPATHLEN); in add_mlist()
3790 mlp->ml_dirp[MNTPATHLEN] = '\0'; in add_mlist()
3796 fprintf(mlfile, "%s %s\n", mlp->ml_host, mlp->ml_dirp); in add_mlist()