Home
last modified time | relevance | path

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

123

/titanic_50/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c110 if (mnt->mnt_fstype) in tsol_mnt_free()
111 free(mnt->mnt_fstype); in tsol_mnt_free()
146 new->mnt_fstype = NULL; in mntdup()
159 new->mnt_fstype = strdup(mnt->mnt_fstype); in mntdup()
160 if (new->mnt_fstype == NULL) { in mntdup()
270 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS)) in getnfspathbyautofs()
313 if (strcmp(mnt->mnt_fstype, MNTTYPE_AUTOFS)) in getnfspathbyautofs()
393 if ((strcmp(mountmatch->mnt_fstype, MNTTYPE_NFS) == 0) || in getglobalpath()
394 (strcmp(mountmatch->mnt_fstype, MNTTYPE_AUTOFS) == 0)) { in getglobalpath()
398 if (strcmp(mountmatch->mnt_fstype, in getglobalpath()
[all …]
/titanic_50/usr/src/cmd/fs.d/
H A Dumount.c341 if ((ment->mnt_fstype != NULL) || Vflg) { in doexec()
347 if (strlen(ment->mnt_fstype) > (size_t)FSTYPE_MAX) { in doexec()
350 myname, ment->mnt_fstype, FSTYPE_MAX); in doexec()
355 sprintf(full_path, "%s/%s/%s", fs_path, ment->mnt_fstype, in doexec()
357 sprintf(alter_path, "%s/%s/%s", alt_path, ment->mnt_fstype, in doexec()
422 myname, ment->mnt_fstype ? ment->mnt_fstype : "<null>"); in doexec()
675 if (mp->ment.mnt_fstype && in make_mntarray()
676 (strcmp(mp->ment.mnt_fstype, MNTTYPE_LOFS) == 0)) in make_mntarray()
717 if (mp->ment.mnt_fstype && in make_mntarray()
718 (strcmp(mp->ment.mnt_fstype, MNTTYPE_LOFS) == 0)) in make_mntarray()
[all …]
H A Dfslib.c105 if ((new->mnt_fstype = strdup(mnt->mnt_fstype)) == NULL) in fsdupmnttab()
138 if (mnt->mnt_fstype) in fsfreemnttab()
139 free(mnt->mnt_fstype); in fsfreemnttab()
H A Ddf.c173 #define DFR_FSTYPE(dfrp) (dfrp)->dfr_mte->mte_mount->mnt_fstype
487 new->mnt_fstype = new_string(old->mnt_fstype); in mntdup()
726 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP)) in devid_matches()
794 if (!EQ(entryp->mnt_fstype, MNTTYPE_LOFS)) in path_mount_entry()
843 if (!EQ(match->mte_mount->mnt_fstype, in path_mount_entry()
1769 if (EQ(mtp->mnt_fstype, MNTTYPE_SWAP)) in create_request_list()
1779 dfrp->dfr_fstype = mtp->mnt_fstype; in create_request_list()
1856 dfrp->dfr_mte->mte_mount->mnt_fstype; in create_request_list()
H A Dmount.c616 mget.mnt_fstype && mget.mnt_time) { in print_mnttab()
624 mget.mnt_fstype, in print_mnttab()
631 mget.mnt_fstype, in print_mnttab()
632 remote(mget.mnt_fstype, rfp), in print_mnttab()
639 remote(mget.mnt_fstype, rfp), in print_mnttab()
/titanic_50/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
/titanic_50/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()
/titanic_50/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()
380 GETTOK_R(mnt_fstype, NULL, &tmp); in getmntent_compat()
/titanic_50/usr/src/cmd/rexd/
H A Dmntent.c118 mnt->mnt_fstype = mntstr(&cp); in mnttabscan()
235 mnt->mnt_fstype, in mntprtent()
H A Dmount_nfs.c399 mnt.mnt_fstype = MNTTYPE_NFS; in mount_nfs()
500 new->mnt_fstype = strdup(mnt->mnt_fstype); in dupmnttab()
501 if (new->mnt_fstype == NULL) in dupmnttab()
532 if (mnt->mnt_fstype) in freemnttab()
533 free(mnt->mnt_fstype); in freemnttab()
/titanic_50/usr/src/cmd/stat/common/
H A Dmnt.c139 if (strcmp(mnt.mnt_fstype, MNTTYPE_UFS) == 0) in build_mnt_list()
141 else if (strcmp(mnt.mnt_fstype, in build_mnt_list()
/titanic_50/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()
/titanic_50/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c59 mntent.mnt_fstype != NULL && in in_mnttab()
60 strcmp(mntent.mnt_fstype, MNTTYPE_TMPFS) == 0) { in in_mnttab()
/titanic_50/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c562 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_mntlist_entry()
622 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_extmntlist_entry()
694 search_entry->mnt_fstype = strdup(fstype); in create_mnttab_filter()
695 if (search_entry->mnt_fstype == NULL) { in create_mnttab_filter()
836 free(mnttab_entry->mnt_fstype); in free_mnttab_entry()
/titanic_50/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()
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 …]
/titanic_50/usr/src/lib/libpkg/common/
H A Dpkgserv.c90 free(xmnt->mnt_fstype); in free_xmnt()
109 if (saved->mnt_fstype != NULL) in copy_xmnt()
110 saved->mnt_fstype = strdup(saved->mnt_fstype); in copy_xmnt()
220 if (strcmp(saved.mnt_fstype, "lofs") != 0 || in pkgfindrealsadmdir()
/titanic_50/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()
/titanic_50/usr/src/cmd/zoneadm/
H A Dzfs.c1290 free(tabp->mnt_fstype); in mnttab_destroy()
1319 if (srcp->mnt_fstype != NULL) { in mnttab_dup()
1320 retval->mnt_fstype = strdup(srcp->mnt_fstype); in mnttab_dup()
1321 if (retval->mnt_fstype == NULL) in mnttab_dup()
1435 if (strcmp(mountp->mnt_fstype, MNTTYPE_ZFS) == 0 && in zone_mounts_cb()
1578 if (mount(mtab->mnt_special, zoneroot, flags, mtab->mnt_fstype, NULL, 0, in zone_mount_rootfs()
/titanic_50/usr/src/cmd/backup/dump/
H A Ddumpusg.h63 #define mnt_type mnt_fstype
/titanic_50/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c204 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) in quotall()
256 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) in check()
494 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0) { in getdev()
/titanic_50/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c237 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && in main()
307 strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && in preen()
336 } else if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 || in preen()
725 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 || in quotactl()
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c434 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 ||
562 if (strcmp(m.mnt_fstype, MNTTYPE_ZFS) == 0) { in setupfs()
567 if (strcmp(m.mnt_fstype, MNTTYPE_UFS) != 0) in setupfs()
/titanic_50/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c210 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) == 0 && in main()
457 if (strcmp(mntp.mnt_fstype, MNTTYPE_UFS) != 0 || in quotactl()

123