Searched refs:rootfnp (Results 1 – 2 of 2) sorted by relevance
357 fnnode_t *rootfnp = NULL; in auto_mount() local637 rootfnp = auto_makefnnode(VDIR, vfsp, fnip->fi_path, cr, fngp); in auto_mount()638 if (rootfnp == NULL) { in auto_mount()642 rootvp = fntovn(rootfnp); in auto_mount()645 rootfnp->fn_mode = AUTOFS_MODE; in auto_mount()646 rootfnp->fn_parent = rootfnp; in auto_mount()648 rootfnp->fn_linkcnt = rootfnp->fn_size = 1; in auto_mount()657 rootfnp->fn_parent = fngp->fng_rootfnnodep; in auto_mount()658 rootfnp->fn_next = fngp->fng_rootfnnodep->fn_dirents; in auto_mount()659 fngp->fng_rootfnnodep->fn_dirents = rootfnp; in auto_mount()
2059 fnnode_t *fnp, *rootfnp, *nfnp; in unmount_autofs() local2066 rootfnp = vntofn(rootvp); in unmount_autofs()2067 rw_enter(&rootfnp->fn_rwlock, RW_WRITER); in unmount_autofs()2068 for (fnp = rootfnp->fn_dirents; fnp != NULL; fnp = nfnp) { in unmount_autofs()2073 auto_disconnect(rootfnp, fnp); in unmount_autofs()2077 rw_exit(&rootfnp->fn_rwlock); in unmount_autofs()2280 unmount_subtree(fnnode_t *rootfnp, boolean_t force) in unmount_subtree() argument2290 ASSERT(fntovn(rootfnp)->v_type != VLNK); in unmount_subtree()2292 rootfnp->fn_name)); in unmount_subtree()2299 currfnp = lastfnp = rootfnp; in unmount_subtree()[all …]