Searched refs:b_refcnt (Results 1 – 6 of 6) sorted by relevance
315 failedbuf.b_refcnt++; in getdatablk()334 if (bp != NULL && bp->b_refcnt != 0) { in getdatablk()356 if ((bp->b_flags & B_DIRTY) == 0 && bp->b_refcnt == 0) in getdatablk()368 if (bp->b_refcnt == 0) in getdatablk()390 bp->b_refcnt++; in getdatablk()424 if (bp->b_refcnt <= 0) in brelse()426 bp->b_refcnt--; in brelse()695 if (debug && bp->b_refcnt != 0) in ckfini()712 if (debug && bp->b_refcnt != 0) in ckfini()1404 bp->b_size, bp->b_refcnt, bp->b_flags & B_DIRTY ? "dirty" : "clean", in prtbuf()
443 inobuf.b_refcnt++; in ginode()449 icachebp->b_refcnt++; in ginode()464 icachebp->b_refcnt++; in ginode()509 if (ip->i_bp->b_refcnt <= 0) in irelse()553 if (inobuf.b_refcnt != 0) in getnextinode()555 inobuf.b_refcnt); in getnextinode()
155 int b_refcnt; /* ref count of users */234 (bp)->b_refcnt = 0; \159 int b_refcnt; /* ref count of users */ global() member
82 __entry->hdr_refcount = ab->b_l1hdr.b_refcnt.rc_count;233 __entry->hdr_refcount = hdr->b_l1hdr.b_refcnt.rc_count;
1170 zfs_refcount_create(&hdr->b_l1hdr.b_refcnt); in hdr_full_cons()1216 zfs_refcount_destroy(&hdr->b_l1hdr.b_refcnt); in hdr_full_dest()2304 ASSERT(zfs_refcount_is_zero(&hdr->b_l1hdr.b_refcnt)); in add_reference()2308 if ((zfs_refcount_add(&hdr->b_l1hdr.b_refcnt, tag) == 1) && in add_reference()2331 if ((cnt = zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, tag)) != 0) in remove_reference()2387 abi->abi_holds = zfs_refcount_count(&l1hdr->b_refcnt); in arc_buf_info()2421 refcnt = zfs_refcount_count(&hdr->b_l1hdr.b_refcnt); in arc_change_state()2896 (void) zfs_refcount_add(&hdr->b_l1hdr.b_refcnt, tag); in arc_return_buf()2897 (void) zfs_refcount_remove(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_return_buf()2910 (void) zfs_refcount_add(&hdr->b_l1hdr.b_refcnt, arc_onloan_tag); in arc_loan_inuse_buf()[all …]
176 zfs_refcount_t b_refcnt; member