• Home
  • Raw
  • Download

Lines Matching refs:PathCache

70         struct PathCache *pc = NULL;  in PathCacheDump()
73 LOS_DL_LIST_FOR_EACH_ENTRY(pc, nhead, struct PathCache, hashEntry) { in PathCacheDump()
87 struct PathCache *dent = NULL; in PathCacheMemoryDump()
89 LOS_DL_LIST_FOR_EACH_ENTRY(dent, dhead, struct PathCache, hashEntry) { in PathCacheMemoryDump()
95 PRINTK("pathCache memory size = %d(B)\n", pathCacheNum * sizeof(struct PathCache) + nameSum); in PathCacheMemoryDump()
106 static void PathCacheInsert(struct Vnode *parent, struct PathCache *cache, const char* name, int le… in PathCacheInsert()
112 struct PathCache *PathCacheAlloc(struct Vnode *parent, struct Vnode *vnode, const char *name, uint8… in PathCacheAlloc()
114 struct PathCache *pc = NULL; in PathCacheAlloc()
121 pathCacheSize = sizeof(struct PathCache) + len + 1; in PathCacheAlloc()
123 pc = (struct PathCache*)zalloc(pathCacheSize); in PathCacheAlloc()
147 int PathCacheFree(struct PathCache *pc) in PathCacheFree()
164 struct PathCache *pc = NULL; in PathCacheLookup()
169 LOS_DL_LIST_FOR_EACH_ENTRY(pc, dhead, struct PathCache, hashEntry) { in PathCacheLookup()
181 struct PathCache *item = NULL; in FreeChildPathCache()
182 struct PathCache *nextItem = NULL; in FreeChildPathCache()
184 …LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &(vnode->childPathCaches), struct PathCache, child… in FreeChildPathCache()
191 struct PathCache *item = NULL; in FreeParentPathCache()
192 struct PathCache *nextItem = NULL; in FreeParentPathCache()
194 …LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &(vnode->parentPathCaches), struct PathCache, pare… in FreeParentPathCache()