Searched refs:crb (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/cmd/bhyve/common/ |
H A D | tpm_intf_crb.c | 182 struct tpm_crb *const crb = arg; in tpm_crb_thread() local 184 pthread_mutex_lock(&crb->mutex); in tpm_crb_thread() 190 if (crb->closing) in tpm_crb_thread() 193 pthread_cond_wait(&crb->cond, &crb->mutex); in tpm_crb_thread() 195 if (crb->closing) in tpm_crb_thread() 198 const uint64_t cmd_addr = CRB_CMD_ADDR_READ(crb->regs); in tpm_crb_thread() 199 const uint64_t rsp_addr = CRB_RSP_ADDR_READ(crb->regs); in tpm_crb_thread() 200 const uint32_t cmd_size = CRB_CMD_SIZE_READ(crb->regs); in tpm_crb_thread() 201 const uint32_t rsp_size = CRB_RSP_SIZE_READ(crb->regs); in tpm_crb_thread() 218 memcpy(cmd, crb->regs.data_buffer, TPM_CRB_DATA_BUFFER_SIZE); in tpm_crb_thread() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_map.c | 77 #define CRB_FREE(crb, me) \ argument 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 && (--crb->c_refcnt == 0)) { \ 86 CRB_FREE(crb, me) \ 687 crb_t *crb; in logmap_list_get() local 734 crb = me->me_crb; in logmap_list_get() 735 if (crb) { in logmap_list_get() [all …]
|
H A D | lufs_thread.c | 253 crb_t *crb = rbp->rb_crb; in log_roll_write_crb() local 256 bp->b_blkno = lbtodb(crb->c_mof); in log_roll_write_crb() 257 bp->b_un.b_addr = crb->c_buf; in log_roll_write_crb() 258 bp->b_bcount = crb->c_nb; in log_roll_write_crb() 259 bp->b_bufsize = crb->c_nb; in log_roll_write_crb() 260 ASSERT((crb->c_nb & DEV_BMASK) == 0); in log_roll_write_crb()
|
H A D | lufs_log.c | 1114 crb_t *crb; in ldl_read() local 1129 crb = me->me_crb; in ldl_read() 1130 if (crb) { in ldl_read() 1131 if (mof > crb->c_mof) { in ldl_read() 1136 skip = mof - crb->c_mof; in ldl_read() 1137 bcopy(crb->c_buf + skip, va, in ldl_read() 1138 MIN(nb, crb->c_nb - skip)); in ldl_read() 1144 skip = crb->c_mof - mof; in ldl_read() 1145 bcopy(crb->c_buf, va + skip, in ldl_read() 1146 MIN(crb->c_nb, nb - skip)); in ldl_read()
|
/illumos-gate/usr/src/uts/common/sys/fs/ |
H A D | ufs_log.h | 283 typedef struct crb { struct 467 #define DATAwithinCRB(mof, nb, crb) \ argument 468 (WITHIN((mof), (nb), (crb)->c_mof, (crb)->c_nb))
|
/illumos-gate/usr/src/test/util-tests/tests/ar/ |
H A D | artest.ksh | 276 if ! $ar_prog -crb ar_test1.o $alt $ar_data0; then
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_gld.c | 1338 u32 crb, actual_crb; local
|