Lines Matching refs:subdir

56 	struct _hiernode *subdir;
106 * char *subdir, uint_t isdirect, bool_t mount_access)
112 * in the hierarchy the current request is (uses subdir). Deals with special
118 char *subdir, uint_t isdirect, bool_t mount_access)
196 if (modify_mapents(&mapents, mapname, mapopts, subdir,
457 currnode = (*rootnode)->subdir;
467 currnode = currnode->subdir;
483 currnode = newnode->subdir;
494 prevnode->subdir = newnode;
496 currnode = newnode->subdir;
551 if (node->subdir != NULL) {
555 if ((rc = push_options(node->subdir, defaultopts,
750 * char *mapopts, char *subdir, hiernode *rootnode,
756 * mounts. Entries that are not directly 1 level below the subdir are removed.
761 char *mapopts, char *subdir, hiernode *rootnode,
774 * at one level below the rootnode given by subdir.
776 if ((rc = set_and_fake_mapent_mntlevel(rootnode, subdir, key, mapname,
837 strcpy(w, (me->map_mntpnt+strlen(subdir)));
850 * set_and_fake_mapent_mntlevel(hiernode *rootnode, char *subdir, char *key,
853 * sets the mapentry mount levels (depths) with respect to the subdir.
858 * and the direct subdir set for the root, if there's no mapentry corresponding
862 set_and_fake_mapent_mntlevel(hiernode *rootnode, char *subdir, char *key,
869 char *subdir_child = subdir;
871 hiernode *currnode = rootnode->subdir;
876 * find and mark the root by tracing down subdir. Use traversed_path
888 currnode = rootnode->subdir;
892 /* subdir is a child of currnode */
894 currnode = currnode->subdir;
913 "set_and_fake_mapent_mntlevel: subdir=%s error: map=%s",
914 subdir, mapname);
970 * marks nodes upto one level below the rootnode given by subdir
988 if (node->subdir != NULL) {
991 if (mark_level1_root(node->subdir, w)
1032 * upto one physical level below the rootnode given by subdir. checks if
1328 char dirname[MAXPATHLEN+1], subdir[MAXPATHLEN+1];
1375 * of "subdir mounts" produced some useful code for handling
1379 *subdir = '/';
1381 *subdir = ':';
1387 * "subdir mounts". The idea was to "economize" the
1407 * colon, i.e. once the common subdir was mounted, then
1419 if (getword(subdir+1, qbuff+1, &wlp, &wlq, ':',
1420 sizeof (subdir)) == -1)
1423 if (*(subdir+1))
1424 (void) strcat(dirname, subdir);
1673 if (currnode->subdir != NULL)
1674 free_hiernode(currnode->subdir);
1778 if (currnode->subdir != NULL) {
1792 trace_hierarchy(currnode->subdir, nodelevel);