Lines Matching refs:ndx
133 int ndx, int l, int r, int depth)
140 heap_left = CYC_HEAP_LEFT(ndx);
141 heap_right = CYC_HEAP_RIGHT(ndx);
142 me = heap[ndx];
144 if (ndx >= cpu->cyp_nelems)
153 CYC_HEAP_LEFT(CYC_HEAP_PARENT(ndx)) == ndx ? " " : "", me,
154 CYC_HEAP_LEFT(CYC_HEAP_PARENT(ndx)) == ndx ? "" : " ");
519 int i, ndx, new_ndx, lev, rval;
523 if ((ndx = buf[i].cyt_ndx) == -1)
529 buf[i].cyt_buf[ndx].cyt_tstamp <<= 1;
530 buf[i].cyt_buf[ndx].cyt_tstamp >>= 1;
532 if (buf[i].cyt_buf[ndx].cyt_tstamp > latest) {
533 latest = buf[i].cyt_buf[ndx].cyt_tstamp;
545 ndx = buf->cyt_ndx;
547 (uintptr_t)&(buf->cyt_buf[ndx]) - (uintptr_t)cpu;
549 rval = wsp->walk_callback(addr, &buf->cyt_buf[ndx], wsp->walk_cbdata);
551 new_ndx = ndx == 0 ? CY_NTRACEREC - 1 : ndx - 1;
554 buf->cyt_buf[new_ndx].cyt_tstamp > buf->cyt_buf[ndx].cyt_tstamp)
708 cycid_cpu(cyc_cpu_t *addr, int ndx)
725 caddr = (uintptr_t)cpu.cyp_cyclics + ndx * sizeof (cyclic_t);
732 mdb_printf("%4d %3d %?p %a\n", c.cpu_id, ndx, caddr, cyc.cy_handler);