Searched refs:mnt_mountp (Results 1 - 25 of 29) sorted by relevance

12

/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c48 char mnt_mountp[MNT_LINE_MAX]; local
63 if ((m.mnt_special == NULL) || (m.mnt_mountp == NULL))
66 if (m.mnt_mountp[0] != '/')
78 (void) strcpy(mnt_mountp, m.mnt_mountp);
86 mountp = mnt_mountp;
H A Dmetagetroot.c55 if (strcmp(mp.mnt_mountp, "/") == 0)
H A Dmeta_check.c303 if ((m.mnt_special == NULL) || (m.mnt_mountp == NULL))
306 if (m.mnt_mountp[0] != '/')
318 (void) strcpy(mountp, m.mnt_mountp);
371 if ((m.mnt_special == NULL) || (m.mnt_mountp == NULL))
374 if (m.mnt_mountp[0] != '/')
386 (void) strcpy(mountp, m.mnt_mountp);
/osnet-11/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c104 if (mnt->mnt_mountp)
105 free(mnt->mnt_mountp);
141 new->mnt_mountp = NULL;
150 new->mnt_mountp = strdup(mnt->mnt_mountp);
151 if (new->mnt_mountp == NULL) {
239 longestmatch = strlen(mountmatch->mnt_mountp);
265 if (subpath(globalpath, mnt->mnt_mountp) != 0)
284 len = strlen(mnt->mnt_mountp);
319 mp_len = strlen(mnt->mnt_mountp);
[all...]
/osnet-11/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c97 entp->mnt_mountp = _z_strdup(ent.mnt_mountp);
120 if (strcmp(a_path, mountTable[i].mnt_mountp) == 0) {
196 free(mountTable[i].mnt_mountp);
244 mnp->mnt_mountp == NULL ||
247 len = strlen(mnp->mnt_mountp);
248 if (strncmp(mnp->mnt_mountp, path, len) == 0 &&
/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetmntent.c131 DIFF(mnt_mountp) ||
166 if (mrefp->mnt_mountp) {
167 mgetp->mnt_mountp = copyp;
168 copyp += snprintf(mgetp->mnt_mountp,
169 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mountp) + 1;
379 GETTOK_R(mnt_mountp, NULL, &tmp);
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgserv.c88 free(xmnt->mnt_mountp);
106 if (saved->mnt_mountp != NULL)
107 saved->mnt_mountp = strdup(saved->mnt_mountp);
208 len = strlen(xmnt.mnt_mountp);
212 if (strncmp(xmnt.mnt_mountp, fullpath, len) == 0 &&
219 if (saved.mnt_fstype == NULL || saved.mnt_mountp == NULL ||
225 strcmp(saved.mnt_mountp, saved.mnt_special) == 0) {
/osnet-11/usr/src/lib/libshadowfs/common/
H A Dshadow_open.c54 search.mnt_mountp = shp->sh_mountpoint;
H A Dshadow_migrate.c392 search.mnt_mountp = shp->sh_mountpoint;
/osnet-11/usr/src/lib/libshadowtest/common/
H A Dlibshadowtest.c165 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,
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dinuse_mnt.c230 entry.mnt_mountp == NULL ||
265 currp->mountp = strdup(entry.mnt_mountp);
/osnet-11/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c554 newp->mountp = strdup(mnttab_entry.mnt_mountp);
614 newp->mountp = strdup(mnttab_entry.mnt_mountp);
683 search_entry->mnt_mountp = strdup(mountp);
684 if (search_entry->mnt_mountp == NULL) {
835 free(mnttab_entry->mnt_mountp);
/osnet-11/usr/src/lib/libbe/common/
H A Dbe_mount.c1628 parentmnt = strdup(extmtab.mnt_mountp);
1632 mntref.mnt_mountp = alt_parentmnt;
1755 if ((entp->mnt_mountp = strdup(ent.mnt_mountp)) == NULL ||
1777 if (strncmp(entp->mnt_mountp, ud->altroot, altroot_len) == 0 &&
1778 entp->mnt_mountp[altroot_len] == '/') {
1779 if (umount(entp->mnt_mountp) != 0) {
1784 if (umount(entp->mnt_mountp) != 0)
1792 entp->mnt_mountp, strerror(err));
/osnet-11/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c471 cp = mnt.mnt_mountp;
480 mnt_dir = mnt.mnt_mountp; /* save dir path */
/osnet-11/usr/src/lib/libproc/common/
H A DPzone.c95 (strcmp(mt.mnt_special, mt.mnt_mountp) != 0)) {
99 lmt->l_mountp = strdup(mt.mnt_mountp);
/osnet-11/usr/src/lib/libshare_plugins/legacy/
H A Dlibshare_legacy.c727 entry.mnt_mountp = (char *)sh_path;
733 (void) strlcpy(mntpnt, result.mnt_mountp, mp_len);
893 mount->lm_mntpnt = strdup(entry.mnt_mountp);
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c200 *where = zfs_strdup(zfs_hdl, entry.mnt_mountp);
1193 if (entry.mnt_mountp == NULL ||
1224 entry.mnt_mountp)) == NULL)
H A Dlibzfs_dataset.c662 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, entry.mnt_mountp);
677 free(mtn->mtn_mt.mnt_mountp);
799 mtn->mtn_mt.mnt_mountp = zfs_strdup(hdl, mountp);
816 free(ret->mtn_mt.mnt_mountp);
2779 ASSERT3P(entry.mnt_mountp, !=, NULL);
2781 zhp->zfs_mountp = zfs_strdup(hdl, entry.mnt_mountp);
/osnet-11/usr/src/lib/librdc/common/
H A Drdcrules.c435 mntref.mnt_mountp = NULL;
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-shared.c110 *mount_point = g_strdup (mnt.mnt_mountp);
/osnet-11/usr/src/lib/libsmb/common/
H A Dsmb_util.c768 (void) strlcpy(mountpoint, mnttab.mnt_mountp, len);
799 mntpref.mnt_mountp = tmppath;
/osnet-11/usr/src/lib/libshare/common/
H A Dlibshare.c2495 if ((mntpnt = strdup(entry.mnt_mountp)) == NULL) {
2600 srhp->srh_mntpnt = strdup(entry.mnt_mountp);
2709 srhp->srh_mntpnt = strdup(entry.mnt_mountp);
3030 if (entry == NULL || entry->mnt_mountp == NULL ||
3038 inzone = sa_mntpnt_in_current_zone(shdl, entry->mnt_mountp,
/osnet-11/usr/src/lib/pam_modules/zfs_key/
H A Dzfs_key.c142 mref.mnt_mountp = (char *)_PATH_EXPORT_HOME;
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_storage.c1573 hal_device_property_set_string (d, "volume.mount_point", m.mnt_mountp);
1577 hal_device_get_udi (d), m.mnt_mountp));
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c1060 if (strcmp(ent.mnt_mountp, _PATH_SYSVOL) == 0) {

Completed in 114 milliseconds

12