Lines Matching refs:DirNode
64 typedef struct DirNode DirNode; typedef
65 struct DirNode { struct
66 DirNode *next; /* The next directory in the list */ argument
67 DirNode *prev; /* The node that precedes this node in the list */ argument
73 DirNode *head; /* The head of the list of used and unused cache nodes */
74 DirNode *next; /* The next unused node between head and tail */
75 DirNode *tail; /* The tail of the list of unused cache nodes */
119 static DirNode *ef_open_dir(ExpandFile *ef, const char *pathname);
120 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node);
203 ef->cache.mem = _new_FreeList(sizeof(DirNode), DIR_CACHE_BLK); in new_ExpandFile()
242 DirNode *dnode; in del_ExpandFile()
348 DirNode *dnode; /* A directory-reader cache node */ in ef_expand_file()
563 DirNode *subdnode = ef_open_dir(ef, ef->path->name); in ef_match_relative_pathname()
683 static DirNode *ef_open_dir(ExpandFile *ef, const char *pathname) in ef_open_dir()
686 DirNode *node; /* The cache node used */ in ef_open_dir()
695 node = (DirNode *) _new_FreeListNode(cache->mem); in ef_open_dir()
714 node = (DirNode *) _del_FreeListNode(cache->mem, node); in ef_open_dir()
769 static DirNode *ef_close_dir(ExpandFile *ef, DirNode *node) in ef_close_dir()