Home
last modified time | relevance | path

Searched refs:vfs_mntopts (Results 1 – 18 of 18) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Dvfstab.h46 (vp)->vfs_mntopts = NULL)
56 (vp)->vfs_mntopts ? (vp)->vfs_mntopts : "-")
65 char *vfs_mntopts; member
H A Dvfs.h229 mntopts_t vfs_mntopts; /* options mounted with */ member
592 extern const mntopts_t vfs_mntopts; /* globally recognized options */
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_mount_defaults.c294 vp->vfs_mntopts = (char *)strtok_r( in fs_edit_mount_defaults()
418 vp->vfs_mntopts = (char *)strtok_r( in fs_del_mount_default_ent()
571 if (vfstab_entry.vfs_mntopts != NULL) { in create_mntdefaults_entry()
572 newp->mntopts = strdup(vfstab_entry.vfs_mntopts); in create_mntdefaults_entry()
679 search_entry->vfs_mntopts = strdup(filter->mntopts); in create_vfstab_filter()
680 if (search_entry->vfs_mntopts == NULL) { in create_vfstab_filter()
701 free(vfstab_entry->vfs_mntopts); in free_vfstab_entry()
756 (vfstab_ent->vfs_mntopts ? in create_vfstab_entry_line()
757 (strlen(vfstab_ent->vfs_mntopts) +1) : 2)); in create_vfstab_entry_line()
767 vfstab_ent->vfs_mntopts ? vfstab_ent->vfs_mntopts : "-"); in create_vfstab_entry_line()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dgetvfsent.c124 DIFF(vfs_mntopts))) in getvfsany()
163 DIFF(vfs_mntopts))) in getvfsany()
189 GETTOK_R(vfs_mntopts, NULL, &tmp); in getvfsent()
/titanic_41/usr/src/cmd/fs.d/udfs/fsck/
H A Dmain.c396 if (vfs->vfs_mntopts == NULL) in hasvfsopt()
403 (void) strncpy(tmpopts, vfs->vfs_mntopts, (sizeof (tmpopts) - 1)); in hasvfsopt()
408 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/cmd/fs.d/ufs/quotaon/
H A Dquotaon.c171 (vfsbuf.vfs_mntopts == 0) || in main()
339 strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt()
344 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/cmd/fs.d/
H A Dfsck.c179 if (vfsave.vfs_mntopts != NULL) { in vfdup()
180 free(vfsave.vfs_mntopts); in vfdup()
181 vfsave.vfs_mntopts = NULL; in vfdup()
183 if ((vp->vfs_mntopts != NULL) && in vfdup()
184 ((vfsave.vfs_mntopts = strdup(vp->vfs_mntopts)) == NULL)) { in vfdup()
H A Dmount.c481 if (oflg == 0 && vget.vfs_mntopts) { in main()
483 specific_opts = vget.vfs_mntopts; in main()
1281 if (!oflg && vp->v.vfs_mntopts) { in do_mounts()
1283 newargv[i++] = vp->v.vfs_mntopts; in do_mounts()
1515 if ((new->v.vfs_mntopts = strdup(specific_opts)) == NULL) in new_vfsent()
1517 } else if (vin->vfs_mntopts && in new_vfsent()
1518 (new->v.vfs_mntopts = strdup(vin->vfs_mntopts)) == NULL) in new_vfsent()
/titanic_41/usr/src/cmd/fs.d/ufs/repquota/
H A Drepquota.c174 (vfsbuf.vfs_mntopts == 0) || in main()
499 (void) strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt()
504 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c248 size = vfs.vfs_mntopts.mo_count * sizeof (mntopt_t); in fsinfo()
252 (uintptr_t)vfs.vfs_mntopts.mo_list) == -1) { in fsinfo()
253 mdb_warn("failed to read mntopts %p", vfs.vfs_mntopts.mo_list); in fsinfo()
257 for (i = 0; i < vfs.vfs_mntopts.mo_count; i++) { in fsinfo()
/titanic_41/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c199 (vfsbuf.vfs_mntopts == 0) || in main()
781 strcpy(tmpopts, vfs->vfs_mntopts); in hasvfsopt()
786 return (f - tmpopts + vfs->vfs_mntopts); in hasvfsopt()
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c805 if (vfs->vfs_mntopts == NULL) in hasvfsopt()
807 mtab.mnt_mntopts = vfs->vfs_mntopts; in hasvfsopt()
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsd/
H A Dcfsd_subr.c383 vpref.vfs_mntopts = NULL; in subr_cache_setup()
387 cp = strstr(vinfo.vfs_mntopts, "cachedir="); in subr_cache_setup()
/titanic_41/usr/src/uts/common/fs/
H A Dvfs.c215 const mntopts_t vfs_mntopts = { variable
1687 vfs_swapopttbl(&mnt_mntopts, &vfsp->vfs_mntopts); in domount()
1715 vfs_swapopttbl(&mnt_mntopts, &vfsp->vfs_mntopts); in domount()
1801 &vfsp->vfs_mntopts, inargs, optlen); in domount()
2383 vfs_clearmntopt_nolock(&vfsp->vfs_mntopts, opt, gotlock); in vfs_clearmntopt()
2469 vfs_setmntopt_nolock(&vfsp->vfs_mntopts, opt, arg, flags, gotlock); in vfs_setmntopt()
2542 mops = &vfsp->vfs_mntopts; in vfs_settag()
2604 if ((mop = vfs_hasopt(&vfsp->vfs_mntopts, tag)) == NULL) { in vfs_clrtag()
2612 vfs_clearmntopt_nolock(&vfsp->vfs_mntopts, tag, 1); in vfs_clrtag()
2732 ret = vfs_optionisset_nolock(&vfsp->vfs_mntopts, opt, argp); in vfs_optionisset()
[all …]
/titanic_41/usr/src/cmd/backup/dump/
H A Ddumpfstab.c126 mnt->mnt_opts = mntstrdup(vfs.vfs_mntopts);
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c769 if (is_remote && hasopt(vfsent->vfs_mntopts, MNTOPT_RO)) in mod_existing()
839 if (is_remote && hasopt(vfsent->vfs_mntopts, MNTOPT_RO)) in construct_vfs()
/titanic_41/usr/src/uts/common/fs/mntfs/
H A Dmntvnops.c165 for (i = 0; i < vfsp->vfs_mntopts.mo_count; i++) { in mntfs_optsize()
166 mop = &vfsp->vfs_mntopts.mo_list[i]; in mntfs_optsize()
207 for (i = 0; i < vfsp->vfs_mntopts.mo_count; i++) { in mntfs_optprint()
208 mop = &vfsp->vfs_mntopts.mo_list[i]; in mntfs_optprint()
/titanic_41/usr/src/uts/common/os/
H A Dmodconf.c997 vfs_mergeopttbl(&vfs_mntopts, modl->fs_vfsdef->optproto, in mod_installfs()
1000 vfs_copyopttbl(&vfs_mntopts, &vswp->vsw_optproto); in mod_installfs()