Searched refs:oncp (Results 1 – 1 of 1) sorted by relevance
891 struct namecache *ncp, *oncp; in cache_enter() local941 oncp = rb_tree_insert_node(&dvi->vi_nc_tree, ncp); in cache_enter()942 if (oncp != ncp) { in cache_enter()943 KASSERT(oncp->nc_key == ncp->nc_key); in cache_enter()944 KASSERT(oncp->nc_nlen == ncp->nc_nlen); in cache_enter()945 KASSERT(memcmp(oncp->nc_name, name, namelen) == 0); in cache_enter()946 cache_remove(oncp, true); in cache_enter()947 oncp = rb_tree_insert_node(&dvi->vi_nc_tree, ncp); in cache_enter()948 KASSERT(oncp == ncp); in cache_enter()