addr 97 file.c fileread(struct file *f, char *addr, int n) addr 104 file.c return piperead(f->pipe, addr, n); addr 107 file.c if((r = readi(f->ip, addr, f->off, n)) > 0) addr 118 file.c filewrite(struct file *f, char *addr, int n) addr 125 file.c return pipewrite(f->pipe, addr, n); addr 142 file.c if ((r = writei(f->ip, addr + i, f->off, n1)) > 0) addr 375 fs.c uint addr, *a; addr 379 fs.c if((addr = ip->addrs[bn]) == 0) addr 380 fs.c ip->addrs[bn] = addr = balloc(ip->dev); addr 381 fs.c return addr; addr 387 fs.c if((addr = ip->addrs[NDIRECT]) == 0) addr 388 fs.c ip->addrs[NDIRECT] = addr = balloc(ip->dev); addr 389 fs.c bp = bread(ip->dev, addr); addr 391 fs.c if((addr = a[bn]) == 0){ addr 392 fs.c a[bn] = addr = balloc(ip->dev); addr 396 fs.c return addr; addr 129 lapic.c lapicstartap(uchar apicid, uint addr) addr 141 lapic.c wrv[1] = addr >> 4; addr 158 lapic.c lapicw(ICRLO, STARTUP | (addr>>12)); addr 19 mp.c sum(uchar *addr, int len) addr 25 mp.c sum += addr[i]; addr 33 mp.c uchar *e, *p, *addr; addr 35 mp.c addr = P2V(a); addr 36 mp.c e = addr+len; addr 37 mp.c for(p = addr; p < e; p += sizeof(struct mp)) addr 45 mp.h uint *addr; // I/O APIC address addr 79 pipe.c pipewrite(struct pipe *p, char *addr, int n) addr 93 pipe.c p->data[p->nwrite++ % PIPESIZE] = addr[i]; addr 101 pipe.c piperead(struct pipe *p, char *addr, int n) addr 116 pipe.c addr[i] = p->data[p->nread++ % PIPESIZE]; addr 18 syscall.c fetchint(uint addr, int *ip) addr 22 syscall.c if(addr >= curproc->sz || addr+4 > curproc->sz) addr 24 syscall.c *ip = *(int*)(addr); addr 32 syscall.c fetchstr(uint addr, char **pp) addr 37 syscall.c if(addr >= curproc->sz) addr 39 syscall.c *pp = (char*)addr; addr 79 syscall.c int addr; addr 80 syscall.c if(argint(n, &addr) < 0) addr 82 syscall.c return fetchstr(addr, pp); addr 48 sysproc.c int addr; addr 53 sysproc.c addr = myproc()->sz; addr 56 sysproc.c return addr; addr 198 vm.c loaduvm(pde_t *pgdir, char *addr, struct inode *ip, uint offset, uint sz) addr 203 vm.c if((uint) addr % PGSIZE != 0) addr 206 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) :