Lines Matching defs:Proc

34 typedef struct Proc	Proc;  typedef
619 struct Proc struct
628 Proc *rnext; /* next process in run queue */ argument
629 Proc *qnext; /* next process on queue for a QLock */ argument
639 Proc *pidhash; /* next proc in pid hash */ argument
647 Proc *parent; argument
649 Pgrp *pgrp; /* Process group for namespace */ argument
673 Proc *pdbg; /* the debugging process */ argument
685 Proc *palarm; /* Next alarm time */ argument
691 Proc *rendhash; /* Hash list for tag values */ argument
694 Rendez *trend;
695 int (*tfn)(void*);
696 void (*kpfun)(void*);
697 void *kparg;
699 int scallnr; /* system call number */
700 uchar arg[MAXSYSARG*sizeof(void*)]; /* system call arguments */
701 int nerrlab;
702 Label errlab[NERR];
703 char *syserrstr; /* last error from a system call, errbuf0 or 1 */
704 char *errstr; /* reason we're unwinding the error stack, errbuf1 or 0 */
705 char errbuf0[ERRMAX];
706 char errbuf1[ERRMAX];
707 char genbuf[128]; /* buffer used e.g. for last name element from namec */
708 Chan *slash;
709 Chan *dot;
711 Note note[NNOTE];
712 short nnote;
713 short notified; /* sysnoted is due */
714 Note lastnote;
715 void (*notify)(void*, char*);
717 Lock *lockwait;
718 Lock *lastlock; /* debugging */
719 Lock *lastilock; /* debugging */
721 Mach *wired;
722 Mach *mp; /* machine this process last ran on */
723 int nlocks; /* number of locks held by proc */
724 ulong delaysched;
725 ulong priority; /* priority level */
726 ulong basepri; /* base priority level */
727 int fixedpri; /* priority level does not change */
728 ulong cpu; /* cpu average */
729 ulong lastupdate;
730 ulong readytime; /* time process came ready */
731 ulong movetime; /* last time process switched processors */
732 int preempted; /* true if this process hasn't finished the interrupt
735 Edf *edf; /* if non-null, real-time proc, edf contains scheduling params */
736 int trace; /* process being traced? */
738 uintptr qpc; /* pc calling last blocking qlock */
763 struct Procalloc argument
766 Proc* ht[128]; argument