ofile             307 kernel/proc.c      if(p->ofile[i])
ofile             308 kernel/proc.c        np->ofile[i] = filedup(p->ofile[i]);
ofile             356 kernel/proc.c      if(p->ofile[fd]){
ofile             357 kernel/proc.c        struct file *f = p->ofile[fd];
ofile             359 kernel/proc.c        p->ofile[fd] = 0;
ofile             104 kernel/proc.h    struct file *ofile[NOFILE];  // Open files
ofile              28 kernel/sysfile.c   if(fd < 0 || fd >= NOFILE || (f=myproc()->ofile[fd]) == 0)
ofile              46 kernel/sysfile.c     if(p->ofile[fd] == 0){
ofile              47 kernel/sysfile.c       p->ofile[fd] = f;
ofile             105 kernel/sysfile.c   myproc()->ofile[fd] = 0;
ofile             491 kernel/sysfile.c       p->ofile[fd0] = 0;
ofile             498 kernel/sysfile.c     p->ofile[fd0] = 0;
ofile             499 kernel/sysfile.c     p->ofile[fd1] = 0;