Lines Matching defs:subdir

57 	struct _hiernode *subdir;
107 * char *subdir, uint_t isdirect, bool_t mount_access)
113 * in the hierarchy the current request is (uses subdir). Deals with special
119 char *subdir, uint_t isdirect, bool_t mount_access)
197 if (modify_mapents(&mapents, mapname, mapopts, subdir,
458 currnode = (*rootnode)->subdir;
468 currnode = currnode->subdir;
484 currnode = newnode->subdir;
495 prevnode->subdir = newnode;
497 currnode = newnode->subdir;
552 if (node->subdir != NULL) {
556 if ((rc = push_options(node->subdir, defaultopts,
716 * char *mapopts, char *subdir, hiernode *rootnode,
722 * mounts. Entries that are not directly 1 level below the subdir are removed.
727 char *mapopts, char *subdir, hiernode *rootnode,
740 * at one level below the rootnode given by subdir.
742 if ((rc = set_and_fake_mapent_mntlevel(rootnode, subdir, key, mapname,
803 strcpy(w, (me->map_mntpnt+strlen(subdir)));
816 * set_and_fake_mapent_mntlevel(hiernode *rootnode, char *subdir, char *key,
819 * sets the mapentry mount levels (depths) with respect to the subdir.
824 * and the direct subdir set for the root, if there's no mapentry corresponding
828 set_and_fake_mapent_mntlevel(hiernode *rootnode, char *subdir, char *key,
835 char *subdir_child = subdir;
837 hiernode *currnode = rootnode->subdir;
842 * find and mark the root by tracing down subdir. Use traversed_path
854 currnode = rootnode->subdir;
858 /* subdir is a child of currnode */
860 currnode = currnode->subdir;
879 "set_and_fake_mapent_mntlevel: subdir=%s error: map=%s",
880 subdir, mapname);
936 * marks nodes upto one level below the rootnode given by subdir
954 if (node->subdir != NULL) {
957 if (mark_level1_root(node->subdir, w)
998 * upto one physical level below the rootnode given by subdir. checks if
1294 char dirname[MAXPATHLEN+1], subdir[MAXPATHLEN+1];
1341 * of "subdir mounts" produced some useful code for handling
1345 *subdir = '/';
1347 *subdir = ':';
1353 * "subdir mounts". The idea was to "economize" the
1373 * colon, i.e. once the common subdir was mounted, then
1385 if (getword(subdir+1, qbuff+1, &wlp, &wlq, ':',
1386 sizeof (subdir)) == -1)
1389 if (*(subdir+1))
1390 (void) strcat(dirname, subdir);
1639 if (currnode->subdir != NULL)
1640 free_hiernode(currnode->subdir);
1744 if (currnode->subdir != NULL) {
1758 trace_hierarchy(currnode->subdir, nodelevel);