Lines Matching refs:b_refcnt

889 	refcount_t		b_refcnt;
1284 refcount_create(&hdr->b_l1hdr.b_refcnt);
1329 refcount_destroy(&hdr->b_l1hdr.b_refcnt);
2070 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
2076 if ((refcount_add(&hdr->b_l1hdr.b_refcnt, tag) == 1) &&
2108 if (((cnt = refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) &&
2140 refcnt = refcount_count(&hdr->b_l1hdr.b_refcnt);
2541 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, tag);
2542 (void) refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag);
2555 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag);
2556 (void) refcount_remove(&hdr->b_l1hdr.b_refcnt, tag);
2583 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
2864 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
3045 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
3206 ASSERT0(refcount_count(&hdr->b_l1hdr.b_refcnt));
4327 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
4355 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
4410 if (refcount_count(&hdr->b_l1hdr.b_refcnt) == 0) {
4448 if (refcount_count(&hdr->b_l1hdr.b_refcnt) > 0)
4471 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
4490 ASSERT0(refcount_count(&hdr->b_l1hdr.b_refcnt));
4645 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt) ||
4656 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt);
4676 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt);
4828 refcount_count(&hdr->b_l1hdr.b_refcnt) == 0) {
4884 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
5094 refcount_is_zero(&hdr->b_l1hdr.b_refcnt))) {
5138 ASSERT3S(refcount_count(&hdr->b_l1hdr.b_refcnt), ==, 1);
5166 ASSERT3S(refcount_count(&hdr->b_l1hdr.b_refcnt), >, 0);
5258 if (refcount_is_zero(&hdr->b_l1hdr.b_refcnt)) {
5277 ASSERT0(refcount_count(&nhdr->b_l1hdr.b_refcnt));
5283 (void) refcount_add(&nhdr->b_l1hdr.b_refcnt, tag);
5291 ASSERT(refcount_count(&hdr->b_l1hdr.b_refcnt) == 1);
5323 referenced = (refcount_count(&buf->b_hdr->b_l1hdr.b_refcnt));
5338 ASSERT(!refcount_is_zero(&buf->b_hdr->b_l1hdr.b_refcnt));
5478 &exists->b_l1hdr.b_refcnt));
5507 ASSERT(!refcount_is_zero(&hdr->b_l1hdr.b_refcnt));