Searched refs:ntd (Results 1 – 9 of 9) sorted by relevance
/dragonfly/sys/kern/ |
H A D | lwkt_thread.c | 569 thread_t ntd; in lwkt_switch() local 704 if (ntd) { in lwkt_switch() 707 lwkt_getalltokens(ntd, (ntd->td_contended > lwkt_spin_loops))) in lwkt_switch() 721 ntd, in lwkt_switch() 722 ntd->td_comm); in lwkt_switch() 743 while ((ntd = TAILQ_NEXT(ntd, td_threadq)) != NULL) { in lwkt_switch() 745 ntd->td_pri < TDPRI_KERN_LPSCHED && upri > ntd->td_upri) { in lwkt_switch() 755 lwkt_getalltokens(ntd, (ntd->td_contended > lwkt_spin_loops))) { in lwkt_switch() 807 if (td != ntd) { in lwkt_switch() 958 KASSERT(ntd->td_critcount, ("BADCRIT0 %d", ntd->td_pri)); in lwkt_preempt() [all …]
|
H A D | kern_synch.c | 1003 struct thread *ntd; in _wakeup() local 1017 for (td = TAILQ_FIRST(&qp->queue); td != NULL; td = ntd) { in _wakeup() 1018 ntd = TAILQ_NEXT(td, td_sleepq); in _wakeup()
|
/dragonfly/usr.bin/evtranalyze/ |
H A D | evtranalyze.c | 608 top_threads_update(struct td_switch_ctx *ctx, struct evtr_thread *ntd) in top_threads_update() argument 610 struct thread_info *tdi = ntd->userdata; in top_threads_update() 614 if (td == ntd) { in top_threads_update() 623 ctx->top_threads[i] = ntd; in top_threads_update() 635 td = ntd; /* td holds the thread we will insert next */ in top_threads_update() 642 if (tmp == ntd) { in top_threads_update()
|
/dragonfly/sys/bus/u4b/controller/ |
H A D | ohci.c | 2383 uint32_t ntd; in ohci_xfer_setup() local 2404 ntd = ((2 * xfer->nframes) + 1 /* STATUS */ in ohci_xfer_setup() 2414 ntd = ((2 * xfer->nframes) in ohci_xfer_setup() 2424 ntd = ((2 * xfer->nframes) in ohci_xfer_setup() 2436 ntd = 0; in ohci_xfer_setup() 2444 ntd = 0; in ohci_xfer_setup() 2457 OHCI_TD_ALIGN, ntd)) { in ohci_xfer_setup() 2462 for (n = 0; n != ntd; n++) { in ohci_xfer_setup()
|
H A D | uhci.c | 2837 uint32_t ntd; in uhci_xfer_setup() local 2862 ntd = ((2 * xfer->nframes) + 1 /* STATUS */ in uhci_xfer_setup() 2872 ntd = ((2 * xfer->nframes) in uhci_xfer_setup() 2882 ntd = ((2 * xfer->nframes) in uhci_xfer_setup() 2892 ntd = xfer->nframes; in uhci_xfer_setup() 2899 ntd = 0; in uhci_xfer_setup() 2956 UHCI_TD_ALIGN, ntd)) { in uhci_xfer_setup() 2961 for (n = 0; n != ntd; n++) { in uhci_xfer_setup()
|
H A D | xhci.c | 3705 uint32_t ntd; in xhci_xfer_setup() local 3748 ntd = ((1 * xfer->nframes) in xhci_xfer_setup() 3751 ntd = ((2 * xfer->nframes) + 1 /* STATUS */ in xhci_xfer_setup() 3754 ntd = ((2 * xfer->nframes) in xhci_xfer_setup() 3770 XHCI_TD_ALIGN, ntd)) { in xhci_xfer_setup() 3775 for (n = 0; n != ntd; n++) { in xhci_xfer_setup()
|
/dragonfly/sys/sys/ |
H A D | thread.h | 276 thread_t (*td_switch)(struct thread *ntd);
|
/dragonfly/contrib/binutils-2.34/libctf/ |
H A D | ctf-open.c | 1614 ctf_dtdef_t *dtd, *ntd; in ctf_file_close() local 1632 for (dtd = ctf_list_next (&fp->ctf_dtdefs); dtd != NULL; dtd = ntd) in ctf_file_close() 1634 ntd = ctf_list_next (dtd); in ctf_file_close()
|
H A D | ctf-create.c | 743 ctf_dtdef_t *dtd, *ntd; in ctf_rollback() local 752 for (dtd = ctf_list_next (&fp->ctf_dtdefs); dtd != NULL; dtd = ntd) in ctf_rollback() 757 ntd = ctf_list_next (dtd); in ctf_rollback()
|