Searched refs:new_parent (Results 1 – 2 of 2) sorted by relevance
150 void LRUCache::LinkParent(CacheNode* child, CacheNode* new_parent) { in LinkParent() argument155 child->parent_index = GetNodeIndex(new_parent); in LinkParent()156 if (new_parent->is_leaf) { in LinkParent()157 RemoveNodeFromLRUList(new_parent); in LinkParent()158 new_parent->is_leaf = 0; in LinkParent()159 new_parent->children_count = 1; in LinkParent()161 new_parent->children_count++; in LinkParent()
127 void LinkParent(CacheNode* child, CacheNode* new_parent);