Home
last modified time | relevance | path

Searched refs:crb (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/
H A Dtpm_intf_crb.c191 if (crb->closing) in tpm_crb_thread()
194 pthread_cond_wait(&crb->cond, &crb->mutex); in tpm_crb_thread()
196 if (crb->closing) in tpm_crb_thread()
241 crb->emul->execute_cmd(crb->emul_sc, &cmd[cmd_off], cmd_size, in tpm_crb_thread()
281 crb = arg1; in tpm_crb_mem_handler()
437 memset(crb, 0, sizeof(*crb)); in tpm_crb_init()
498 error = pthread_create(&crb->thread, NULL, tpm_crb_thread, crb); in tpm_crb_init()
506 *sc = crb; in tpm_crb_init()
511 free(crb); in tpm_crb_init()
526 crb = sc; in tpm_crb_deinit()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_map.c78 kmem_free(crb->c_buf, crb->c_nb); \
85 if (crb && (--crb->c_refcnt == 0)) { \
687 crb_t *crb; in logmap_list_get() local
735 if (crb) { in logmap_list_get()
817 if (crb && !(crb->c_invalid)) { in logmap_list_get_roll()
881 crb_t *crb; in logmap_setup_read() local
897 if (crb) { in logmap_setup_read()
1222 crb_t *crb; in logmap_add_buf() local
1280 if (crb && (--crb->c_refcnt == 0)) { in logmap_add_buf()
1309 WITHIN(mof, nb, crb->c_mof, crb->c_nb)) { in logmap_add_buf()
[all …]
H A Dlufs_thread.c253 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 Dlufs_log.c1114 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 Dufs_log.h283 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 Dartest.ksh276 if ! $ar_prog -crb ar_test1.o $alt $ar_data0; then
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_gld.c1338 u32 crb, actual_crb; local