ofile             286 kernel/proc.c      if (p->ofile[i])
ofile             287 kernel/proc.c        np->ofile[i] = filedup(p->ofile[i]);
ofile             335 kernel/proc.c      if (p->ofile[fd]) {
ofile             336 kernel/proc.c        struct file *f = p->ofile[fd];
ofile             338 kernel/proc.c        p->ofile[fd] = 0;
ofile             101 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             515 kernel/sysfile.c       p->ofile[fd0] = 0;
ofile             523 kernel/sysfile.c     p->ofile[fd0] = 0;
ofile             524 kernel/sysfile.c     p->ofile[fd1] = 0;