addr               34 kernel/defs.h  int             filestat(struct file*, uint64 addr);
addr               88 kernel/file.c  filestat(struct file *f, uint64 addr)
addr               97 kernel/file.c      if(copyout(p->pagetable, addr, (char *)&st, sizeof(st)) < 0)
addr              107 kernel/file.c  fileread(struct file *f, uint64 addr, int n)
addr              115 kernel/file.c      r = piperead(f->pipe, addr, n);
addr              119 kernel/file.c      r = devsw[f->major].read(1, addr, n);
addr              122 kernel/file.c      if((r = readi(f->ip, 1, addr, f->off, n)) > 0)
addr              135 kernel/file.c  filewrite(struct file *f, uint64 addr, int n)
addr              143 kernel/file.c      ret = pipewrite(f->pipe, addr, n);
addr              147 kernel/file.c      ret = devsw[f->major].write(1, addr, n);
addr              164 kernel/file.c        if ((r = writei(f->ip, 1, addr + i, f->off, n1)) > 0)
addr              385 kernel/fs.c      uint addr, *a;
addr              389 kernel/fs.c        if((addr = ip->addrs[bn]) == 0){
addr              390 kernel/fs.c          addr = balloc(ip->dev);
addr              391 kernel/fs.c          if(addr == 0)
addr              393 kernel/fs.c          ip->addrs[bn] = addr;
addr              395 kernel/fs.c        return addr;
addr              401 kernel/fs.c        if((addr = ip->addrs[NDIRECT]) == 0){
addr              402 kernel/fs.c          addr = balloc(ip->dev);
addr              403 kernel/fs.c          if(addr == 0)
addr              405 kernel/fs.c          ip->addrs[NDIRECT] = addr;
addr              407 kernel/fs.c        bp = bread(ip->dev, addr);
addr              409 kernel/fs.c        if((addr = a[bn]) == 0){
addr              410 kernel/fs.c          addr = balloc(ip->dev);
addr              411 kernel/fs.c          if(addr){
addr              412 kernel/fs.c            a[bn] = addr;
addr              417 kernel/fs.c        return addr;
addr              483 kernel/fs.c        uint addr = bmap(ip, off/BSIZE);
addr              484 kernel/fs.c        if(addr == 0)
addr              486 kernel/fs.c        bp = bread(ip->dev, addr);
addr              517 kernel/fs.c        uint addr = bmap(ip, off/BSIZE);
addr              518 kernel/fs.c        if(addr == 0)
addr              520 kernel/fs.c        bp = bread(ip->dev, addr);
addr               77 kernel/pipe.c  pipewrite(struct pipe *pi, uint64 addr, int n)
addr               93 kernel/pipe.c        if(copyin(pr->pagetable, &ch, addr + i, 1) == -1)
addr              106 kernel/pipe.c  piperead(struct pipe *pi, uint64 addr, int n)
addr              124 kernel/pipe.c      if(copyout(pr->pagetable, addr + i, &ch, 1) == -1)
addr              391 kernel/proc.c  wait(uint64 addr)
addr              411 kernel/proc.c            if(addr != 0 && copyout(p->pagetable, addr, (char *)&pp->xstate,
addr               12 kernel/syscall.c fetchaddr(uint64 addr, uint64 *ip)
addr               15 kernel/syscall.c   if(addr >= p->sz || addr+sizeof(uint64) > p->sz) // both tests needed, in case of overflow
addr               17 kernel/syscall.c   if(copyin(p->pagetable, (char *)ip, addr, sizeof(*ip)) != 0)
addr               25 kernel/syscall.c fetchstr(uint64 addr, char *buf, int max)
addr               28 kernel/syscall.c   if(copyinstr(p->pagetable, buf, addr, max) < 0)
addr               77 kernel/syscall.c   uint64 addr;
addr               78 kernel/syscall.c   argaddr(n, &addr);
addr               79 kernel/syscall.c   return fetchstr(addr, buf, max);
addr               41 kernel/sysproc.c   uint64 addr;
addr               45 kernel/sysproc.c   addr = myproc()->sz;
addr               48 kernel/sysproc.c   return addr;
addr               54 kernel/virtio.h   uint64 addr;
addr              176 kernel/virtio_disk.c   disk.desc[i].addr = 0;
addr              247 kernel/virtio_disk.c   disk.desc[idx[0]].addr = (uint64) buf0;
addr              252 kernel/virtio_disk.c   disk.desc[idx[1]].addr = (uint64) b->data;
addr              262 kernel/virtio_disk.c   disk.desc[idx[2]].addr = (uint64) &disk.info[idx[0]].status;
addr               39 user/usertests.c     uint64 addr = addrs[ai];
addr               46 user/usertests.c     int n = write(fd, (void*)addr, 8192);
addr               48 user/usertests.c       printf("write(fd, %p, 8192) returned %d, not -1\n", (void*)addr, n);
addr               54 user/usertests.c     n = write(1, (char*)addr, 8192);
addr               56 user/usertests.c       printf("write(1, %p, 8192) returned %d, not -1 or 0\n", (void*)addr, n);
addr               65 user/usertests.c     n = write(fds[1], (char*)addr, 8192);
addr               67 user/usertests.c       printf("write(pipe, %p, 8192) returned %d, not -1 or 0\n", (void*)addr, n);
addr               84 user/usertests.c     uint64 addr = addrs[ai];
addr               91 user/usertests.c     int n = read(fd, (void*)addr, 8192);
addr               93 user/usertests.c       printf("read(fd, %p, 8192) returned %d, not -1 or 0\n", (void*)addr, n);
addr              108 user/usertests.c     n = read(fds[0], (void*)addr, 8192);
addr              110 user/usertests.c       printf("read(pipe, %p, 8192) returned %d, not -1 or 0\n", (void*)addr, n);
addr              126 user/usertests.c     uint64 addr = addrs[ai];
addr              128 user/usertests.c     int fd = open((char *)addr, O_CREATE|O_WRONLY);
addr              130 user/usertests.c       printf("open(%p) returned %d, not -1\n", (void*)addr, fd);
addr             2445 user/usertests.c       volatile int *addr = (int *) addrs[ai];
addr             2446 user/usertests.c       *addr = 10;
addr             2447 user/usertests.c       printf("%s: write to %p did not fail!\n", s, addr);