Lines Matching refs:mops
2020 vfs_createopttbl_extend(mntopts_t *mops, const char *opts, in vfs_createopttbl_extend() argument
2039 vfs_copyopttbl_extend(mtmpl, mops, count); in vfs_createopttbl_extend()
2052 vfs_createopttbl(mntopts_t *mops, const char *opts) in vfs_createopttbl() argument
2054 vfs_createopttbl_extend(mops, opts, NULL); in vfs_createopttbl()
2324 vfs_clearmntopt_nolock(mntopts_t *mops, const char *opt, int update_mnttab) in vfs_clearmntopt_nolock() argument
2331 count = mops->mo_count; in vfs_clearmntopt_nolock()
2333 mop = &mops->mo_list[i]; in vfs_clearmntopt_nolock()
2377 vfs_setmntopt_nolock(mntopts_t *mops, const char *opt, in vfs_setmntopt_nolock() argument
2387 if (vfs_hasopt(mops, opt) != NULL) { in vfs_setmntopt_nolock()
2391 count = mops->mo_count; in vfs_setmntopt_nolock()
2393 mop = &mops->mo_list[i]; in vfs_setmntopt_nolock()
2428 vfs_clearmntopt_nolock(mops, *cp, 0); in vfs_setmntopt_nolock()
2458 vfs_addtag(mntopts_t *mops, const char *tag) in vfs_addtag() argument
2463 count = mops->mo_count + 1; in vfs_addtag()
2465 if (mops->mo_count) { in vfs_addtag()
2468 bcopy(mops->mo_list, motbl, len); in vfs_addtag()
2469 kmem_free(mops->mo_list, len); in vfs_addtag()
2471 mops->mo_count = count; in vfs_addtag()
2472 mops->mo_list = motbl; in vfs_addtag()
2489 mntopts_t *mops; in vfs_settag() local
2518 mops = &vfsp->vfs_mntopts; in vfs_settag()
2522 if ((mop = vfs_hasopt(mops, tag)) == NULL) { in vfs_settag()
2525 (void) vfs_buildoptionstr(mops, buf, MAX_MNTOPT_STR); in vfs_settag()
2531 mop = vfs_addtag(mops, tag); in vfs_settag()
2537 vfs_setmntopt_nolock(mops, tag, NULL, 0, 1); in vfs_settag()
2607 vfs_parsemntopts(mntopts_t *mops, char *osp, int create) in vfs_parsemntopts() argument
2637 vfs_setmntopt_nolock(mops, s, valp, setflg, 0); in vfs_parsemntopts()
2656 vfs_hasopt(const mntopts_t *mops, const char *opt) in vfs_hasopt() argument
2661 count = mops->mo_count; in vfs_hasopt()
2663 mop = &mops->mo_list[i]; in vfs_hasopt()
2679 vfs_optionisset_nolock(const mntopts_t *mops, const char *opt, char **argp) in vfs_optionisset_nolock() argument
2684 count = mops->mo_count; in vfs_optionisset_nolock()
2686 mop = &mops->mo_list[i]; in vfs_optionisset_nolock()