Home
last modified time | relevance | path

Searched refs:b_refcnt (Results 1 – 6 of 6) sorted by relevance

/freebsd-13.1/sbin/fsck_ffs/
H A Dfsutil.c331 if (bp != NULL && bp->b_refcnt != 0) { in getdatablk()
351 if ((bp->b_flags & B_DIRTY) == 0 && bp->b_refcnt == 0) in getdatablk()
363 if (bp->b_refcnt == 0) in getdatablk()
385 bp->b_refcnt++; in getdatablk()
423 if (bp->b_refcnt <= 0) in brelse()
425 bp->b_refcnt--; in brelse()
650 if (debug && bp->b_refcnt != 0) { in ckfini()
668 if (debug && bp->b_refcnt != 0) { in ckfini()
1254 bp->b_size, bp->b_refcnt, bp->b_flags & B_DIRTY ? "dirty" : "clean", in prtbuf()
H A Dfsck.h161 int b_refcnt; /* ref count of users */ member
243 (bp)->b_refcnt = 0; \
H A Dinode.c432 icachebp->b_refcnt++; in ginode()
446 icachebp->b_refcnt++; in ginode()
477 if (ip->i_bp->b_refcnt <= 0) in irelse()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Darc.c1128 zfs_refcount_create(&hdr->b_l1hdr.b_refcnt); in hdr_full_cons()
1188 zfs_refcount_destroy(&hdr->b_l1hdr.b_refcnt); in hdr_full_dest()
2404 refcnt = zfs_refcount_count(&hdr->b_l1hdr.b_refcnt); in arc_change_state()
3499 zfs_refcount_transfer(&nhdr->b_l1hdr.b_refcnt, &hdr->b_l1hdr.b_refcnt); in arc_hdr_realloc_crypt()
3501 ASSERT0(zfs_refcount_count(&hdr->b_l1hdr.b_refcnt)); in arc_hdr_realloc_crypt()
3953 ASSERT0(zfs_refcount_count(&hdr->b_l1hdr.b_refcnt)); in arc_evict_hdr()
6110 zfs_refcount_is_zero(&hdr->b_l1hdr.b_refcnt)) { in arc_read()
6189 &hdr->b_l1hdr.b_refcnt)); in arc_read()
6248 zfs_refcount_is_zero(&hdr->b_l1hdr.b_refcnt)) { in arc_read()
6550 zfs_refcount_is_zero(&hdr->b_l1hdr.b_refcnt))) { in arc_freed()
[all …]
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_arc.h84 __entry->hdr_refcount = ab->b_l1hdr.b_refcnt.rc_count;
242 __entry->hdr_refcount = hdr->b_l1hdr.b_refcnt.rc_count;
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Darc_impl.h174 zfs_refcount_t b_refcnt; member