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

Function cache_unlock_vnodes_cel

freebsd/kern/vfs_cache.c:2072–2084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2070}
2071
2072static void
2073cache_unlock_vnodes_cel(struct celockstate *cel)
2074{
2075
2076 MPASS(cel->vlp[0] != NULL || cel->vlp[1] != NULL);
2077
2078 if (cel->vlp[0] != NULL)
2079 mtx_unlock(cel->vlp[0]);
2080 if (cel->vlp[1] != NULL)
2081 mtx_unlock(cel->vlp[1]);
2082 if (cel->vlp[2] != NULL)
2083 mtx_unlock(cel->vlp[2]);
2084}
2085
2086static bool
2087cache_lock_vnodes_cel_3(struct celockstate *cel, struct vnode *vp)

Callers 4

cache_lock_vnodes_cel_3Function · 0.85
cache_enter_lockFunction · 0.85
cache_enter_lock_ddFunction · 0.85
cache_enter_unlockFunction · 0.85

Calls 1

mtx_unlockFunction · 0.70

Tested by

no test coverage detected