Lines Matching refs:tcb
158 struct tcb *printing_tcp;
159 static struct tcb *current_tcp;
167 static struct tcb **tcbtab;
177 static void detach(struct tcb *tcp);
367 ptrace_restart(const unsigned int op, struct tcb *const tcp, unsigned int sig) in ptrace_restart()
523 outf_perror(const struct tcb * const tcp) in outf_perror()
598 flush_tcp_output(const struct tcb *const tcp) in flush_tcp_output()
618 set_current_tcp(const struct tcb *tcp) in set_current_tcp()
620 current_tcp = (struct tcb *) tcp; in set_current_tcp()
628 printleader(struct tcb *tcp) in printleader()
717 after_successful_attach(struct tcb *tcp, const unsigned int flags) in after_successful_attach()
742 struct tcb *newtcbs; in expand_tcbtab()
743 struct tcb **tcb_ptr; in expand_tcbtab()
755 static struct tcb *
759 struct tcb *tcp; in alloctcb()
782 get_tcb_priv_data(const struct tcb *tcp) in get_tcb_priv_data()
788 set_tcb_priv_data(struct tcb *tcp, void *const priv_data, in set_tcb_priv_data()
801 free_tcb_priv_data(struct tcb *tcp) in free_tcb_priv_data()
813 droptcb(struct tcb *tcp) in droptcb()
865 detach(struct tcb *tcp) in detach()
1048 attach_tcb(struct tcb *const tcp) in attach_tcb()
1110 struct tcb *tcp; in startup_attach()
1307 struct tcb *tcp; in startup_child()
1932 static struct tcb *
1941 static struct tcb *pid2tcb_cache[PID2TCB_CACHE_SIZE]; in pid2tcb()
1942 struct tcb **const ptcp = &pid2tcb_cache[pid & PID2TCB_CACHE_MASK]; in pid2tcb()
1943 struct tcb *tcp = *ptcp; in pid2tcb()
1961 struct tcb *tcp; in cleanup()
2032 static struct tcb *
2050 struct tcb *tcp = alloctcb(pid); in maybe_allocate_tcb()
2069 static struct tcb *
2070 maybe_switch_tcbs(struct tcb *tcp, const int pid) in maybe_switch_tcbs()
2073 struct tcb *execve_thread; in maybe_switch_tcbs()
2119 print_signalled(struct tcb *tcp, const int pid, int status) in print_signalled()
2142 print_exited(struct tcb *tcp, const int pid, int status) in print_exited()
2158 print_stopped(struct tcb *tcp, const siginfo_t *si, const unsigned int sig) in print_stopped()
2180 startup_tcb(struct tcb *tcp) in startup_tcb()
2202 print_event_exit(struct tcb *tcp) in print_event_exit()
2247 struct tcb *tcp; in next_event()
2444 trace_syscall(struct tcb *tcp, unsigned int *sig) in trace_syscall()
2614 restart_delayed_tcb(struct tcb *const tcp) in restart_delayed_tcb()
2622 struct tcb *const prev_tcp = current_tcp; in restart_delayed_tcb()
2633 struct tcb *tcp_next = NULL; in restart_delayed_tcbs()
2639 struct tcb *tcp = tcbtab[i]; in restart_delayed_tcbs()