dev 62 bio.c bget(uint dev, uint blockno) dev 70 bio.c if(b->dev == dev && b->blockno == blockno){ dev 83 bio.c b->dev = dev; dev 97 bio.c bread(uint dev, uint blockno) dev 101 bio.c b = bget(dev, blockno); dev 3 buf.h uint dev; dev 38 defs.h void readsb(int dev, struct superblock *sb); dev 43 defs.h void iinit(int dev); dev 85 defs.h void initlog(int dev); dev 14 file.h uint dev; // Device number dev 32 fs.c readsb(int dev, struct superblock *sb) dev 36 fs.c bp = bread(dev, 1); dev 43 fs.c bzero(int dev, int bno) dev 47 fs.c bp = bread(dev, bno); dev 57 fs.c balloc(uint dev) dev 64 fs.c bp = bread(dev, BBLOCK(b, sb)); dev 71 fs.c bzero(dev, b + bi); dev 82 fs.c bfree(int dev, uint b) dev 87 fs.c bp = bread(dev, BBLOCK(b, sb)); dev 172 fs.c iinit(int dev) dev 181 fs.c readsb(dev, &sb); dev 188 fs.c static struct inode* iget(uint dev, uint inum); dev 195 fs.c ialloc(uint dev, short type) dev 202 fs.c bp = bread(dev, IBLOCK(inum, sb)); dev 209 fs.c return iget(dev, inum); dev 226 fs.c bp = bread(ip->dev, IBLOCK(ip->inum, sb)); dev 242 fs.c iget(uint dev, uint inum) dev 251 fs.c if(ip->ref > 0 && ip->dev == dev && ip->inum == inum){ dev 265 fs.c ip->dev = dev; dev 299 fs.c bp = bread(ip->dev, IBLOCK(ip->inum, sb)); dev 380 fs.c ip->addrs[bn] = addr = balloc(ip->dev); dev 388 fs.c ip->addrs[NDIRECT] = addr = balloc(ip->dev); dev 389 fs.c bp = bread(ip->dev, addr); dev 392 fs.c a[bn] = addr = balloc(ip->dev); dev 416 fs.c bfree(ip->dev, ip->addrs[i]); dev 422 fs.c bp = bread(ip->dev, ip->addrs[NDIRECT]); dev 426 fs.c bfree(ip->dev, a[j]); dev 429 fs.c bfree(ip->dev, ip->addrs[NDIRECT]); dev 442 fs.c st->dev = ip->dev; dev 470 fs.c bp = bread(ip->dev, bmap(ip, off/BSIZE)); dev 499 fs.c bp = bread(ip->dev, bmap(ip, off/BSIZE)); dev 543 fs.c return iget(dp->dev, inum); dev 93 ide.c outb(0x1f6, 0xe0 | ((b->dev&1)<<4) | ((sector>>24)&0x0f)); dev 146 ide.c if(b->dev != 0 && !havedisk1) dev 45 log.c int dev; dev 54 log.c initlog(int dev) dev 61 log.c readsb(dev, &sb); dev 64 log.c log.dev = dev; dev 75 log.c struct buf *lbuf = bread(log.dev, log.start+tail+1); // read log block dev 76 log.c struct buf *dbuf = bread(log.dev, log.lh.block[tail]); // read dst dev 88 log.c struct buf *buf = bread(log.dev, log.start); dev 104 log.c struct buf *buf = bread(log.dev, log.start); dev 183 log.c struct buf *to = bread(log.dev, log.start+tail+1); // log block dev 184 log.c struct buf *from = bread(log.dev, log.lh.block[tail]); // cache block dev 47 memide.c if(b->dev != 1) dev 7 stat.h int dev; // File system's disk device dev 147 sysfile.c if(dp->dev != ip->dev || dirlink(dp, name, ip->inum) < 0){ dev 260 sysfile.c if((ip = ialloc(dp->dev, type)) == 0)