Searched refs:crb (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_map.c65 uint64_t ufs_crb_size = 0; /* current size of all crb buffers */
66 uint64_t ufs_crb_max_size = 0; /* highest crb buffer use so far */
68 uint64_t ufs_crb_alloc_fails = 0; /* crb allocation failures stat */
77 #define CRB_FREE(crb, me) \
78 kmem_free(crb->c_buf, crb->c_nb); \
79 atomic_add_64(&ufs_crb_size, -(uint64_t)crb->c_nb); \
80 kmem_free(crb, sizeof (crb_t)); \
84 crb_t *crb = (me)->me_crb; \
85 if (crb
687 crb_t *crb; local
761 crb_t *crb = NULL; local
881 crb_t *crb; local
1222 crb_t *crb; local
1727 crb_t *crb; local
[all...]
H A Dlufs_thread.c256 crb_t *crb = rbp->rb_crb; local
259 bp->b_blkno = lbtodb(crb->c_mof);
260 bp->b_un.b_addr = crb->c_buf;
261 bp->b_bcount = crb->c_nb;
262 bp->b_bufsize = crb->c_nb;
263 ASSERT((crb->c_nb & DEV_BMASK) == 0);
H A Dlufs_log.c1114 crb_t *crb; local
1129 crb = me->me_crb;
1130 if (crb) {
1131 if (mof > crb->c_mof) {
1136 skip = mof - crb->c_mof;
1137 bcopy(crb->c_buf + skip, va,
1138 MIN(nb, crb->c_nb - skip));
1144 skip = crb->c_mof - mof;
1145 bcopy(crb->c_buf, va + skip,
1146 MIN(crb
[all...]
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dufs_log.h283 typedef struct crb { struct
287 ushort_t c_refcnt; /* reference count on crb */
288 uchar_t c_invalid; /* crb should not be used */
467 #define DATAwithinCRB(mof, nb, crb) \
468 (WITHIN((mof), (nb), (crb)->c_mof, (crb)->c_nb))

Completed in 108 milliseconds