Lines Matching defs:Proc
33 typedef struct Proc Proc; typedef
658 struct Proc struct
667 Proc *rnext; /* next process in run queue */ argument
668 Proc *qnext; /* next process on queue for a QLock */ argument
676 Proc *pidhash; /* next proc in pid hash */ argument
684 Proc *parent; argument
686 Pgrp *pgrp; /* Process group for namespace */ argument
687 Egrp *egrp; /* Environment group */
711 Proc *pdbg; /* the debugging process */ argument
723 Proc *palarm; /* Next alarm time */ argument
730 Proc *rendhash; /* Hash list for tag values */ argument
733 Rendez *trend;
734 int (*tfn)(void*);
735 void (*kpfun)(void*);
736 void *kparg;
738 FPsave fpsave; /* address of this is known by db */
739 int scallnr; /* sys call number - known by db */
740 Sargs s; /* address of this is known by db */
741 int nerrlab;
742 Label errlab[NERR];
743 char *syserrstr; /* last error from a system call, errbuf0 or 1 */
744 char *errstr; /* reason we're unwinding the error stack, errbuf1 or 0 */
745 char errbuf0[ERRMAX];
746 char errbuf1[ERRMAX];
747 char genbuf[128]; /* buffer used e.g. for last name element from namec */
748 Chan *slash;
749 Chan *dot;
751 Note note[NNOTE];
752 short nnote;
753 short notified; /* sysnoted is due */
754 Note lastnote;
755 int (*notify)(void*, char*);
757 Lock *lockwait;
758 Lock *lastlock; /* debugging */
759 Lock *lastilock; /* debugging */
761 Mach *wired;
762 Mach *mp; /* machine this process last ran on */
763 Ref nlocks; /* number of locks held by proc */
764 ulong delaysched;
765 ulong priority; /* priority level */
766 ulong basepri; /* base priority level */
767 uchar fixedpri; /* priority level deson't change */
768 ulong cpu; /* cpu average */
769 ulong lastupdate;
770 uchar yield; /* non-zero if the process just did a sleep(0) */
771 ulong readytime; /* time process came ready */
772 ulong movetime; /* last time process switched processors */
773 int preempted; /* true if this process hasn't finished the interrupt
776 Edf *edf; /* if non-null, real-time proc, edf contains scheduling params */
777 int trace; /* process being traced? */
779 ulong qpc; /* pc calling last blocking qlock */
781 int setargs;
783 void *ureg; /* User registers for notes */
784 void *dbgreg; /* User registers for devproc */
791 char *syscalltrace; /* syscall trace */