Searched refs:mnt_fstype (Results 1 - 25 of 63) sorted by relevance

123

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c72 if ((strcmp(m.mnt_fstype, "nfs") == 0) ||
73 (strcmp(m.mnt_fstype, "autofs") == 0) ||
74 (strcmp(m.mnt_fstype, "proc") == 0) ||
75 (strcmp(m.mnt_fstype, "tmpfs") == 0) ||
76 (strcmp(m.mnt_fstype, "lofs") == 0) ||
77 (strcmp(m.mnt_fstype, "rfs") == 0) ||
78 (strcmp(m.mnt_fstype, "fd") == 0))
/illumos-gate/usr/src/uts/common/sys/
H A Dmnttab.h50 (mp)->mnt_fstype = (mp)->mnt_mntopts = \
66 char *mnt_fstype; member in struct:mnttab
74 char *mnt_fstype; member in struct:extmnttab
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c110 if (mnt->mnt_fstype)
111 free(mnt->mnt_fstype);
146 new->mnt_fstype = NULL;
159 new->mnt_fstype = strdup(mnt->mnt_fstype);
160 if (new->mnt_fstype == NULL) {
270 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS))
313 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS))
393 if ((strcmp(mountmatch->mnt_fstype, MNTTYPE_NFS) == 0) ||
394 (strcmp(mountmatch->mnt_fstype, MNTTYPE_AUTOF
[all...]
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c98 entp->mnt_fstype = _z_strdup(ent.mnt_fstype);
197 free(mountTable[i].mnt_fstype);
243 if (mnp->mnt_fstype == NULL ||
256 if (strcmp(mnp->mnt_fstype, MNTTYPE_LOFS) != 0)
/illumos-gate/usr/src/cmd/fs.d/
H A Dumount.c341 if ((ment->mnt_fstype != NULL) || Vflg) {
347 if (strlen(ment->mnt_fstype) > (size_t)FSTYPE_MAX) {
350 myname, ment->mnt_fstype, FSTYPE_MAX);
355 sprintf(full_path, "%s/%s/%s", fs_path, ment->mnt_fstype,
357 sprintf(alter_path, "%s/%s/%s", alt_path, ment->mnt_fstype,
422 myname, ment->mnt_fstype ? ment->mnt_fstype : "<null>");
675 if (mp->ment.mnt_fstype &&
676 (strcmp(mp->ment.mnt_fstype, MNTTYPE_LOFS) == 0))
717 if (mp->ment.mnt_fstype
[all...]
H A Dfslib.c105 if ((new->mnt_fstype = strdup(mnt->mnt_fstype)) == NULL)
138 if (mnt->mnt_fstype)
139 free(mnt->mnt_fstype);
H A Ddf.c167 #define DFR_FSTYPE(dfrp) (dfrp)->dfr_mte->mte_mount->mnt_fstype
482 new->mnt_fstype = new_string(old->mnt_fstype);
722 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP))
790 if (!EQ(entryp->mnt_fstype, MNTTYPE_LOFS))
839 if (!EQ(match->mte_mount->mnt_fstype,
1830 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP))
1840 dfrp->dfr_fstype = mtp->mnt_fstype;
1917 dfrp->dfr_mte->mte_mount->mnt_fstype;
H A Dmount.c616 mget.mnt_fstype && mget.mnt_time) {
624 mget.mnt_fstype,
631 mget.mnt_fstype,
632 remote(mget.mnt_fstype, rfp),
639 remote(mget.mnt_fstype, rfp),
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetmntent.c132 DIFF(mnt_fstype) ||
171 if (mrefp->mnt_fstype) {
172 mgetp->mnt_fstype = copyp;
173 copyp += snprintf(mgetp->mnt_fstype,
174 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_fstype) + 1;
380 GETTOK_R(mnt_fstype, NULL, &tmp);
/illumos-gate/usr/src/cmd/rexd/
H A Dmntent.c118 mnt->mnt_fstype = mntstr(&cp);
221 * mnt->mnt_fstype == NULL || mnt->mnt_mntopts == NULL)
235 mnt->mnt_fstype,
H A Dmount_nfs.c399 mnt.mnt_fstype = MNTTYPE_NFS;
500 new->mnt_fstype = strdup(mnt->mnt_fstype);
501 if (new->mnt_fstype == NULL)
532 if (mnt->mnt_fstype)
533 free(mnt->mnt_fstype);
H A Dwhere.c170 if (strcmp(mp.mnt_fstype, "nfs") != 0)
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c139 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) == 0)
141 else if (strcmp(mnt.mnt_fstype,
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h63 #define mnt_type mnt_fstype
/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c59 mntent.mnt_fstype != NULL &&
60 strcmp(mntent.mnt_fstype, MNTTYPE_TMPFS) == 0) {
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c268 if (strcmp(typestr, mnt.mnt_fstype) != 0) {
698 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) != 0) {
817 if (strcmp(mnt->mnt_fstype, typestr) != 0)
991 new->mnt_fstype =
992 (char *)xmalloc((unsigned)(strlen(mnt->mnt_fstype) + 1));
993 (void) strcpy(new->mnt_fstype, mnt->mnt_fstype);
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c562 newp->fstype = strdup(mnttab_entry.mnt_fstype);
622 newp->fstype = strdup(mnttab_entry.mnt_fstype);
694 search_entry->mnt_fstype = strdup(fstype);
695 if (search_entry->mnt_fstype == NULL) {
836 free(mnttab_entry->mnt_fstype);
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c90 free(xmnt->mnt_fstype);
109 if (saved->mnt_fstype != NULL)
110 saved->mnt_fstype = strdup(saved->mnt_fstype);
220 if (strcmp(saved.mnt_fstype, "lofs") != 0 ||
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c1291 free(tabp->mnt_fstype);
1320 if (srcp->mnt_fstype != NULL) {
1321 retval->mnt_fstype = strdup(srcp->mnt_fstype);
1322 if (retval->mnt_fstype == NULL)
1436 if (strcmp(mountp->mnt_fstype, MNTTYPE_ZFS) == 0 &&
1579 if (mount(mtab->mnt_special, zoneroot, flags, mtab->mnt_fstype, NULL, 0,
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c204 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0)
256 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0)
494 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) {
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c285 tabp->mnt_fstype = (char *)(cp - elemp->mnte_text);
1368 uint32_t mnt_fstype; member in struct:extmnttab32
1378 uint32_t mnt_fstype; member in struct:mnttab32
1428 STRUCT_FSETP(ktab, mnt_fstype,
1429 MNTFS_REAL_FIELD(dbbufp + (off_t)dbtabp->mnt_fstype) ?
1430 ubufp + (off_t)dbtabp->mnt_fstype : NULL);
1455 *(kbufp + (off_t)dbtabp->mnt_fstype - 1) =
1673 preftab.mnt_fstype = mntfs_import_addr(STRUCT_FGETP(ktab,
1674 mnt_fstype), ubufp, prefbuf, MNT_LINE_MAX);
1731 (!preftab.mnt_fstype || mntfs_same_wor
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c268 if (strcmp(mnt.mnt_fstype, MNTTYPE_ZFS) == 0) {
272 } else if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) == 0) {
278 } else if (strcmp(mnt.mnt_fstype, MNTTYPE_NFS) == 0) {
688 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) != 0 ||
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c237 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 &&
307 strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 &&
336 } else if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 ||
725 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 ||
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_config.c72 strcasecmp(fs->mnt_fstype, MNTTYPE_UFS) == 0 || \
73 strcasecmp(fs->mnt_fstype, MNTTYPE_ZFS) == 0 || \
74 strcasecmp(fs->mnt_fstype, MNTTYPE_NFS) == 0 || \
75 strcasecmp(fs->mnt_fstype, MNTTYPE_NFS3) == 0 || \
76 strcasecmp(fs->mnt_fstype, MNTTYPE_NFS4) == 0))
594 fs->mnt_fstype);
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c465 (void) strlcpy(root->gr_fstyp, mp.mnt_fstype, sizeof (root->gr_fstyp));
492 } else if (strcmp(mp.mnt_fstype, MNTTYPE_UFS) == 0) {
536 mpref.mnt_fstype = fstyp;

Completed in 107 milliseconds

123