MCPcopy Create free account
hub / github.com/F-Stack/f-stack / cache_drop_vnode

Function cache_drop_vnode

freebsd/kern/vfs_cache.c:551–561  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

549}
550
551static void
552cache_drop_vnode(struct vnode *vp)
553{
554
555 /*
556 * Called after all locks are dropped, meaning we can't assert
557 * on the state of v_cache_src.
558 */
559 vdrop(vp);
560 counter_u64_add(numcachehv, -1);
561}
562
563/*
564 * UMA zones.

Callers 2

cache_freeFunction · 0.85
cache_free_batchFunction · 0.85

Calls 2

vdropFunction · 0.85
counter_u64_addFunction · 0.50

Tested by

no test coverage detected