r                 184 console.c        uint r;  // Read index
r                 217 console.c            if(c != 0 && input.e-input.r < INPUT_BUF){
r                 221 console.c              if(c == '\n' || c == C('D') || input.e == input.r+INPUT_BUF){
r                 223 console.c                wakeup(&input.r);
r                 245 console.c          while(input.r == input.w){
r                 251 console.c            sleep(&input.r, &cons.lock);
r                 253 console.c          c = input.buf[input.r++ % INPUT_BUF];
r                 258 console.c              input.r--;
r                  76 defs.h         void            cmostime(struct rtcdate *r);
r                  99 file.c           int r;
r                 107 file.c             if((r = readi(f->ip, addr, f->off, n)) > 0)
r                 108 file.c               f->off += r;
r                 110 file.c             return r;
r                 120 file.c           int r;
r                 142 file.c               if ((r = writei(f->ip, addr + i, f->off, n1)) > 0)
r                 143 file.c                 f->off += r;
r                 147 file.c               if(r < 0)
r                 149 file.c               if(r != n1)
r                 151 file.c               i += r;
r                 337 fs.c               int r = ip->ref;
r                 339 fs.c               if(r == 1){
r                  41 ide.c            int r;
r                  43 ide.c            while(((r = inb(0x1f7)) & (IDE_BSY|IDE_DRDY)) != IDE_DRDY)
r                  45 ide.c            if(checkerr && (r & (IDE_DF|IDE_ERR)) != 0)
r                  62 kalloc.c         struct run *r;
r                  72 kalloc.c         r = (struct run*)v;
r                  73 kalloc.c         r->next = kmem.freelist;
r                  74 kalloc.c         kmem.freelist = r;
r                  85 kalloc.c         struct run *r;
r                  89 kalloc.c         r = kmem.freelist;
r                  90 kalloc.c         if(r)
r                  91 kalloc.c           kmem.freelist = r->next;
r                  94 kalloc.c         return (char*)r;
r                 184 lapic.c        fill_rtcdate(struct rtcdate *r)
r                 186 lapic.c          r->second = cmos_read(SECS);
r                 187 lapic.c          r->minute = cmos_read(MINS);
r                 188 lapic.c          r->hour   = cmos_read(HOURS);
r                 189 lapic.c          r->day    = cmos_read(DAY);
r                 190 lapic.c          r->month  = cmos_read(MONTH);
r                 191 lapic.c          r->year   = cmos_read(YEAR);
r                 196 lapic.c        cmostime(struct rtcdate *r)
r                 227 lapic.c          *r = t1;
r                 228 lapic.c          r->year += 2000;
r                  47 sleeplock.c      int r;
r                  50 sleeplock.c      r = lk->locked && (lk->pid == myproc()->pid);
r                  52 sleeplock.c      return r;
r                  92 spinlock.c       int r;
r                  94 spinlock.c       r = lock->locked && lock->cpu == mycpu();
r                  96 spinlock.c       return r;
r                  74 ulib.c           int r;
r                  79 ulib.c           r = fstat(fd, st);
r                  81 ulib.c           return r;