data 10 kernel/buf.h uchar data[BSIZE]; data 36 kernel/fs.c memmove(sb, bp->data, sizeof(*sb)); data 56 kernel/fs.c memset(bp->data, 0, BSIZE); data 76 kernel/fs.c if((bp->data[bi/8] & m) == 0){ // Is block free? data 77 kernel/fs.c bp->data[bi/8] |= m; // Mark block in use. data 100 kernel/fs.c if((bp->data[bi/8] & m) == 0) data 102 kernel/fs.c bp->data[bi/8] &= ~m; data 207 kernel/fs.c dip = (struct dinode*)bp->data + inum%IPB; data 232 kernel/fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; data 305 kernel/fs.c dip = (struct dinode*)bp->data + ip->inum%IPB; data 408 kernel/fs.c a = (uint*)bp->data; data 441 kernel/fs.c a = (uint*)bp->data; data 488 kernel/fs.c if(either_copyout(user_dst, dst, bp->data + (off % BSIZE), m) == -1) { data 522 kernel/fs.c if(either_copyin(bp->data + (off % BSIZE), user_src, src, m) == -1) { data 76 kernel/log.c memmove(dbuf->data, lbuf->data, BSIZE); // copy block to dst data 90 kernel/log.c struct logheader *lh = (struct logheader *) (buf->data); data 106 kernel/log.c struct logheader *hb = (struct logheader *) (buf->data); data 186 kernel/log.c memmove(to->data, from->data, BSIZE); data 15 kernel/pipe.c char data[PIPESIZE]; data 95 kernel/pipe.c pi->data[pi->nwrite++ % PIPESIZE] = ch; data 123 kernel/pipe.c ch = pi->data[pi->nread++ % PIPESIZE]; data 252 kernel/virtio_disk.c disk.desc[idx[1]].addr = (uint64) b->data; data 21 user/stressfs.c char data[512]; data 24 user/stressfs.c memset(data, 'a', sizeof(data)); data 36 user/stressfs.c write(fd, data, sizeof(data)); data 43 user/stressfs.c read(fd, data, sizeof(data));