myproc 246 console.c if(myproc()->killed){ myproc 112 defs.h struct proc* myproc(); myproc 20 exec.c struct proc *curproc = myproc(); myproc 632 fs.c ip = idup(myproc()->cwd); myproc 86 pipe.c if(p->readopen == 0 || myproc()->killed){ myproc 107 pipe.c if(myproc()->killed){ myproc 162 proc.c struct proc *curproc = myproc(); myproc 185 proc.c struct proc *curproc = myproc(); myproc 230 proc.c struct proc *curproc = myproc(); myproc 277 proc.c struct proc *curproc = myproc(); myproc 369 proc.c struct proc *p = myproc(); myproc 389 proc.c myproc()->state = RUNNABLE; myproc 420 proc.c struct proc *p = myproc(); myproc 30 sleeplock.c lk->pid = myproc()->pid; myproc 50 sleeplock.c r = lk->locked && (lk->pid == myproc()->pid); myproc 20 syscall.c struct proc *curproc = myproc(); myproc 35 syscall.c struct proc *curproc = myproc(); myproc 52 syscall.c return fetchint((myproc()->tf->esp) + 4 + 4*n, ip); myproc 62 syscall.c struct proc *curproc = myproc(); myproc 135 syscall.c struct proc *curproc = myproc(); myproc 29 sysfile.c if(fd < 0 || fd >= NOFILE || (f=myproc()->ofile[fd]) == 0) myproc 44 sysfile.c struct proc *curproc = myproc(); myproc 101 sysfile.c myproc()->ofile[fd] = 0; myproc 376 sysfile.c struct proc *curproc = myproc(); myproc 436 sysfile.c myproc()->ofile[fd0] = 0; myproc 42 sysproc.c return myproc()->pid; myproc 53 sysproc.c addr = myproc()->sz; myproc 70 sysproc.c if(myproc()->killed){ myproc 40 trap.c if(myproc()->killed) myproc 42 trap.c myproc()->tf = tf; myproc 44 trap.c if(myproc()->killed) myproc 83 trap.c if(myproc() == 0 || (tf->cs&3) == 0){ myproc 92 trap.c myproc()->pid, myproc()->name, tf->trapno, myproc 94 trap.c myproc()->killed = 1; myproc 100 trap.c if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER) myproc 105 trap.c if(myproc() && myproc()->state == RUNNING && myproc 110 trap.c if(myproc() && myproc()->killed && (tf->cs&3) == DPL_USER)