Home
last modified time | relevance | path

Searched refs:mnt_fstype (Results 1 – 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c107 if (mnt->mnt_fstype) in tsol_mnt_free()
108 free(mnt->mnt_fstype); in tsol_mnt_free()
143 new->mnt_fstype = NULL; in mntdup()
156 new->mnt_fstype = strdup(mnt->mnt_fstype); in mntdup()
157 if (new->mnt_fstype == NULL) { in mntdup()
267 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS)) in getnfspathbyautofs()
310 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS)) in getnfspathbyautofs()
390 if ((strcmp(mountmatch->mnt_fstype, MNTTYPE_NFS) == 0) || in getglobalpath()
391 (strcmp(mountmatch->mnt_fstype, MNTTYPE_AUTOFS) == 0)) { in getglobalpath()
395 if (strcmp(mountmatch->mnt_fstype, in getglobalpath()
[all …]
/illumos-gate/usr/src/cmd/fs.d/
H A Dumount.c343 if ((ment->mnt_fstype != NULL) || Vflg) { in doexec()
349 if (strlen(ment->mnt_fstype) > (size_t)FSTYPE_MAX) { in doexec()
352 myname, ment->mnt_fstype, FSTYPE_MAX); in doexec()
396 if (strcmp(ment->mnt_fstype, "smbfs") == 0 && in doexec()
435 myname, ment->mnt_fstype ? ment->mnt_fstype : "<null>"); in doexec()
688 if (mp->ment.mnt_fstype && in make_mntarray()
730 if (mp->ment.mnt_fstype && in make_mntarray()
929 if (mp->ment.mnt_fstype && in dowait()
930 (strcmp(mp->ment.mnt_fstype, MNTTYPE_LOFS) == 0)) in dowait()
954 if (ment->mnt_fstype && in new_mountent()
[all …]
H A Dfslib.c103 if ((new->mnt_fstype = strdup(mnt->mnt_fstype)) == NULL) in fsdupmnttab()
136 if (mnt->mnt_fstype) in fsfreemnttab()
137 free(mnt->mnt_fstype); in fsfreemnttab()
H A Ddf.c174 #define DFR_FSTYPE(dfrp) (dfrp)->dfr_mte->mte_mount->mnt_fstype
488 new->mnt_fstype = new_string(old->mnt_fstype); in mntdup()
727 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP)) in devid_matches()
795 if (!EQ(entryp->mnt_fstype, MNTTYPE_LOFS)) in path_mount_entry()
844 if (!EQ(match->mte_mount->mnt_fstype, in path_mount_entry()
1778 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP)) in create_request_list()
1788 dfrp->dfr_fstype = mtp->mnt_fstype; in create_request_list()
1865 dfrp->dfr_mte->mte_mount->mnt_fstype; in create_request_list()
H A Dmount.c614 mget.mnt_fstype && mget.mnt_time) { in print_mnttab()
622 mget.mnt_fstype, in print_mnttab()
629 mget.mnt_fstype, in print_mnttab()
630 remote(mget.mnt_fstype, rfp), in print_mnttab()
637 remote(mget.mnt_fstype, rfp), in print_mnttab()
/illumos-gate/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c98 entp->mnt_fstype = _z_strdup(ent.mnt_fstype); in z_createMountTable()
197 free(mountTable[i].mnt_fstype); in z_destroyMountTable()
243 if (mnp->mnt_fstype == NULL || in z_resolve_lofs()
256 if (strcmp(mnp->mnt_fstype, MNTTYPE_LOFS) != 0) in z_resolve_lofs()
/illumos-gate/usr/src/uts/common/sys/
H A Dmnttab.h50 (mp)->mnt_fstype = (mp)->mnt_mntopts = \
66 char *mnt_fstype; member
74 char *mnt_fstype; member
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetmntent.c132 DIFF(mnt_fstype) || in getmntany_compat()
171 if (mrefp->mnt_fstype) { in getmntany()
172 mgetp->mnt_fstype = copyp; in getmntany()
173 copyp += snprintf(mgetp->mnt_fstype, in getmntany()
174 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_fstype) + 1; in getmntany()
379 GETTOK_R(mnt_fstype, NULL, &tmp); in getmntent_compat()
/illumos-gate/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c268 if (strcmp(typestr, mnt.mnt_fstype) != 0) { in main()
698 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) != 0) { in mpath()
817 if (strcmp(mnt->mnt_fstype, typestr) != 0) in findmntent()
991 new->mnt_fstype = in mntdup()
992 (char *)xmalloc((unsigned)(strlen(mnt->mnt_fstype) + 1)); in mntdup()
993 (void) strcpy(new->mnt_fstype, mnt->mnt_fstype); in mntdup()
/illumos-gate/usr/src/cmd/stat/common/
H A Dmnt.c137 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) == 0) in build_mnt_list()
139 else if (strcmp(mnt.mnt_fstype, in build_mnt_list()
/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c58 mntent.mnt_fstype != NULL && in in_mnttab()
59 strcmp(mntent.mnt_fstype, MNTTYPE_TMPFS) == 0) { in in_mnttab()
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c560 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_mntlist_entry()
620 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_extmntlist_entry()
692 search_entry->mnt_fstype = strdup(fstype); in create_mnttab_filter()
693 if (search_entry->mnt_fstype == NULL) { in create_mnttab_filter()
834 free(mnttab_entry->mnt_fstype); in free_mnttab_entry()
/illumos-gate/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c285 tabp->mnt_fstype = (char *)(cp - elemp->mnte_text); in mntfs_populate_text()
1368 uint32_t mnt_fstype; member
1378 uint32_t mnt_fstype; member
1428 STRUCT_FSETP(ktab, mnt_fstype, in mntfs_copyout_elem()
1430 ubufp + (off_t)dbtabp->mnt_fstype : NULL); in mntfs_copyout_elem()
1455 *(kbufp + (off_t)dbtabp->mnt_fstype - 1) = in mntfs_copyout_elem()
1673 preftab.mnt_fstype = mntfs_import_addr(STRUCT_FGETP(ktab, in mntioctl()
1674 mnt_fstype), ubufp, prefbuf, MNT_LINE_MAX); in mntioctl()
1731 (!preftab.mnt_fstype || mntfs_same_word( in mntioctl()
1732 preftab.mnt_fstype, prefbuf, MNT_LINE_MAX, in mntioctl()
[all …]
/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); in ndmpd_config_get_fs_info_v3()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c94 free(xmnt->mnt_fstype); in free_xmnt()
113 if (saved->mnt_fstype != NULL) in copy_xmnt()
114 saved->mnt_fstype = strdup(saved->mnt_fstype); in copy_xmnt()
224 if (strcmp(saved.mnt_fstype, "lofs") != 0 || in pkgfindrealsadmdir()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c1298 free(tabp->mnt_fstype); in mnttab_destroy()
1327 if (srcp->mnt_fstype != NULL) { in mnttab_dup()
1328 retval->mnt_fstype = strdup(srcp->mnt_fstype); in mnttab_dup()
1329 if (retval->mnt_fstype == NULL) in mnttab_dup()
1443 if (strcmp(mountp->mnt_fstype, MNTTYPE_ZFS) == 0 && in zone_mounts_cb()
1586 if (mount(mtab->mnt_special, zoneroot, flags, mtab->mnt_fstype, NULL, 0, in zone_mount_rootfs()
/illumos-gate/usr/src/cmd/backup/dump/
H A Ddumpusg.h61 #define mnt_type mnt_fstype
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c235 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && in main()
305 strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && in preen()
334 } else if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 || in preen()
723 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 || in quotactl()
/illumos-gate/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c202 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) in quotall()
254 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) in check()
492 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) { in getdev()
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c268 if (strcmp(mnt.mnt_fstype, MNTTYPE_ZFS) == 0) { in showquotas()
272 } else if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) == 0) { in showquotas()
278 } else if (strcmp(mnt.mnt_fstype, MNTTYPE_NFS) == 0) { in showquotas()
688 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) != 0 || in quotactl()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c465 (void) strlcpy(root->gr_fstyp, mp.mnt_fstype, sizeof (root->gr_fstyp)); in grub_current_root()
492 } else if (strcmp(mp.mnt_fstype, MNTTYPE_UFS) == 0) { in grub_current_root()
536 mpref.mnt_fstype = fstyp; in grub_fsd_get_mountp()
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c430 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 || in quotactl()
558 if (strcmp(m.mnt_fstype, MNTTYPE_ZFS) == 0) { in setupfs()
563 if (strcmp(m.mnt_fstype, MNTTYPE_UFS) != 0) in setupfs()
/illumos-gate/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c208 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && in main()
455 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 || in quotactl()
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c241 if (strcmp(mntp->mnt_fstype, MNTTYPE_AUTOFS) != 0) { in main()
498 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS) != 0) in do_unmounts()
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c136 mntent.mnt_fstype != NULL && in in_mnttab()
137 strcmp(mntent.mnt_fstype, MNTTYPE_UFS) == 0) { in in_mnttab()
231 mnt.mnt_fstype = fstype; in main()

123