Lines Matching refs:blp
851 struct mtx *blp; in cache_assert_bucket_locked() local
853 blp = NCP2BUCKETLOCK(ncp); in cache_assert_bucket_locked()
854 mtx_assert(blp, MA_OWNED); in cache_assert_bucket_locked()
860 struct mtx *blp; in cache_assert_bucket_unlocked() local
862 blp = NCP2BUCKETLOCK(ncp); in cache_assert_bucket_unlocked()
863 mtx_assert(blp, MA_NOTOWNED); in cache_assert_bucket_unlocked()
1451 struct mtx *blp; in cache_neg_evict() local
1477 blp = HASH2BUCKETLOCK(hash); in cache_neg_evict()
1481 mtx_lock(blp); in cache_neg_evict()
1497 MPASS(blp == NCP2BUCKETLOCK(ncp)); in cache_neg_evict()
1504 mtx_unlock(blp); in cache_neg_evict()
1588 struct mtx *blp; in cache_zap_negative_locked_vnode_kl() local
1594 blp = NCP2BUCKETLOCK(ncp); in cache_zap_negative_locked_vnode_kl()
1595 mtx_lock(blp); in cache_zap_negative_locked_vnode_kl()
1597 mtx_unlock(blp); in cache_zap_negative_locked_vnode_kl()
1605 struct mtx *blp; in cache_zap_locked_vnode_kl2() local
1620 blp = NCP2BUCKETLOCK(ncp); in cache_zap_locked_vnode_kl2()
1642 mtx_lock(blp); in cache_zap_locked_vnode_kl2()
1644 mtx_unlock(blp); in cache_zap_locked_vnode_kl2()
1665 struct mtx *blp) in cache_zap_unlocked_bucket() argument
1674 mtx_lock(blp); in cache_zap_unlocked_bucket()
1693 mtx_unlock(blp); in cache_zap_unlocked_bucket()
1699 mtx_unlock(blp); in cache_zap_unlocked_bucket()
1706 uint32_t hash, struct mtx *blp) in cache_zap_locked_bucket() argument
1719 mtx_unlock(blp); in cache_zap_locked_bucket()
1725 mtx_unlock(blp); in cache_zap_locked_bucket()
1726 return (cache_zap_unlocked_bucket(ncp, cnp, dvp, dvlp, vlp, hash, blp)); in cache_zap_locked_bucket()
1733 struct mtx *blp; in cache_remove_cnp() local
1780 blp = HASH2BUCKETLOCK(hash); in cache_remove_cnp()
1785 mtx_lock(blp); in cache_remove_cnp()
1794 mtx_unlock(blp); in cache_remove_cnp()
1798 error = cache_zap_locked_bucket(ncp, cnp, hash, blp); in cache_remove_cnp()
1974 struct mtx *blp; in cache_lookup_fallback() local
1985 blp = HASH2BUCKETLOCK(hash); in cache_lookup_fallback()
1986 mtx_lock(blp); in cache_lookup_fallback()
1995 mtx_unlock(blp); in cache_lookup_fallback()
2010 mtx_unlock(blp); in cache_lookup_fallback()
2024 error = cache_zap_locked_bucket(ncp, cnp, hash, blp); in cache_lookup_fallback()
2040 mtx_unlock(blp); in cache_lookup_fallback()
2155 struct mtx *blp[2]; member
2158 CTASSERT((nitems(((struct celockstate *)0)->blp) == 2));
2248 MPASS(cel->blp[0] == NULL); in cache_lock_buckets_cel()
2249 MPASS(cel->blp[1] == NULL); in cache_lock_buckets_cel()
2255 cel->blp[0] = blp1; in cache_lock_buckets_cel()
2258 cel->blp[1] = blp2; in cache_lock_buckets_cel()
2265 if (cel->blp[0] != NULL) in cache_unlock_buckets_cel()
2266 mtx_unlock(cel->blp[0]); in cache_unlock_buckets_cel()
2267 mtx_unlock(cel->blp[1]); in cache_unlock_buckets_cel()
3011 struct mtx *blp; in cache_validate() local
3017 blp = HASH2BUCKETLOCK(hash); in cache_validate()
3018 mtx_lock(blp); in cache_validate()
3027 mtx_unlock(blp); in cache_validate()