/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 107 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 D | umount.c | 343 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() 357 sprintf(full_path, "%s/%s/%s", fs_path, ment->mnt_fstype, in doexec() 359 sprintf(alter_path, "%s/%s/%s", alt_path, ment->mnt_fstype, 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() 689 (strcmp(mp->ment.mnt_fstype, MNTTYPE_LOFS) == 0)) in make_mntarray() 730 if (mp->ment.mnt_fstype && in make_mntarray() [all …]
|
H A D | fslib.c | 103 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 D | df.c | 174 #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 D | mount.c | 614 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 D | zones_lofs.c | 98 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 D | mnttab.h | 50 (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 D | getmntent.c | 132 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 D | df.c | 268 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 D | mnt.c | 137 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 D | mount.c | 58 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 D | fs_mounts.c | 560 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 D | mntvnops.c | 285 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() 1429 MNTFS_REAL_FIELD(dbbufp + (off_t)dbtabp->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() [all …]
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_config.c | 72 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 D | pkgserv.c | 94 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 D | zfs.c | 1298 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/fs.d/ufs/quotacheck/ |
H A D | quotacheck.c | 235 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 D | quot.c | 202 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/backup/dump/ |
H A D | dumpusg.h | 61 #define mnt_type mnt_fstype
|
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/ |
H A D | quota.c | 268 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 D | libgrub_fs.c | 465 (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 D | rpc.rquotad.c | 430 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 D | repquota.c | 208 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 D | automount.c | 241 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 D | mount.c | 136 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()
|