/freebsd/crypto/openssl/doc/man7/ |
H A D | life_cycle-pkey.pod | 220 <td style="border:1px solid" align="center">newed</td> 221 <td style="border:1px solid" align="center"></td> 222 <td style="border:1px solid" align="center"></td> 223 <td style="border:1px solid" align="center"></td> 224 <td style="border:1px solid" align="center"></td> 225 <td style="border:1px solid" align="center"></td> 226 <td style="border:1px solid" align="center"></td> 227 <td style="border:1px solid" align="center"></td> 228 <td style="border:1px solid" align="center"></td> 229 <td style="border:1px solid" align="center"></td> [all …]
|
H A D | life_cycle-cipher.pod | 173 <td style="border:1px solid" align="center">newed</td> 174 <td style="border:1px solid" align="center"></td> 175 <td style="border:1px solid" align="center"></td> 176 <td style="border:1px solid" align="center"></td> 177 <td style="border:1px solid" align="center"></td> 178 <td style="border:1px solid" align="center"></td> 179 <td style="border:1px solid" align="center"></td> 180 <td style="border:1px solid" align="center"></td> 181 <td style="border:1px solid" align="center"></td> 182 <td style="border:1px solid" align="center"></td></tr> [all …]
|
H A D | life_cycle-digest.pod | 123 <td style="border:1px solid" align="center">newed</td> 124 <td style="border:1px solid" align="center"></td> 125 <td style="border:1px solid" align="center"></td> 126 <td style="border:1px solid" align="center"></td> 127 <td style="border:1px solid" align="center"></td> 128 <td style="border:1px solid" align="center"></td></tr> 130 <td style="border:1px solid" align="center"></td> 131 <td style="border:1px solid" align="center">initialised</td> 132 <td style="border:1px solid" align="center">initialised</td> 133 <td style="border:1px solid" align="center">initialised</td> [all …]
|
H A D | life_cycle-mac.pod | 123 <td style="border:1px solid" align="center">newed</td> 124 <td style="border:1px solid" align="center"></td> 125 <td style="border:1px solid" align="center"></td> 126 <td style="border:1px solid" align="center"></td> 127 <td style="border:1px solid" align="center"></td> 128 <td style="border:1px solid" align="center"></td></tr> 130 <td style="border:1px solid" align="center"></td> 131 <td style="border:1px solid" align="center">initialised</td> 132 <td style="border:1px solid" align="center">initialised</td> 133 <td style="border:1px solid" align="center">initialised</td> [all …]
|
H A D | life_cycle-rand.pod | 114 <td style="border:1px solid" align="center">newed</td> 115 <td style="border:1px solid" align="center"></td> 116 <td style="border:1px solid" align="center"></td> 117 <td style="border:1px solid" align="center"></td> 118 <td style="border:1px solid" align="center"></td></tr> 120 <td style="border:1px solid" align="center"></td> 121 <td style="border:1px solid" align="center">instantiated</td> 122 <td style="border:1px solid" align="center"></td> 123 <td style="border:1px solid" align="center"></td> 124 <td style="border:1px solid" align="center"></td></tr> [all …]
|
/freebsd/sys/kern/ |
H A D | sched_4bsd.c | 85 #define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__XSTRING(UINT_MAX))) 117 #define THREAD_CAN_SCHED(td, cpu) \ argument 118 CPU_ISSET((cpu), &(td)->td_cpuset->cs_mask) 133 static void sched_priority(struct thread *td, u_char prio); 135 static void maybe_resched(struct thread *td); 136 static void updatepri(struct thread *td); 137 static void resetpriority(struct thread *td); 138 static void resetpriority_thread(struct thread *td); 140 static int sched_pickcpu(struct thread *td); 303 maybe_resched(struct thread *td) in maybe_resched() argument 318 maybe_preempt(struct thread * td) maybe_preempt() argument 464 struct thread *td; schedcpu() local 577 updatepri(struct thread * td) updatepri() argument 602 resetpriority(struct thread * td) resetpriority() argument 621 resetpriority_thread(struct thread * td) resetpriority_thread() argument 723 sched_clock_tick(struct thread * td) sched_clock_tick() argument 768 sched_clock(struct thread * td,int cnt) sched_clock() argument 779 sched_exit(struct proc * p,struct thread * td) sched_exit() argument 790 sched_exit_thread(struct thread * td,struct thread * child) sched_exit_thread() argument 806 sched_fork(struct thread * td,struct thread * childtd) sched_fork() argument 812 sched_fork_thread(struct thread * td,struct thread * childtd) sched_fork_thread() argument 833 struct thread *td; sched_nice() local 846 sched_class(struct thread * td,int class) sched_class() argument 856 sched_priority(struct thread * td,u_char prio) sched_priority() argument 885 sched_lend_prio(struct thread * td,u_char prio) sched_lend_prio() argument 901 sched_unlend_prio(struct thread * td,u_char prio) sched_unlend_prio() argument 918 sched_prio(struct thread * td,u_char prio) sched_prio() argument 945 sched_ithread_prio(struct thread * td,u_char prio) sched_ithread_prio() argument 954 sched_user_prio(struct thread * td,u_char prio) sched_user_prio() argument 965 sched_lend_user_prio(struct thread * td,u_char prio) sched_lend_user_prio() argument 981 sched_lend_user_prio_cond(struct thread * td,u_char prio) sched_lend_user_prio_cond() argument 993 sched_sleep(struct thread * td,int pri) sched_sleep() argument 1006 sched_switch(struct thread * td,int flags) sched_switch() argument 1134 sched_wakeup(struct thread * td,int srqflags) sched_wakeup() argument 1285 sched_pickcpu(struct thread * td) sched_pickcpu() argument 1311 sched_add(struct thread * td,int flags) sched_add() argument 1459 sched_rem(struct thread * td) sched_rem() argument 1491 struct thread *td; sched_choose() local 1534 sched_preempt(struct thread * td) sched_preempt() argument 1551 sched_userret_slowpath(struct thread * td) sched_userret_slowpath() argument 1561 sched_bind(struct thread * td,int cpu) sched_bind() argument 1582 sched_unbind(struct thread * td) sched_unbind() argument 1590 sched_is_bound(struct thread * td) sched_is_bound() argument 1597 sched_relinquish(struct thread * td) sched_relinquish() argument 1622 sched_pctcpu(struct thread * td) sched_pctcpu() argument 1637 sched_pctcpu_delta(struct thread * td) sched_pctcpu_delta() argument 1666 sched_estcpu(struct thread * td) sched_estcpu() argument 1696 sched_throw_tail(struct thread * td) sched_throw_tail() argument 1732 sched_throw(struct thread * td) sched_throw() argument 1746 sched_fork_exit(struct thread * td) sched_fork_exit() argument 1765 sched_tdname(struct thread * td) sched_tdname() argument 1782 sched_clear_tdname(struct thread * td) sched_clear_tdname() argument 1792 sched_affinity(struct thread * td) sched_affinity() argument [all...] |
H A D | subr_trap.c | 86 userret(struct thread *td, struct trapframe *frame) in userret() argument 88 struct proc *p = td->td_proc; in userret() 90 CTR3(KTR_SYSC, "userret: thread %p (pid %d, %s)", td, p->p_pid, in userret() 91 td->td_name); in userret() 106 thread_lock(td); in userret() 108 (td->td_pflags & TDP_SIGFASTBLOCK) == 0 && in userret() 109 SIGPENDING(td) && !td_ast_pending(td, TDA_AST) && in userret() 110 !td_ast_pending(td, TDA_SIG)) { in userret() 111 thread_unlock(td); in userret() 115 p, td, td->td_ast, td->td_flags); in userret() [all …]
|
H A D | kern_thread.c | 148 static void thread_unsuspend_one(struct thread *td, struct proc *p, 150 static void thread_free_batched(struct thread *td); 306 tidbatch_add(struct tidbatch *tb, struct thread *td) in tidbatch_add() argument 311 tb->tab[tb->n] = td->td_tid; in tidbatch_add() 353 tdcountbatch_add(struct tdcountbatch *tb, struct thread *td __unused) in tdcountbatch_add() 384 struct thread *td; in thread_ctor() local 386 td = (struct thread *)mem; in thread_ctor() 387 TD_SET_STATE(td, TDS_INACTIVE); in thread_ctor() 388 td->td_lastcpu = td->td_oncpu = NOCPU; in thread_ctor() 395 td->td_critnest = 1; in thread_ctor() [all …]
|
H A D | subr_syscall.c | 53 syscallenter(struct thread *td) in syscallenter() argument 62 p = td->td_proc; in syscallenter() 63 sa = &td->td_sa; in syscallenter() 65 td->td_pticks = 0; in syscallenter() 66 if (__predict_false(td->td_cowgen != atomic_load_int(&p->p_cowgen))) in syscallenter() 67 thread_cow_update(td); in syscallenter() 69 if (__predict_false(traced || td->td_dbgflags & TDB_USERWR)) { in syscallenter() 71 MPASS((td->td_dbgflags & TDB_BOUNDARY) == 0); in syscallenter() 72 td->td_dbgflags &= ~TDB_USERWR; in syscallenter() 74 td->td_dbgflags |= TDB_SCE; in syscallenter() [all …]
|
H A D | sched_ule.c | 82 #define TS_NAME_LEN (MAXCOMLEN + sizeof(" td ") + sizeof(__XSTRING(UINT_MAX))) 109 #define THREAD_CAN_MIGRATE(td) ((td)->td_pinned == 0) argument 110 #define THREAD_CAN_SCHED(td, cpu) \ argument 111 CPU_ISSET((cpu), &(td)->td_cpuset->cs_mask) 390 struct thread *td; in runq_print() local 402 TAILQ_FOREACH(td, rqh, td_runq) { in runq_print() 404 td, td->td_name, td in runq_print() 478 tdq_runq_add(struct tdq * tdq,struct thread * td,int flags) tdq_runq_add() argument 529 tdq_runq_rem(struct tdq * tdq,struct thread * td) tdq_runq_rem() argument 556 tdq_load_add(struct tdq * tdq,struct thread * td) tdq_load_add() argument 574 tdq_load_rem(struct tdq * tdq,struct thread * td) tdq_load_rem() argument 620 struct thread *td; tdq_setlowpri() local 849 struct thread *td; sched_balance_group() local 995 struct thread *td; tdq_move() local 1190 struct thread *td, *first; runq_steal_from() local 1236 struct thread *td; runq_steal() local 1263 struct thread *td; tdq_steal() local 1279 sched_setcpu(struct thread * td,int cpu,int flags) sched_setcpu() argument 1319 sched_pickcpu(struct thread * td,int flags) sched_pickcpu() argument 1459 struct thread *td; tdq_choose() local 1614 sched_interact_score(struct thread * td) sched_interact_score() argument 1654 sched_priority(struct thread * td) sched_priority() argument 1705 sched_interact_update(struct thread * td) sched_interact_update() argument 1750 sched_interact_fork(struct thread * td) sched_interact_fork() argument 1850 sched_thread_priority(struct thread * td,u_char prio) sched_thread_priority() argument 1903 sched_lend_prio(struct thread * td,u_char prio) sched_lend_prio() argument 1919 sched_unlend_prio(struct thread * td,u_char prio) sched_unlend_prio() argument 1939 sched_prio(struct thread * td,u_char prio) sched_prio() argument 1969 sched_ithread_prio(struct thread * td,u_char prio) sched_ithread_prio() argument 1981 sched_user_prio(struct thread * td,u_char prio) sched_user_prio() argument 1991 sched_lend_user_prio(struct thread * td,u_char prio) sched_lend_user_prio() argument 2007 sched_lend_user_prio_cond(struct thread * td,u_char prio) sched_lend_user_prio_cond() argument 2131 sched_switch_migrate(struct tdq * tdq,struct thread * td,int flags) sched_switch_migrate() argument 2166 thread_unblock_switch(struct thread * td,struct mtx * mtx) thread_unblock_switch() argument 2179 sched_switch(struct thread * td,int flags) sched_switch() argument 2314 struct thread *td; sched_nice() local 2331 sched_sleep(struct thread * td,int prio) sched_sleep() argument 2354 sched_wakeup(struct thread * td,int srqflags) sched_wakeup() argument 2395 sched_fork(struct thread * td,struct thread * child) sched_fork() argument 2414 sched_fork_thread(struct thread * td,struct thread * child) sched_fork_thread() argument 2460 sched_class(struct thread * td,int class) sched_class() argument 2475 struct thread *td; sched_exit() local 2491 sched_exit_thread(struct thread * td,struct thread * child) sched_exit_thread() argument 2509 sched_preempt(struct thread * td) sched_preempt() argument 2540 sched_userret_slowpath(struct thread * td) sched_userret_slowpath() argument 2559 td_slice(struct thread * td,struct tdq * tdq) td_slice() argument 2571 sched_clock(struct thread * td,int cnt) sched_clock() argument 2685 struct thread *td; sched_choose() local 2732 tdq_add(struct tdq * tdq,struct thread * td,int flags) tdq_add() argument 2760 sched_add(struct thread * td,int flags) sched_add() argument 2820 sched_rem(struct thread * td) sched_rem() argument 2843 sched_pctcpu(struct thread * td) sched_pctcpu() argument 2869 sched_affinity(struct thread * td) sched_affinity() argument 2900 sched_bind(struct thread * td,int cpu) sched_bind() argument 2924 sched_unbind(struct thread * td) sched_unbind() argument 2938 sched_is_bound(struct thread * td) sched_is_bound() argument 2948 sched_relinquish(struct thread * td) sched_relinquish() argument 2998 struct thread *td; sched_idletd() local 3125 sched_throw(struct thread * td) sched_throw() argument 3152 sched_fork_exit(struct thread * td) sched_fork_exit() argument 3178 sched_tdname(struct thread * td) sched_tdname() argument 3195 sched_clear_tdname(struct thread * td) sched_clear_tdname() argument [all...] |
H A D | subr_sleepqueue.c | 172 static void sleepq_resume_thread(struct sleepqueue *sq, struct thread *td, 174 static void sleepq_remove_thread(struct sleepqueue *sq, struct thread *td); 312 struct thread *td; in sleepq_add() local 314 td = curthread; in sleepq_add() 317 MPASS(td->td_sleepqueue != NULL); in sleepq_add() 328 __func__, td, wchan)); in sleepq_add() 343 sq = td->td_sleepqueue; in sleepq_add() 363 sq = td->td_sleepqueue; in sleepq_add() 371 LIST_INSERT_HEAD(&sq->sq_free, td->td_sleepqueue, sq_hash); in sleepq_add() 373 thread_lock(td); in sleepq_add() [all …]
|
H A D | subr_turnstile.c | 161 static void propagate_priority(struct thread *td); 163 struct thread *td); 186 propagate_unlock_td(struct turnstile *top, struct thread *td) in propagate_unlock_td() argument 189 if (td->td_lock != &top->ts_lock) in propagate_unlock_td() 190 thread_unlock(td); in propagate_unlock_td() 199 propagate_priority(struct thread *td) in propagate_priority() argument 204 THREAD_LOCK_ASSERT(td, MA_OWNED); in propagate_priority() 205 pri = td->td_priority; in propagate_priority() 206 top = ts = td->td_blocked; in propagate_priority() 207 THREAD_LOCKPTR_ASSERT(td, &ts->ts_lock); in propagate_priority() [all …]
|
H A D | kern_sig.c | 105 static int killpg1(struct thread *td, int sig, int pgid, int all, 107 static int issignal(struct thread *td); 117 static void sigfastblock_setpend(struct thread *td, bool resched); 281 ast_sig(struct thread *td, int tda) 287 p = td->td_proc; in ast_sig() 293 thread_lock(td); in ast_sig() 302 (td->td_pflags & TDP_SIGFASTBLOCK) == 0) { in ast_sig() 303 if (SIGPENDING(td) && ((tda | td->td_ast) & in ast_sig() 305 thread_unlock(td); /* fi in ast_sig() 282 ast_sig(struct thread * td,int tda) ast_sig() argument 350 ast_sigsuspend(struct thread * td,int tda __unused) ast_sigsuspend() argument 710 cursig(struct thread * td) cursig() argument 724 signotify(struct thread * td) signotify() argument 741 struct thread *td; sigonstack() local 784 kern_sigaction(struct thread * td,int sig,const struct sigaction * act,struct sigaction * oact,int flags) kern_sigaction() argument 936 sys_sigaction(struct thread * td,struct sigaction_args * uap) sys_sigaction() argument 964 freebsd4_sigaction(struct thread * td,struct freebsd4_sigaction_args * uap) freebsd4_sigaction() argument 993 osigaction(struct thread * td,struct osigaction_args * uap) osigaction() argument 1027 osigreturn(struct thread * td,struct osigreturn_args * uap) osigreturn() argument 1079 struct thread *td; execsigs() local 1116 kern_sigprocmask(struct thread * td,int how,sigset_t * set,sigset_t * oset,int flags) kern_sigprocmask() argument 1190 sys_sigprocmask(struct thread * td,struct sigprocmask_args * uap) sys_sigprocmask() argument 1218 osigprocmask(struct thread * td,struct osigprocmask_args * uap) osigprocmask() argument 1231 sys_sigwait(struct thread * td,struct sigwait_args * uap) sys_sigwait() argument 1264 sys_sigtimedwait(struct thread * td,struct sigtimedwait_args * uap) sys_sigtimedwait() argument 1298 sys_sigwaitinfo(struct thread * td,struct sigwaitinfo_args * uap) sys_sigwaitinfo() argument 1321 proc_td_siginfo_capture(struct thread * td,siginfo_t * si) proc_td_siginfo_capture() argument 1334 kern_sigtimedwait(struct thread * td,sigset_t waitset,ksiginfo_t * ksi,struct timespec * timeout) kern_sigtimedwait() argument 1473 sys_sigpending(struct thread * td,struct sigpending_args * uap) sys_sigpending() argument 1492 osigpending(struct thread * td,struct osigpending_args * uap) osigpending() argument 1519 osigvec(struct thread * td,struct osigvec_args * uap) osigvec() argument 1557 osigblock(struct thread * td,struct osigblock_args * uap) osigblock() argument 1573 osigsetmask(struct thread * td,struct osigsetmask_args * uap) osigsetmask() argument 1595 sys_sigsuspend(struct thread * td,struct sigsuspend_args * uap) sys_sigsuspend() argument 1607 kern_sigsuspend(struct thread * td,sigset_t mask) kern_sigsuspend() argument 1673 osigsuspend(struct thread * td,struct osigsuspend_args * uap) osigsuspend() argument 1691 osigstack(struct thread * td,struct osigstack_args * uap) osigstack() argument 1724 sys_sigaltstack(struct thread * td,struct sigaltstack_args * uap) sys_sigaltstack() argument 1744 kern_sigaltstack(struct thread * td,stack_t * ss,stack_t * oss) kern_sigaltstack() argument 1776 struct thread *td; global() member 1830 killpg1(struct thread * td,int sig,int pgid,int all,ksiginfo_t * ksi) killpg1() argument 1891 sys_kill(struct thread * td,struct kill_args * uap) sys_kill() argument 1898 kern_kill(struct thread * td,pid_t pid,int signum) kern_kill() argument 1950 sys_pdkill(struct thread * td,struct pdkill_args * uap) sys_pdkill() argument 1980 okillpg(struct thread * td,struct okillpg_args * uap) okillpg() argument 2006 sys_sigqueue(struct thread * td,struct sigqueue_args * uap) sys_sigqueue() argument 2016 kern_sigqueue(struct thread * td,pid_t pid,int signum,union sigval * value) kern_sigqueue() argument 2077 postsig_done(int sig,struct thread * td,struct sigacts * ps) postsig_done() argument 2098 trapsignal(struct thread * td,ksiginfo_t * ksi) trapsignal() argument 2152 struct thread *td, *signal_td; sigtd() local 2220 struct thread *td; sigev_findtd() local 2235 tdsignal(struct thread * td,int sig) tdsignal() argument 2246 tdksignal(struct thread * td,int sig,ksiginfo_t * ksi) tdksignal() argument 2253 sig_sleepq_abort(struct thread * td,int intrval) sig_sleepq_abort() argument 2265 tdsendsignal(struct proc * p,struct thread * td,int sig,ksiginfo_t * ksi) tdsendsignal() argument 2554 tdsigwakeup(struct thread * td,int sig,sig_t action,int intrval) tdsigwakeup() argument 2636 ptrace_coredumpreq(struct thread * td,struct proc * p,struct thr_coredump_req * tcq) ptrace_coredumpreq() argument 2653 ptrace_syscallreq(struct thread * td,struct proc * p,struct thr_syscall_req * tsr) ptrace_syscallreq() argument 2739 ptrace_remotereq(struct thread * td,int flag) ptrace_remotereq() argument 2771 sig_suspend_threads(struct thread * td,struct proc * p) sig_suspend_threads() argument 2820 ptracestop(struct thread * td,int sig,ksiginfo_t * si) ptracestop() argument 2947 struct thread *td; reschedule_signals() local 2986 tdsigcleanup(struct thread * td) tdsigcleanup() argument 3034 struct thread *td; sigdeferstop_impl() local 3076 struct thread *td; sigallowstop_impl() local 3109 sigprocess(struct thread * td,int sig) sigprocess() argument 3291 issignal(struct thread * td) issignal() argument 3388 struct thread *td; postsig() local 3458 sig_ast_checksusp(struct thread * td) sig_ast_checksusp() argument 3475 sig_ast_needsigchk(struct thread * td) sig_ast_needsigchk() argument 3525 struct thread *td; sig_intr() local 3546 struct thread *td; curproc_sigkilled() local 3609 sigexit(struct thread * td,int sig) sigexit() argument 3838 vnode_close_locked(struct thread * td,struct vnode * vp) vnode_close_locked() argument 3853 corefile_open_last(struct thread * td,char * name,int indexpos,int indexlen,int ncores,struct vnode ** vpp) corefile_open_last() argument 3950 corefile_open(const char * comm,uid_t uid,pid_t pid,struct thread * td,int compress,int signum,struct vnode ** vpp,char ** namep) corefile_open() argument 4080 coredump(struct thread * td) coredump() argument 4228 nosys(struct thread * td,struct nosys_args * args) nosys() argument 4394 sigfastblock_failed(struct thread * td,bool sendsig,bool write) sigfastblock_failed() argument 4414 sigfastblock_fetch_sig(struct thread * td,bool sendsig,uint32_t * valp) sigfastblock_fetch_sig() argument 4430 sigfastblock_resched(struct thread * td,bool resched) sigfastblock_resched() argument 4444 sys_sigfastblock(struct thread * td,struct sigfastblock_args * uap) sys_sigfastblock() argument 4541 sigfastblock_clear(struct thread * td) sigfastblock_clear() argument 4555 sigfastblock_fetch(struct thread * td) sigfastblock_fetch() argument 4563 sigfastblock_setpend1(struct thread * td) sigfastblock_setpend1() argument 4594 sigfastblock_setpend(struct thread * td,bool resched) sigfastblock_setpend() argument [all...] |
H A D | kern_switch.c | 153 choosethread_panic(struct thread *td) in choosethread_panic() argument 161 if (((td->td_proc->p_flag & P_SYSTEM) == 0 && in choosethread_panic() 162 (td->td_flags & TDF_INPANIC) == 0)) { in choosethread_panic() 164 TD_SET_CAN_RUN(td); in choosethread_panic() 165 td = sched_choose(); in choosethread_panic() 169 TD_SET_RUNNING(td); in choosethread_panic() 170 return (td); in choosethread_panic() 176 struct thread *td; in choosethread() local 178 td = sched_choose(); in choosethread() 181 return (choosethread_panic(td)); in choosethread() [all …]
|
H A D | kern_synch.c | 134 struct thread *td __ktrace_used; in _sleep() 141 td = curthread; in _sleep() 143 if (KTRPOINT(td, KTR_CSW)) in _sleep() 152 KASSERT(TD_IS_RUNNING(td), ("_sleep: curthread not running")); in _sleep() 169 KASSERT(!TD_ON_SLEEPQ(td), ("recursive sleep")); in _sleep() 181 td->td_tid, td->td_proc->p_pid, td->td_name, wmesg, ident); in _sleep() 202 * stopped, then td will no longer be on a sleep queue upon in _sleep() 225 if (KTRPOINT(td, KTR_CS in _sleep() 490 struct thread *td; mi_switch() local 568 setrunnable(struct thread * td,int srqflags) setrunnable() argument 637 ast_scheduler(struct thread * td,int tda __unused) ast_scheduler() argument 680 struct thread *td; kern_yield() local 697 sys_yield(struct thread * td,struct yield_args * uap) sys_yield() argument 709 sys_sched_getcpu(struct thread * td,struct sched_getcpu_args * uap) sys_sched_getcpu() argument [all...] |
/freebsd/sys/sys/ |
H A D | syscallsubr.h | 84 int kern___getcwd(struct thread *td, char *buf, enum uio_seg bufseg, 86 int kern_abort2(struct thread *td, const char *why, int nargs, 88 int kern_accept(struct thread *td, int s, struct sockaddr *sa, 90 int kern_accept4(struct thread *td, int s, struct sockaddr *sa, 92 int kern_accessat(struct thread *td, int fd, const char *path, 94 int kern_adjtime(struct thread *td, struct timeval *delta, 96 int kern_bindat(struct thread *td, int dirfd, int fd, struct sockaddr *sa); 97 int kern_break(struct thread *td, uintptr_t *addr); 98 int kern_cap_ioctls_limit(struct thread *td, int fd, u_long *cmds, 100 int kern_cap_rights_limit(struct thread *td, int fd, cap_rights_t *rights); [all …]
|
/freebsd/sys/dev/usb/controller/ |
H A D | dwc_otg.c | 715 dwc_otg_host_check_tx_fifo_empty(struct dwc_otg_softc *sc, struct dwc_otg_td *td) in dwc_otg_host_check_tx_fifo_empty() argument 721 if (td->ep_type == UE_ISOCHRONOUS) { in dwc_otg_host_check_tx_fifo_empty() 750 struct dwc_otg_td *td, uint8_t is_out) in dwc_otg_host_channel_alloc() argument 756 if (td->channel[0] < DWC_OTG_MAX_CHANNELS) in dwc_otg_host_channel_alloc() 760 if (DWC_OTG_PC2UDEV(td->pc)->flags.self_suspended != 0) in dwc_otg_host_channel_alloc() 765 if (dwc_otg_host_check_tx_fifo_empty(sc, td) != 0) in dwc_otg_host_channel_alloc() 768 z = td->max_packet_count; in dwc_otg_host_channel_alloc() 777 td->channel[y++] = x; in dwc_otg_host_channel_alloc() 784 td->channel[0] = DWC_OTG_MAX_CHANNELS; in dwc_otg_host_channel_alloc() 785 td in dwc_otg_host_channel_alloc() 814 dwc_otg_host_channel_free_sub(struct dwc_otg_softc * sc,struct dwc_otg_td * td,uint8_t index) dwc_otg_host_channel_free_sub() argument 860 dwc_otg_host_channel_free(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_host_channel_free() argument 868 dwc_otg_host_dump_rx(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_host_dump_rx() argument 884 dwc_otg_host_setup_tx(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_host_setup_tx() argument 1094 dwc_otg_setup_rx(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_setup_rx() argument 1196 dwc_otg_host_rate_check_interrupt(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_host_rate_check_interrupt() argument 1215 dwc_otg_host_rate_check(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_host_rate_check() argument 1253 dwc_otg_host_data_rx_sub(struct dwc_otg_softc * sc,struct dwc_otg_td * td,uint8_t channel) dwc_otg_host_data_rx_sub() argument 1351 dwc_otg_host_data_rx(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_host_data_rx() argument 1661 dwc_otg_data_rx(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_data_rx() argument 1789 dwc_otg_host_data_tx(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_host_data_tx() argument 2127 dwc_otg_data_tx(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_data_tx() argument 2316 dwc_otg_data_tx_sync(struct dwc_otg_softc * sc,struct dwc_otg_td * td) dwc_otg_data_tx_sync() argument 2360 struct dwc_otg_td *td; dwc_otg_xfer_do_fifo() local 2413 struct dwc_otg_td *td; dwc_otg_xfer_do_complete_locked() local 2493 struct dwc_otg_td *td; dwc_otg_update_host_transfer_schedule_locked() local 3088 struct dwc_otg_td *td; dwc_otg_setup_standard_chain_sub() local 3125 struct dwc_otg_td *td; dwc_otg_setup_standard_chain() local 3458 struct dwc_otg_td *td = xfer->td_transfer_cache; dwc_otg_start_standard_chain() local 3507 struct dwc_otg_td *td; dwc_otg_standard_done_sub() local 3630 struct dwc_otg_td *td; dwc_otg_device_done() local 4838 struct dwc_otg_td *td; dwc_otg_xfer_setup() local [all...] |
H A D | musb_otg.c | 134 static int musbotg_channel_alloc(struct musbotg_softc *, struct musbotg_td *td, uint8_t); 135 static void musbotg_channel_free(struct musbotg_softc *, struct musbotg_td *td); 172 musbotg_channel_alloc(struct musbotg_softc *sc, struct musbotg_td *td, uint8_t is_tx) in musbotg_channel_alloc() argument 177 ep = td->ep_no; in musbotg_channel_alloc() 202 if (td->max_frame_size > in musbotg_channel_alloc() 206 if (td->max_frame_size > in musbotg_channel_alloc() 221 musbotg_channel_free(struct musbotg_softc *sc, struct musbotg_td *td) in musbotg_channel_free() argument 224 DPRINTFN(1, "ep_no=%d\n", td->channel); in musbotg_channel_free() 229 if (td == NULL) in musbotg_channel_free() 231 if (td->channel == -1) in musbotg_channel_free() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | testmode.c | 33 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_tx_pending() local 36 struct sk_buff *skb = td->tx_skb; in mt76_testmode_tx_pending() 41 if (!skb || !td->tx_pending) in mt76_testmode_tx_pending() 47 tx_queued_limit = td->tx_queued_limit ? td->tx_queued_limit : 1000; in mt76_testmode_tx_pending() 51 while (td->tx_pending > 0 && in mt76_testmode_tx_pending() 52 td->tx_queued - td->tx_done < tx_queued_limit && in mt76_testmode_tx_pending() 61 td->tx_pending--; in mt76_testmode_tx_pending() 62 td->tx_queued++; in mt76_testmode_tx_pending() 95 struct mt76_testmode_data *td = &phy->test; in mt76_testmode_free_skb() local 97 dev_kfree_skb(td->tx_skb); in mt76_testmode_free_skb() [all …]
|
/freebsd/sys/arm/arm/ |
H A D | machdep_ptrace.c | 39 ptrace_read_int(struct thread *td, vm_offset_t addr, uint32_t *v) in ptrace_read_int() argument 42 if (proc_readmem(td, td->td_proc, addr, v, sizeof(*v)) != sizeof(*v)) in ptrace_read_int() 48 ptrace_write_int(struct thread *td, vm_offset_t addr, uint32_t v) in ptrace_write_int() argument 51 if (proc_writemem(td, td->td_proc, addr, &v, sizeof(v)) != sizeof(v)) in ptrace_write_int() 60 struct thread *td = cookie; in ptrace_get_usr_reg() local 67 ret = td->td_frame->tf_pc; in ptrace_get_usr_reg() 70 ret = td->td_frame->tf_usr_lr; in ptrace_get_usr_reg() 73 ret = td->td_frame->tf_usr_sp; in ptrace_get_usr_reg() 76 ret = *((register_t*)&td->td_frame->tf_r0 + reg); in ptrace_get_usr_reg() 86 struct thread *td = cookie; in ptrace_get_usr_int() local [all …]
|
/freebsd/sys/ddb/ |
H A D | db_ps.c | 55 static void dumpthread(volatile struct proc *p, volatile struct thread *td, 142 volatile struct thread *td; in db_ps_proc() local 175 FOREACH_THREAD_IN_PROC(p, td) { in db_ps_proc() 176 if (TD_GET_STATE(td) == TDS_RUNNING || in db_ps_proc() 177 TD_GET_STATE(td) == TDS_RUNQ || in db_ps_proc() 178 TD_GET_STATE(td) == TDS_CAN_RUN) in db_ps_proc() 180 if (TD_ON_LOCK(td)) in db_ps_proc() 182 if (TD_IS_SLEEPING(td)) { in db_ps_proc() 183 if (!(td->td_flags & TDF_SINTR)) in db_ps_proc() 188 if (TD_AWAITING_INTR(td)) in db_ps_proc() 262 dumpthread(volatile struct proc * p,volatile struct thread * td,int all) dumpthread() argument 348 struct thread *td; DB_SHOW_COMMAND() local 446 struct thread *td; DB_SHOW_COMMAND() local 517 struct thread *td; db_findstack_cmd() local [all...] |
/freebsd/sys/powerpc/powerpc/ |
H A D | copyinout.c | 161 struct thread *td; in REMAP() local 168 td = curthread; in REMAP() 169 pm = &td->td_proc->p_vmspace->vm_pmap; in REMAP() 171 td->td_pcb->pcb_onfault = &env; in REMAP() 173 td->td_pcb->pcb_onfault = NULL; in REMAP() 182 td->td_pcb->pcb_onfault = NULL; in REMAP() 193 td->td_pcb->pcb_onfault = NULL; in REMAP() 200 struct thread *td; in REMAP() local 207 td = curthread; in REMAP() 208 pm = &td->td_proc->p_vmspace->vm_pmap; in REMAP() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.td | 1 //===-- X86InstrInfo.td - Main X86 Instruction Properties --*- tablegen -*-===// 17 include "X86InstrFragments.td" 18 include "X86InstrFragmentsSIMD.td" 23 include "X86InstrOperands.td" 28 include "X86InstrPredicates.td" 33 include "X86InstrFormats.td" 38 include "X86InstrUtils.td" 44 include "X86InstrMisc.td" 45 include "X86InstrTBM.td" 46 include "X86InstrArithmetic.td" [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dmu_traverse.c | 71 static int traverse_dnode(traverse_data_t *td, const blkptr_t *bp, 73 static void prefetch_dnode_metadata(traverse_data_t *td, const dnode_phys_t *, 80 traverse_data_t *td = arg; in traverse_zil_block() local 87 BP_GET_LOGICAL_BIRTH(bp) >= spa_min_claim_txg(td->td_spa)) in traverse_zil_block() 90 SET_BOOKMARK(&zb, td->td_objset, ZB_ZIL_OBJECT, ZB_ZIL_LEVEL, in traverse_zil_block() 93 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, td->td_arg); in traverse_zil_block() 102 traverse_data_t *td = arg; in traverse_zil_record() local 116 SET_BOOKMARK(&zb, td->td_objset, lr->lr_foid, in traverse_zil_record() 119 (void) td->td_func(td->td_spa, zilog, bp, &zb, NULL, in traverse_zil_record() 120 td->td_arg); in traverse_zil_record() [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | vm_machdep.c | 117 cpu_set_syscall_retval(struct thread *td, int error) in cpu_thread_swapin() argument 121 frame = td->td_frame; 124 frame->tf_a[0] = td->td_retval[0]; in cpu_thread_swapout() 125 frame->tf_a[1] = td->td_retval[1]; 151 cpu_copy_thread(struct thread *td, struct thread *td0) in cpu_set_syscall_retval() 154 bcopy(td0->td_frame, td->td_frame, sizeof(struct trapframe)); 155 bcopy(td0->td_pcb, td->td_pcb, sizeof(struct pcb)); 157 td->td_pcb->pcb_s[0] = (uintptr_t)fork_return; 158 td->td_pcb->pcb_s[1] = (uintptr_t)td; 122 cpu_thread_swapout(struct thread * td) cpu_thread_swapout() argument 127 cpu_set_syscall_retval(struct thread * td,int error) cpu_set_syscall_retval() argument 161 cpu_copy_thread(struct thread * td,struct thread * td0) cpu_copy_thread() argument 182 cpu_set_upcall(struct thread * td,void (* entry)(void *),void * arg,stack_t * stack) cpu_set_upcall() argument 196 cpu_set_user_tls(struct thread * td,void * tls_base) cpu_set_user_tls() argument 212 cpu_thread_exit(struct thread * td) cpu_thread_exit() argument 217 cpu_thread_alloc(struct thread * td) cpu_thread_alloc() argument 227 cpu_thread_free(struct thread * td) cpu_thread_free() argument 232 cpu_thread_clean(struct thread * td) cpu_thread_clean() argument 243 cpu_fork_kthread_handler(struct thread * td,void (* func)(void *),void * arg) cpu_fork_kthread_handler() argument 253 cpu_exit(struct thread * td) cpu_exit() argument [all...] |