data 10 buf.h uchar data[BSIZE]; data 37 fs.c memmove(sb, bp->data, sizeof(*sb)); data 48 fs.c memset(bp->data, 0, BSIZE); data 67 fs.c if((bp->data[bi/8] & m) == 0){ // Is block free? data 68 fs.c bp->data[bi/8] |= m; // Mark block in use. data 90 fs.c if((bp->data[bi/8] & m) == 0) data 92 fs.c bp->data[bi/8] &= ~m; data 203 fs.c dip = (struct dinode*)bp->data + inum%IPB; data 227 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; data 300 fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; data 390 fs.c a = (uint*)bp->data; data 423 fs.c a = (uint*)bp->data; data 472 fs.c memmove(dst, bp->data + off%BSIZE, m); data 501 fs.c memmove(bp->data + off%BSIZE, src, m); data 96 ide.c outsl(0x1f0, b->data, BSIZE/4); data 119 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 77 log.c memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst data 89 log.c struct logheader *lh = (struct logheader *) (buf->data); data 105 log.c struct logheader *hb = (struct logheader *) (buf->data); data 185 log.c memmove(to->data, from->data, BSIZE); data 56 memide.c memmove(p, b->data, BSIZE); data 58 memide.c memmove(b->data, p, BSIZE); data 15 pipe.c char data[PIPESIZE]; data 93 pipe.c p->data[p->nwrite++ % PIPESIZE] = addr[i]; data 116 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 112 vm.c { (void*)KERNLINK, V2P(KERNLINK), V2P(data), 0}, // kern text+rodata data 113 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) :