data 8 buf.h uchar data[BSIZE]; data 34 fs.c memmove(sb, bp->data, sizeof(*sb)); data 45 fs.c memset(bp->data, 0, BSIZE); data 64 fs.c if((bp->data[bi/8] & m) == 0){ // Is block free? data 65 fs.c bp->data[bi/8] |= m; // Mark block in use. data 88 fs.c if((bp->data[bi/8] & m) == 0) data 90 fs.c bp->data[bi/8] &= ~m; data 185 fs.c dip = (struct dinode*)bp->data + inum%IPB; data 206 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; data 283 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; data 374 fs.c a = (uint*)bp->data; data 407 fs.c a = (uint*)bp->data; data 454 fs.c memmove(dst, bp->data + off%BSIZE, m); data 482 fs.c memmove(bp->data + off%BSIZE, src, m); data 92 ide.c outsl(0x1f0, b->data, BSIZE/4); data 115 ide.c insl(0x1f0, b->data, BSIZE/4); data 31 ioapic.c uint data; data 38 ioapic.c return ioapic->data; data 42 ioapic.c ioapicwrite(int reg, uint data) data 45 ioapic.c ioapic->data = data; data 13 kbd.c uint st, data, c; data 18 kbd.c data = inb(KBDATAP); data 20 kbd.c if(data == 0xE0){ data 23 kbd.c } else if(data & 0x80){ data 25 kbd.c data = (shift & E0ESC ? data : data & 0x7F); data 26 kbd.c shift &= ~(shiftcode[data] | E0ESC); data 30 kbd.c data |= 0x80; data 34 kbd.c shift |= shiftcode[data]; data 35 kbd.c shift ^= togglecode[data]; data 36 kbd.c c = charcode[shift & (CTL | SHIFT)][data]; data 76 log.c memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst data 88 log.c struct logheader *lh = (struct logheader *) (buf->data); data 104 log.c struct logheader *hb = (struct logheader *) (buf->data); data 182 log.c memmove(to->data, from->data, BSIZE); data 55 memide.c memmove(p, b->data, BSIZE); data 57 memide.c memmove(b->data, p, BSIZE); data 14 pipe.c char data[PIPESIZE]; data 92 pipe.c p->data[p->nwrite++ % PIPESIZE] = addr[i]; data 115 pipe.c addr[i] = p->data[p->nread++ % PIPESIZE]; data 21 stressfs.c char data[512]; data 24 stressfs.c memset(data, 'a', sizeof(data)); data 36 stressfs.c write(fd, data, sizeof(data)); data 43 stressfs.c read(fd, data, sizeof(data)); data 10 vm.c extern char data[]; // defined by kernel.ld data 122 vm.c { (void*)KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kern text+rodata data 123 vm.c { (void*)data, V2P(data), PHYSTOP, PTE_W}, // kern data+memory data 6 x86.h uchar data; data 8 x86.h asm volatile("in %1,%0" : "=a" (data) : "d" (port)); data 9 x86.h return data; data 22 x86.h outb(ushort port, uchar data) data 24 x86.h asm volatile("out %0,%1" : : "a" (data), "d" (port)); data 28 x86.h outw(ushort port, ushort data) data 30 x86.h asm volatile("out %0,%1" : : "a" (data), "d" (port)); data 43 x86.h stosb(void *addr, int data, int cnt) data 47 x86.h "0" (addr), "1" (cnt), "a" (data) : data 52 x86.h stosl(void *addr, int data, int cnt) data 56 x86.h "0" (addr), "1" (cnt), "a" (data) :