Searched defs:mntent (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_open.c38 struct mnttab mntent, search; local
55 if (getmntany(mnttab, &mntent, &search) != 0) {
71 if (strcmp(mntent.mnt_fstype, MNTTYPE_ZFS) == 0) {
73 shadow_strdup(mntent.mnt_special)) == NULL)
77 shadow_strdup(mntent.mnt_fstype)) == NULL ||
79 shadow_strdup(mntent.mnt_special)) == NULL)
83 if (hasmntopt(&mntent, "shadow") == NULL) {
H A Dshadow_migrate.c381 struct mnttab mntent, search; local
393 if (getmntany(mnttab, &mntent, &search) != 0) {
401 if ((mntopt = hasmntopt(&mntent, "shadow")) != NULL &&
/osnet-11/usr/src/lib/librdc/common/
H A Drdcrules.c418 struct mnttab mntent; local
447 if ((rc = getmntany(mntfp, &mntent, &mntref)) != -1) {
/osnet-11/usr/src/lib/libshadowtest/common/
H A Dlibshadowtest.c151 struct mnttab mntent; local
164 while (getmntent(fp, &mntent) == 0) {
165 len = strlen(mntent.mnt_mountp);
170 if (strcmp(mntent.mnt_mountp, "/") == 0 ||
171 (strncmp(mntent.mnt_mountp, fullpath, len) == 0 &&
173 (void) strlcpy(root, mntent.mnt_mountp,

Completed in 18 milliseconds