Home
last modified time | relevance | path

Searched refs:mnt_mntopts (Results 1 – 25 of 41) sorted by relevance

12

/titanic_50/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c251 mnt.mnt_mntopts = opts; in main()
252 if (findopt(mnt.mnt_mntopts, "m")) in main()
254 if ((gflg || findopt(mnt.mnt_mntopts, MNTOPT_GLOBAL)) && in main()
255 findopt(mnt.mnt_mntopts, MNTOPT_NBMAND)) { in main()
265 if (findopt(mnt.mnt_mntopts, MNTOPT_RQ)) { in main()
425 (void) strcpy(opts, mnt->mnt_mntopts); in mountfs()
525 replace_opts(mnt->mnt_mntopts, 1, MNTOPT_RW, MNTOPT_RO); in mountfs()
534 if (gflg || findopt(mnt->mnt_mntopts, MNTOPT_GLOBAL)) { in mountfs()
536 if (mnt->mnt_mntopts != '\0') in mountfs()
537 (void) strcat(mnt->mnt_mntopts, ","); in mountfs()
[all …]
/titanic_50/usr/src/lib/libinstzones/common/
H A Dzones_lofs.c95 if (ent.mnt_mntopts != NULL) in z_createMountTable()
96 entp->mnt_mntopts = _z_strdup(ent.mnt_mntopts); in z_createMountTable()
199 free(mountTable[i].mnt_mntopts); in z_destroyMountTable()
268 if (mnp->mnt_mntopts != NULL && in z_resolve_lofs()
269 (cp = strstr(mnp->mnt_mntopts, MNTOPT_RO)) != in z_resolve_lofs()
271 (cp == mnp->mnt_mntopts || cp[-1] == ',') && in z_resolve_lofs()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dgetmntent.c133 DIFF(mnt_mntopts) || in getmntany_compat()
176 if (mrefp->mnt_mntopts) { in getmntany()
177 mgetp->mnt_mntopts = copyp; in getmntany()
178 copyp += snprintf(mgetp->mnt_mntopts, in getmntany()
179 bufp + MNT_LINE_MAX - copyp, "%s", mrefp->mnt_mntopts) + 1; in getmntany()
313 if (mnt->mnt_mntopts == NULL) in hasmntopt()
315 (void) strcpy(opts, mnt->mnt_mntopts); in hasmntopt()
326 return (f - tmpopts + mnt->mnt_mntopts); in hasmntopt()
381 GETTOK_R(mnt_mntopts, NULL, &tmp); in getmntent_compat()
/titanic_50/usr/src/uts/common/sys/
H A Dmnttab.h50 (mp)->mnt_fstype = (mp)->mnt_mntopts = \
67 char *mnt_mntopts; member
75 char *mnt_mntopts; member
/titanic_50/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c112 if (mnt->mnt_mntopts) in tsol_mnt_free()
113 free(mnt->mnt_mntopts); in tsol_mnt_free()
147 new->mnt_mntopts = NULL; in mntdup()
164 new->mnt_mntopts = strdup(mnt->mnt_mntopts); in mntdup()
165 if (new->mnt_mntopts == NULL) { in mntdup()
274 (void) strncpy(mntopts, mnt->mnt_mntopts, MAXPATHLEN); in getnfspathbyautofs()
315 if (strstr(mnt->mnt_mntopts, ZONE_OPT) != NULL) in getnfspathbyautofs()
/titanic_50/usr/src/cmd/fs.d/
H A Dfslib.c108 if (mnt->mnt_mntopts != NULL) in fsdupmnttab()
109 if ((new->mnt_mntopts = strdup(mnt->mnt_mntopts)) == NULL) in fsdupmnttab()
140 if (mnt->mnt_mntopts) in fsfreemnttab()
141 free(mnt->mnt_mntopts); in fsfreemnttab()
H A Dmount.c613 if (ignore(mget.mnt_mntopts)) in print_mnttab()
620 elide_dev(mget.mnt_mntopts); in print_mnttab()
625 mget.mnt_mntopts != NULL ? in print_mnttab()
626 mget.mnt_mntopts : "-"); in print_mnttab()
633 flags(mget.mnt_mntopts, NEW), in print_mnttab()
640 flags(mget.mnt_mntopts, OLD), in print_mnttab()
/titanic_50/usr/src/cmd/rexd/
H A Dmntent.c121 mnt->mnt_mntopts = mntstr(&cp); in mnttabscan()
236 mnt->mnt_mntopts, in mntprtent()
H A Dmount_nfs.c400 mnt.mnt_mntopts = opts; in mount_nfs()
503 if (mnt->mnt_mntopts != NULL) in dupmnttab()
504 if ((new->mnt_mntopts = strdup(mnt->mnt_mntopts)) == NULL) in dupmnttab()
534 if (mnt->mnt_mntopts) in freemnttab()
535 free(mnt->mnt_mntopts); in freemnttab()
/titanic_50/usr/src/cmd/zoneadm/
H A Dzfs.c1291 free(tabp->mnt_mntopts); in mnttab_destroy()
1324 retval->mnt_mntopts = (char *)malloc(MAX_MNTOPT_STR * sizeof (char)); in mnttab_dup()
1325 if (retval->mnt_mntopts == NULL) in mnttab_dup()
1327 if (srcp->mnt_mntopts != NULL) { in mnttab_dup()
1328 if (strlcpy(retval->mnt_mntopts, srcp->mnt_mntopts, in mnttab_dup()
1336 retval->mnt_mntopts[0] = '\0'; in mnttab_dup()
1555 if (zfs_mount(zhp, mtab->mnt_mntopts, 0) != 0) { in zone_mount_rootfs()
1574 if (mtab->mnt_mntopts != NULL) in zone_mount_rootfs()
1579 mtab->mnt_mntopts, MAX_MNTOPT_STR * sizeof (char)) != 0) { in zone_mount_rootfs()
/titanic_50/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c367 m.mnt_mntopts = opts;
488 m.mnt_mntopts = ur->mntopts;
629 mtmap.mnt_mntopts = *mapentopts; in inherit_options()
630 mtopt.mnt_mntopts = opts; in inherit_options()
650 mt.mnt_mntopts = opts; in hasrestrictopt()
/titanic_50/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c570 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_mntlist_entry()
630 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_extmntlist_entry()
705 search_entry->mnt_mntopts = strdup(mntopts); in create_mnttab_filter()
706 if (search_entry->mnt_mntopts == NULL) { in create_mnttab_filter()
837 free(mnttab_entry->mnt_mntopts); in free_mnttab_entry()
/titanic_50/usr/src/cmd/fs.d/ufs/df/
H A Ddf.c995 if (mnt->mnt_mntopts != NULL) { in mntdup()
996 new->mnt_mntopts = in mntdup()
997 (char *)xmalloc((unsigned)(strlen(mnt->mnt_mntopts) + 1)); in mntdup()
998 (void) strcpy(new->mnt_mntopts, mnt->mnt_mntopts); in mntdup()
1000 new->mnt_mntopts = NULL; in mntdup()
/titanic_50/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c289 tabp->mnt_mntopts = (char *)(cp - elemp->mnte_text); in mntfs_populate_text()
1369 uint32_t mnt_mntopts; member
1379 uint32_t mnt_mntopts; member
1431 STRUCT_FSETP(ktab, mnt_mntopts, in mntfs_copyout_elem()
1432 MNTFS_REAL_FIELD(dbbufp + (off_t)dbtabp->mnt_mntopts) ? in mntfs_copyout_elem()
1433 ubufp + (off_t)dbtabp->mnt_mntopts : NULL); in mntfs_copyout_elem()
1456 *(kbufp + (off_t)dbtabp->mnt_mntopts - 1) = in mntfs_copyout_elem()
1675 preftab.mnt_mntopts = mntfs_import_addr(STRUCT_FGETP(ktab, in mntioctl()
1676 mnt_mntopts), ubufp, prefbuf, MNT_LINE_MAX); in mntioctl()
1736 (!preftab.mnt_mntopts || mntfs_same_word( in mntioctl()
[all …]
H A Dmntvfsops.c59 static mntopts_t mnt_mntopts = { variable
69 &mnt_mntopts
/titanic_50/usr/src/cmd/backup/dump/
H A Ddumpusg.h64 #define mnt_opts mnt_mntopts
/titanic_50/usr/src/uts/common/fs/
H A Dvfs.c1154 mntopts_t mnt_mntopts; in domount() local
1185 mnt_mntopts.mo_count = 0; in domount()
1263 vfs_copyopttbl(&vswp->vsw_optproto, &mnt_mntopts); in domount()
1286 vfs_parsemntopts(&mnt_mntopts, inargs, 0); in domount()
1292 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_REMOUNT, NULL, 0, 0); in domount()
1294 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_RO, NULL, 0, 0); in domount()
1296 vfs_setmntopt_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL, 0, 0); in domount()
1302 if (remount = vfs_optionisset_nolock(&mnt_mntopts, in domount()
1314 if (rdonly = vfs_optionisset_nolock(&mnt_mntopts, MNTOPT_RO, NULL)) { in domount()
1317 if (vfs_optionisset_nolock(&mnt_mntopts, MNTOPT_NOSUID, NULL)) { in domount()
[all …]
/titanic_50/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c255 mnt.mnt_mntopts = optbuf; in main()
271 (void) strcpy(mnt.mnt_mntopts, optarg); in main()
418 if (p = strstr(mntp->mnt_mntopts, "rw")) { in mount_nfs()
767 saveopts = strdup(mntp->mnt_mntopts); in mount_nfs()
776 sizeof (*args), mntp->mnt_mntopts, MAX_MNTOPT_STR) < 0) { in mount_nfs()
795 cmp_requested_to_actual_options(saveopts, mntp->mnt_mntopts, in mount_nfs()
989 optstr = opts = strdup(mnt->mnt_mntopts); in set_args()
991 optlen = strlen(mnt->mnt_mntopts) + sizeof (MNTOPT_XATTR) + 1; in set_args()
1230 strcpy(mnt->mnt_mntopts, newopts); in set_args()
/titanic_50/usr/src/cmd/stat/common/
H A Dmnt.c153 safe_strdup(mnt.mnt_mntopts); in build_mnt_list()
/titanic_50/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c126 m.mnt_mntopts = optbuf; in main()
/titanic_50/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c224 mnt.mnt_mntopts = optbuf; in main()
387 mnt.mnt_mntopts, MAX_MNTOPT_STR); in main()
/titanic_50/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c298 if (hasopt(MNTOPT_NOQUOTA, mnt.mnt_mntopts)) in showquotas()
306 if (hasopt(MNTOPT_PUBLIC, mnt.mnt_mntopts)) in showquotas()
689 hasopt(MNTOPT_RO, mnt.mnt_mntopts)) in quotactl()
/titanic_50/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c196 inform_server(mntp->mnt_special, mntp->mnt_mntopts, quick); in nfs_unmount()
/titanic_50/usr/src/cmd/oamuser/user/
H A Dhomedir.c316 search.mnt_special = search.mnt_mntopts = search.mnt_time = NULL; in get_mnt_special()
/titanic_50/usr/src/cmd/avs/rdc/
H A Dsndrsubr.c85 mntref.mnt_mntopts = NULL; in mounted()

12