addr 96 file.c fileread(struct file *f, char *addr, int n) addr 103 file.c return piperead(f->pipe, addr, n); addr 106 file.c if((r = readi(f->ip, addr, f->off, n)) > 0) addr 117 file.c filewrite(struct file *f, char *addr, int n) addr 124 file.c return pipewrite(f->pipe, addr, n); addr 141 file.c if ((r = writei(f->ip, addr + i, f->off, n1)) > 0) addr 359 fs.c uint addr, *a; addr 363 fs.c if((addr = ip->addrs[bn]) == 0) addr 364 fs.c ip->addrs[bn] = addr = balloc(ip->dev); addr 365 fs.c return addr; addr 371 fs.c if((addr = ip->addrs[NDIRECT]) == 0) addr 372 fs.c ip->addrs[NDIRECT] = addr = balloc(ip->dev); addr 373 fs.c bp = bread(ip->dev, addr); addr 375 fs.c if((addr = a[bn]) == 0){ addr 376 fs.c a[bn] = addr = balloc(ip->dev); addr 380 fs.c return addr; addr 140 lapic.c lapicstartap(uchar apicid, uint addr) addr 152 lapic.c wrv[1] = addr >> 4; addr 169 lapic.c lapicw(ICRLO, STARTUP | (addr>>12)); addr 27 mp.c sum(uchar *addr, int len) addr 33 mp.c sum += addr[i]; addr 41 mp.c uchar *e, *p, *addr; addr 43 mp.c addr = p2v(a); addr 44 mp.c e = addr+len; addr 45 mp.c for(p = addr; p < e; p += sizeof(struct mp)) addr 45 mp.h uint *addr; // I/O APIC address addr 78 pipe.c pipewrite(struct pipe *p, char *addr, int n) addr 92 pipe.c p->data[p->nwrite++ % PIPESIZE] = addr[i]; addr 100 pipe.c piperead(struct pipe *p, char *addr, int n) addr 115 pipe.c addr[i] = p->data[p->nread++ % PIPESIZE]; addr 18 syscall.c fetchint(uint addr, int *ip) addr 20 syscall.c if(addr >= proc->sz || addr+4 > proc->sz) addr 22 syscall.c *ip = *(int*)(addr); addr 30 syscall.c fetchstr(uint addr, char **pp) addr 34 syscall.c if(addr >= proc->sz) addr 36 syscall.c *pp = (char*)addr; addr 74 syscall.c int addr; addr 75 syscall.c if(argint(n, &addr) < 0) addr 77 syscall.c return fetchstr(addr, pp); addr 48 sysproc.c int addr; addr 53 sysproc.c addr = proc->sz; addr 56 sysproc.c return addr; addr 197 vm.c loaduvm(pde_t *pgdir, char *addr, struct inode *ip, uint offset, uint sz) addr 202 vm.c if((uint) addr % PGSIZE != 0) addr 205 vm.c if((pte = walkpgdir(pgdir, addr+i, 0)) == 0) addr 13 x86.h insl(int port, void *addr, int cnt) addr 16 x86.h "=D" (addr), "=c" (cnt) : addr 17 x86.h "d" (port), "0" (addr), "1" (cnt) : addr 34 x86.h outsl(int port, const void *addr, int cnt) addr 37 x86.h "=S" (addr), "=c" (cnt) : addr 38 x86.h "d" (port), "0" (addr), "1" (cnt) : addr 43 x86.h stosb(void *addr, int data, int cnt) addr 46 x86.h "=D" (addr), "=c" (cnt) : addr 47 x86.h "0" (addr), "1" (cnt), "a" (data) : addr 52 x86.h stosl(void *addr, int data, int cnt) addr 55 x86.h "=D" (addr), "=c" (cnt) : addr 56 x86.h "0" (addr), "1" (cnt), "a" (data) : addr 121 x86.h xchg(volatile uint *addr, uint newval) addr 127 x86.h "+m" (*addr), "=a" (result) :