Lines Matching defs:tag
2421 * Add a "tag" option to a mounted file system's options list.
2427 vfs_addtag(mntopts_t *mops, const char *tag)
2444 mop->mo_name = kmem_alloc(strlen(tag) + 1, KM_SLEEP);
2445 (void) strcpy(mop->mo_name, tag);
2454 vfs_settag(uint_t major, uint_t minor, const char *mntpt, const char *tag,
2489 * Add tag if it doesn't already exist
2491 if ((mop = vfs_hasopt(mops, tag)) == NULL) {
2496 if (len + strlen(tag) + 2 > MAX_MNTOPT_STR) {
2500 mop = vfs_addtag(mops, tag);
2506 vfs_setmntopt_nolock(mops, tag, NULL, 0, 1);
2518 vfs_clrtag(uint_t major, uint_t minor, const char *mntpt, const char *tag,
2549 if ((mop = vfs_hasopt(&vfsp->vfs_mntopts, tag)) == NULL) {
2557 vfs_clearmntopt_nolock(&vfsp->vfs_mntopts, tag, 1);