Lines Matching defs:tcb
339 struct tcb {
360 struct tcb *parent; /* Parent of this process */
389 /* TCB flags */
498 extern struct tcb **tcbtab;
507 extern struct tcb *tcp_last;
513 extern struct tcb *alloc_tcb(int, int);
514 extern struct tcb *pid2tcb(int);
515 extern void droptcb(struct tcb *);
523 extern int get_scno(struct tcb *);
524 extern long known_scno(struct tcb *);
525 extern long do_ptrace(int request, struct tcb *tcp, void *addr, void *data);
526 extern int ptrace_restart(int request, struct tcb *tcp, int sig);
527 extern int force_result(struct tcb *, int, long);
528 extern int trace_syscall(struct tcb *);
529 extern int count_syscall(struct tcb
531 extern int printargs(struct tcb *);
535 extern int umoven(struct tcb *, long, int, char *);
536 extern int umovestr(struct tcb *, long, int, char *);
537 extern int upeek(struct tcb *, long, long *);
538 extern void dumpiov(struct tcb *, int, long);
539 extern void dumpstr(struct tcb *, long, int);
540 extern void printstr(struct tcb *, long, int);
541 extern void printnum(struct tcb *, long, const char *);
542 extern void printnum_int(struct tcb *, long, const char *);
543 extern void printpath(struct tcb *, long);
544 extern void printpathn(struct tcb *, long, int);
545 extern void printtv_bitness(struct tcb *, long, enum bitness_t, int);
546 extern void sprinttv(struct tcb *, long, enum bitness_t, char *);
547 extern void print_timespec(struct tcb *, long);
548 extern void sprint_timespec(char *, struct tcb *, long);
552 extern void printfd(struct tcb *, int);
553 extern void printsock(struct tcb *, long, int);
554 extern void print_sock_optmgmt(struct tcb *, long, int);
555 extern void printrusage(struct tcb *, long);
557 extern int clearbpt(struct tcb *);
558 extern int setbpt(struct tcb *);
559 extern int sigishandled(struct tcb *, int);
560 extern void printcall(struct tcb *);
562 extern void print_sigset(struct tcb *, long, int);
564 extern void printleader(struct tcb *);
568 extern void tprint_iov(struct tcb *, unsigned long, unsigned long);
571 extern int is_restart_error(struct tcb *);
573 extern int change_syscall(struct tcb *, int);
574 extern int internal_fork(struct tcb *);
575 extern int internal_exec(struct tcb *);
576 extern int internal_wait(struct tcb *, int);
577 extern int internal_exit(struct tcb *);
579 extern int handle_new_child(struct tcb *, int, int);
584 extern int ioctl_decode(struct tcb *, long, long);
585 extern int term_ioctl(struct tcb *, long, long);
586 extern int sock_ioctl(struct tcb *, long, long);
587 extern int proc_ioctl(struct tcb *, int, int);
588 extern int stream_ioctl(struct tcb *, int, int);
590 extern int rtc_ioctl(struct tcb *, long, long);
591 extern int scsi_ioctl(struct tcb *, long, long);
592 extern int block_ioctl(struct tcb *, long, long);
604 extern int fixvfork(struct tcb *);
608 extern long getrval2(struct tcb *);
611 extern int proc_open(struct tcb *tcp, int attaching);
697 extern int printllval(struct tcb *, const char *, int);