Lines Matching refs:mops
2044 vfs_createopttbl_extend(mntopts_t *mops, const char *opts, in vfs_createopttbl_extend() argument
2063 vfs_copyopttbl_extend(mtmpl, mops, count); in vfs_createopttbl_extend()
2076 vfs_createopttbl(mntopts_t *mops, const char *opts) in vfs_createopttbl() argument
2078 vfs_createopttbl_extend(mops, opts, NULL); in vfs_createopttbl()
2348 vfs_clearmntopt_nolock(mntopts_t *mops, const char *opt, int update_mnttab) in vfs_clearmntopt_nolock() argument
2355 count = mops->mo_count; in vfs_clearmntopt_nolock()
2357 mop = &mops->mo_list[i]; in vfs_clearmntopt_nolock()
2401 vfs_setmntopt_nolock(mntopts_t *mops, const char *opt, in vfs_setmntopt_nolock() argument
2411 if (vfs_hasopt(mops, opt) != NULL) { in vfs_setmntopt_nolock()
2415 count = mops->mo_count; in vfs_setmntopt_nolock()
2417 mop = &mops->mo_list[i]; in vfs_setmntopt_nolock()
2452 vfs_clearmntopt_nolock(mops, *cp, 0); in vfs_setmntopt_nolock()
2482 vfs_addtag(mntopts_t *mops, const char *tag) in vfs_addtag() argument
2487 count = mops->mo_count + 1; in vfs_addtag()
2489 if (mops->mo_count) { in vfs_addtag()
2492 bcopy(mops->mo_list, motbl, len); in vfs_addtag()
2493 kmem_free(mops->mo_list, len); in vfs_addtag()
2495 mops->mo_count = count; in vfs_addtag()
2496 mops->mo_list = motbl; in vfs_addtag()
2513 mntopts_t *mops; in vfs_settag() local
2542 mops = &vfsp->vfs_mntopts; in vfs_settag()
2546 if ((mop = vfs_hasopt(mops, tag)) == NULL) { in vfs_settag()
2549 (void) vfs_buildoptionstr(mops, buf, MAX_MNTOPT_STR); in vfs_settag()
2555 mop = vfs_addtag(mops, tag); in vfs_settag()
2561 vfs_setmntopt_nolock(mops, tag, NULL, 0, 1); in vfs_settag()
2631 vfs_parsemntopts(mntopts_t *mops, char *osp, int create) in vfs_parsemntopts() argument
2661 vfs_setmntopt_nolock(mops, s, valp, setflg, 0); in vfs_parsemntopts()
2680 vfs_hasopt(const mntopts_t *mops, const char *opt) in vfs_hasopt() argument
2685 count = mops->mo_count; in vfs_hasopt()
2687 mop = &mops->mo_list[i]; in vfs_hasopt()
2703 vfs_optionisset_nolock(const mntopts_t *mops, const char *opt, char **argp) in vfs_optionisset_nolock() argument
2708 count = mops->mo_count; in vfs_optionisset_nolock()
2710 mop = &mops->mo_list[i]; in vfs_optionisset_nolock()