Home
last modified time | relevance | path

Searched refs:PathCache (Results 1 – 6 of 6) sorted by relevance

/kernel/liteos_a/fs/vfs/
Dpath_cache.c70 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()
[all …]
Dvnode.c490 struct PathCache *item = NULL; in ChangeRootInternal()
491 struct PathCache *nextItem = NULL; in ChangeRootInternal()
493 …LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &rootOld->childPathCaches, struct PathCache, child… in ChangeRootInternal()
545 struct PathCache *item = NULL; in VnodeReaddir()
546 struct PathCache *nextItem = NULL; in VnodeReaddir()
552 …LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &vp->childPathCaches, struct PathCache, childEntry… in VnodeReaddir()
DKconfig38 int "PathCache max number"
/kernel/liteos_a/fs/vfs/include/
Dpath_cache.h38 struct PathCache { struct
52 int PathCacheFree(struct PathCache *cache); argument
53 struct PathCache *PathCacheAlloc(struct Vnode *parent, struct Vnode *vnode, const char *name, uint8…
/kernel/liteos_a/fs/proc/os_adapt/
Dfs_cache_proc.c89 struct PathCache *pc = NULL; in PathCacheListProcess()
92 LOS_DL_LIST_FOR_EACH_ENTRY(pc, list, struct PathCache, hashEntry) { in PathCacheListProcess()
/kernel/liteos_a/
DCHANGELOG.md210 * PathCacheFree try to free name field in struct PathCache ([9f47faf](https://gitee.com/openharmony…
211 * PathCacheMemoryDump miscalculate the RAM usage of PathCache ([87da7c7](https://gitee.com/openharm…