Searched refs:ctd (Results 1 – 6 of 6) sorted by relevance
| /freebsd/sys/dev/cesa/ |
| H A D | cesa.c | 284 struct cesa_tdma_desc *ctd; in cesa_alloc_tdesc() local 286 CESA_GENERIC_ALLOC_LOCKED(sc, ctd, tdesc); in cesa_alloc_tdesc() 288 if (!ctd) in cesa_alloc_tdesc() 292 return (ctd); in cesa_alloc_tdesc() 329 struct cesa_tdma_desc *ctd; in cesa_tdma_copy() local 331 ctd = cesa_alloc_tdesc(sc); in cesa_tdma_copy() 332 if (!ctd) in cesa_tdma_copy() 335 ctd->ctd_cthd->cthd_dst = dst; in cesa_tdma_copy() 336 ctd->ctd_cthd->cthd_src = src; in cesa_tdma_copy() 337 ctd->ctd_cthd->cthd_byte_count = size; in cesa_tdma_copy() [all …]
|
| /freebsd/sys/kern/ |
| H A D | sched_4bsd.c | 297 struct thread *ctd; in maybe_resched() local 299 ctd = curthread; in maybe_resched() 301 if (td->td_priority < ctd->td_priority) in maybe_resched() 302 ctd->td_pflags |= TDP_RESCHED; in maybe_resched() 315 struct thread *ctd; in maybe_preempt() local 340 ctd = curthread; in maybe_preempt() 345 cpri = ctd->td_priority; in maybe_preempt() 347 TD_IS_INHIBITED(ctd)) in maybe_preempt() 355 ctd->td_owepreempt = 1; in maybe_preempt()
|
| H A D | sched_ule.c | 665 tdq_setlowpri(struct tdq *tdq, struct thread *ctd) in tdq_setlowpri() argument 670 if (ctd == NULL) in tdq_setlowpri() 671 ctd = tdq->tdq_curthread; in tdq_setlowpri() 673 if (td == NULL || td->td_priority > ctd->td_priority) in tdq_setlowpri() 674 tdq->tdq_lowpri = ctd->td_priority; in tdq_setlowpri() 2821 struct thread *ctd; in sched_setpreempt() local 2824 ctd = curthread; in sched_setpreempt() 2825 THREAD_LOCK_ASSERT(ctd, MA_OWNED); in sched_setpreempt() 2827 cpri = ctd->td_priority; in sched_setpreempt() 2829 ast_sched_locked(ctd, TDA_SCHED); in sched_setpreempt() [all …]
|
| H A D | kern_intr.c | 964 struct thread *ctd; in intr_event_schedule_thread() local 973 ctd = curthread; in intr_event_schedule_thread() 983 entropy.td = ctd; in intr_event_schedule_thread()
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/perf/ |
| H A D | perf.shlib | 533 typeset ctd ctds devname lun 541 for ctd in $ctds; do 542 lun_list="$lun_list$ctd:" 554 for ctd in $ctds; do 556 devname=$(readlink -f /dev/dsk/"${ctd}"s0 | sed -n 's/\/devices\([^:]*\):.*/\1/p')
|
| /freebsd/contrib/tcsh/ |
| H A D | sh.func.c | 2609 xcatgets(nl_catd ctd, int set_id, int msg_id, const char *s) argument 2614 while ((res = catgets(ctd, set_id, msg_id, s)) == s && errno == EINTR) { 2624 iconv_catgets(nl_catd ctd, int set_id, int msg_id, const char *s) argument 2633 orig = xcatgets(ctd, set_id, msg_id, s);
|