Lines Matching refs:DirNode
66 typedef struct DirNode DirNode; typedef
67 struct DirNode { struct
68 DirNode *next; /* The next directory in the list */ argument
69 DirNode *prev; /* The node that precedes this node in the list */ argument
75 DirNode *head; /* The head of the list of used and unused cache nodes */
76 DirNode *next; /* The next unused node between head and tail */
77 DirNode *tail; /* The tail of the list of unused cache nodes */
121 static DirNode *ef_open_dir(ExpandFile *ef, const char *pathname);
122 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node);
205 ef->cache.mem = _new_FreeList(sizeof(DirNode), DIR_CACHE_BLK); in new_ExpandFile()
244 DirNode *dnode; in del_ExpandFile()
350 DirNode *dnode; /* A directory-reader cache node */ in ef_expand_file()
565 DirNode *subdnode = ef_open_dir(ef, ef->path->name); in ef_match_relative_pathname()
685 static DirNode *ef_open_dir(ExpandFile *ef, const char *pathname) in ef_open_dir()
688 DirNode *node; /* The cache node used */ in ef_open_dir()
697 node = (DirNode *) _new_FreeListNode(cache->mem); in ef_open_dir()
716 node = (DirNode *) _del_FreeListNode(cache->mem, node); in ef_open_dir()
771 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node) in ef_close_dir()