45#ifdef LOSCFG_DEBUG_VERSION
59#ifdef LOSCFG_DEBUG_VERSION
双向链表由内联函数实现 http://weharmonyos.com/openharmony/zh-cn/device-dev/kernel/kernel-small-apx-dll....
void PathCacheMemoryDump(void)
void VnodePathCacheFree(struct Vnode *vnode)
和长辈,晚辈告别,从此不再是父亲和孩子.
void ResetPathCacheHitInfo(int *hit, int *try)
int PathCacheFree(struct PathCache *cache)
LIST_HEAD * GetPathCacheList(void)
int PathCacheLookup(struct Vnode *parent, const char *name, int len, struct Vnode **vnode)
struct PathCache * PathCacheAlloc(struct Vnode *parent, struct Vnode *vnode, const char *name, uint8_t len)
struct Vnode * childVnode
struct Vnode * parentVnode
vnode并不包含文件名,因为 vnode和文件名是 1:N 的关系