Lines Matching refs:b_refcnt

1085 	refcount_t		b_refcnt;
1679 refcount_create(&hdr->b_l1hdr.b_refcnt);
1724 refcount_destroy(&hdr->b_l1hdr.b_refcnt);
2475 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
2481 if ((refcount_add(&hdr->b_l1hdr.b_refcnt, tag) == 1) &&
2513 if (((cnt = refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) == 0) &&
2545 refcnt = refcount_count(&hdr->b_l1hdr.b_refcnt);
2954 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, tag);
2955 (void) refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag);
2968 (void) refcount_add(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag);
2969 (void) refcount_remove(&hdr->b_l1hdr.b_refcnt, tag);
2996 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
3289 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
3482 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
3646 ASSERT0(refcount_count(&hdr->b_l1hdr.b_refcnt));
4957 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
5007 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
5060 if (refcount_count(&hdr->b_l1hdr.b_refcnt) == 0) {
5100 if (refcount_count(&hdr->b_l1hdr.b_refcnt) > 0) {
5371 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt) ||
5382 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt);
5402 freeable = refcount_is_zero(&hdr->b_l1hdr.b_refcnt);
5568 refcount_count(&hdr->b_l1hdr.b_refcnt) == 0) {
5626 ASSERT(refcount_is_zero(&hdr->b_l1hdr.b_refcnt));
5876 refcount_is_zero(&hdr->b_l1hdr.b_refcnt))) {
5919 ASSERT3S(refcount_count(&hdr->b_l1hdr.b_refcnt), ==, 1);
5947 ASSERT3S(refcount_count(&hdr->b_l1hdr.b_refcnt), >, 0);
6042 if (refcount_is_zero(&hdr->b_l1hdr.b_refcnt)) {
6063 ASSERT0(refcount_count(&nhdr->b_l1hdr.b_refcnt));
6069 (void) refcount_add(&nhdr->b_l1hdr.b_refcnt, tag);
6077 ASSERT(refcount_count(&hdr->b_l1hdr.b_refcnt) == 1);
6109 referenced = (refcount_count(&buf->b_hdr->b_l1hdr.b_refcnt));
6124 ASSERT(!refcount_is_zero(&buf->b_hdr->b_l1hdr.b_refcnt));
6280 &exists->b_l1hdr.b_refcnt));
6309 ASSERT(!refcount_is_zero(&hdr->b_l1hdr.b_refcnt));