Searched refs:tbp (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_trace.c | 44 fmd_tracebuf_t *tbp = fmd_zalloc(sizeof (fmd_tracebuf_t), FMD_SLEEP); in fmd_trace_create() local 47 (void) fmd_conf_getprop(fmd.d_conf, "trace.frames", &tbp->tb_frames); in fmd_trace_create() 48 (void) fmd_conf_getprop(fmd.d_conf, "trace.recs", &tbp->tb_recs); in fmd_trace_create() 67 tbp->tb_frames = (tbp->tb_frames & ~1UL) + 1; in fmd_trace_create() 69 tbp->tb_frames = P2ROUNDUP(tbp->tb_frames, 2); in fmd_trace_create() 71 tbp->tb_size = sizeof (fmd_tracerec_t) + in fmd_trace_create() 72 sizeof (uintptr_t) * (MAX(tbp->tb_frames, 1) - 1); in fmd_trace_create() 74 bufsize = tbp->tb_size * tbp->tb_recs; in fmd_trace_create() 76 tbp->tb_buf = fmd_zalloc(bufsize, FMD_SLEEP); in fmd_trace_create() 77 tbp->tb_end = (void *)((uintptr_t)tbp->tb_buf + bufsize - tbp->tb_size); in fmd_trace_create() [all …]
|
/titanic_44/usr/src/cmd/csh/ |
H A D | printf.c | 111 tchar *tbp, *tep; /* For "%t". */ in _print() local 630 tbp = &tcbuf[0]; in _print() 631 tep = tbp + 1; in _print() 649 tbp = &tcbuf[0]; in _print() 650 tep = tbp + 1; in _print() 676 tbp = va_arg(*args, tchar *); in _print() 677 if (tbp == 0) { in _print() 684 for (n = 0; *tbp++ != 0 && n < prec; n++) in _print() 686 tep = --tbp; in _print() 687 tbp -= n; in _print() [all …]
|
/titanic_44/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 618 struct txbuf *tbp; in gem_alloc_memory() local 699 for (i = 0, tbp = dp->tx_buf; in gem_alloc_memory() 700 i < dp->gc.gc_tx_buf_size; i++, tbp++) { in gem_alloc_memory() 706 &tbp->txb_bdh)) != DDI_SUCCESS) { in gem_alloc_memory() 715 if ((err = ddi_dma_mem_alloc(tbp->txb_bdh, in gem_alloc_memory() 720 &tbp->txb_bah)) != DDI_SUCCESS) { in gem_alloc_memory() 725 ddi_dma_free_handle(&tbp->txb_bdh); in gem_alloc_memory() 729 if ((err = ddi_dma_addr_bind_handle(tbp->txb_bdh, in gem_alloc_memory() 738 ddi_dma_mem_free(&tbp->txb_bah); in gem_alloc_memory() 739 ddi_dma_free_handle(&tbp->txb_bdh); in gem_alloc_memory() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | telnet.c | 1995 unsigned char *tbp; in telsnd() local 2009 tbp = ttyiring.consume; in telsnd() 2015 c = *tbp++ & 0xff, sc = strip(c), tcc--; count++; in telsnd() 2036 command(0, (char *)tbp, tcc); in telsnd() 2045 --tbp; in telsnd() 2057 if (tcc && strip(*tbp) == escape) { in telsnd() 2058 tbp++; in telsnd() 2063 command(0, (char *)tbp, tcc); in telsnd() 2074 if (tcc > 0 && strip(*tbp) == echoc) { in telsnd() 2075 tcc--; tbp++; count++; in telsnd()
|
/titanic_44/usr/src/uts/common/fs/ufs/ |
H A D | lufs.c | 270 buf_t *bp, *tbp; in lufs_snarf() local 349 tbp = ngeteblk(dbtob(LS_SECTORS)); in lufs_snarf() 350 tbp->b_edev = bp->b_edev; in lufs_snarf() 351 tbp->b_dev = bp->b_dev; in lufs_snarf() 352 tbp->b_blkno = bno; in lufs_snarf() 353 bcopy(bp->b_un.b_addr, tbp->b_un.b_addr, DEV_BSIZE); in lufs_snarf() 354 bcopy(bp->b_un.b_addr, tbp->b_un.b_addr + DEV_BSIZE, DEV_BSIZE); in lufs_snarf() 357 bp = tbp; in lufs_snarf()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | trace.c | 693 const struct bits *tbp; in trace_string() local 699 for (tbp = tbl; tbp->bits_mask != 0; tbp++) in trace_string() 700 if (tbp->bits_name[0] != '\0') in trace_string() 701 slen += strlen(tbp->bits_name) + 1; in trace_string()
|
/titanic_44/usr/src/uts/sun4u/io/ |
H A D | sbd_mem.c | 2542 sbd_board_t *tbp; in sbd_detach_memory() local 2552 tbp = (sbd_board_t *)t_mp->sbm_cm.sbdev_sbp; in sbd_detach_memory() 2577 tbp->sb_num, in sbd_detach_memory() 2622 rv = sbd_move_memory(hp, sbp, tbp); in sbd_detach_memory() 2630 tbp->sb_num); in sbd_detach_memory() 2649 devlist = tbp->sb_devlist[NIX(SBD_COMP_MEM)]; in sbd_detach_memory() 2675 SBD_DEVICE_TRANSITION(tbp, SBD_COMP_MEM, in sbd_detach_memory() 2684 tbp->sb_num); in sbd_detach_memory()
|
/titanic_44/usr/src/uts/common/inet/nca/ |
H A D | nca.h | 242 struct tb_s *tbp; /* pointer to timer bucket */ member
|