Lines Matching defs:vlp1
1058 cache_trylock_vnodes(struct mtx *vlp1, struct mtx *vlp2)
1061 cache_sort_vnodes(&vlp1, &vlp2);
1063 if (vlp1 != NULL) {
1064 if (!mtx_trylock(vlp1))
1068 if (vlp1 != NULL)
1069 mtx_unlock(vlp1);
1077 cache_lock_vnodes(struct mtx *vlp1, struct mtx *vlp2)
1080 MPASS(vlp1 != NULL || vlp2 != NULL);
1081 MPASS(vlp1 <= vlp2);
1083 if (vlp1 != NULL)
1084 mtx_lock(vlp1);
1090 cache_unlock_vnodes(struct mtx *vlp1, struct mtx *vlp2)
1093 MPASS(vlp1 != NULL || vlp2 != NULL);
1095 if (vlp1 != NULL)
1096 mtx_unlock(vlp1);
1739 struct mtx *pvlp, *vlp1, *vlp2, *to_unlock;
1756 vlp1 = VP2VNODELOCK(ncp->nc_dvp);
1759 if (*vlpp == vlp1 || *vlpp == vlp2) {
1767 cache_sort_vnodes(&vlp1, &vlp2);
1768 if (vlp1 == pvlp) {
1772 if (!mtx_trylock(vlp1))
1774 to_unlock = vlp1;
1786 mtx_lock(vlp1);
1789 *vlpp = vlp1;
2287 struct mtx *vlp1, *vlp2;
2295 vlp1 = VP2VNODELOCK(vp);
2297 cache_sort_vnodes(&vlp1, &vlp2);
2299 if (vlp1 != NULL) {
2300 mtx_lock(vlp1);
2301 cel->vlp[0] = vlp1;