Searched refs:devread (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ufs.c52 !devread(UFS_SBLOCK, 0, UFS_SBSIZE, (char *)SUPERBLOCK) ||
124 ok = devread(fsbtodb(SUPERBLOCK, dblk), off, size, buf);
159 return (devread(dblk, off, sizeof (struct icommon), (char *)INODE));
199 if (!devread(blkno, 0, SUPERBLOCK->fs_bsize,
212 if (!devread(blkno, 0, SUPERBLOCK->fs_bsize,
252 if (!devread(dblk, 0, SUPERBLOCK->fs_bsize,
H A Dfsys_vstafs.c52 || ! devread (0, 0, BLOCK_SIZE, (char *) FSYS_BUF)
62 devread (sector, 0, BLOCK_SIZE, (char *) FILE_INFO);
83 devread (a[curr_ext].a_start, 0, 512, (char *) DIRECTORY_BUF);
104 devread (a[curr_ext].a_start + current_blockpos, 0,
245 devread (a[curr_ext].a_start,offset, curr_len, curr_pos);
H A Dfsys_ffs.c88 || !devread (SBLOCK, 0, SBSIZE, (char *) SUPERBLOCK)
125 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
165 devread (fsbtodb (SUPERBLOCK, map), off, size, buf);
194 if (!devread (fsbtodb (SUPERBLOCK, itod (SUPERBLOCK, ino)),
256 || !devread (fsbtodb (SUPERBLOCK, map), 0,
H A Dfsys_ufs2.c96 || ! devread (0, sblock_try[i], SBLOCKSIZE, (char *) SUPERBLOCK)))
150 if (! devread (bnum, offset * sizeof (int), bsize, (char *) MAPBUF))
190 devread (fsbtodb (SUPERBLOCK, map), off, size, buf);
219 if (!devread (fsbtodb (SUPERBLOCK, ino_to_fsba (SUPERBLOCK, ino)),
277 || !devread (fsbtodb (SUPERBLOCK, map), 0,
H A Dfsys_jfs.c78 devread (addressXAD (jfs.xad) << jfs.bdlog, 0,
93 devread (xtpage->header.next << jfs.bdlog, 0,
121 devread ((addressXAD (xad) + key - offset) << jfs.bdlog,
123 devread (addressPXD (&pxd) << jfs.bdlog,
146 devread (dtpage->header.next << jfs.bdlog, 0,
178 devread (addressPXD (xd) << jfs.bdlog, 0,
212 || !devread (SUPER1_OFF >> SECTOR_BITS, 0,
215 || !devread ((AITBL_OFF >> SECTOR_BITS) + FILESYSTEM_I,
248 devread (addressXAD (xad) << jfs.bdlog,
392 || !devread (SUPER1_OF
[all...]
H A Dfsys_fat.c80 if (! devread (0, 0, sizeof (bpb), (char *) &bpb))
167 if (!devread(FAT_SUPER->fat_offset, 0,
212 if (!devread(FAT_SUPER->root_offset, filepos, size, buf))
244 if (!devread (sector, 0, FAT_CACHE_SIZE, (char*) FAT_BUF))
278 devread(sector, offset, size, buf);
H A Dfsys_xfs.c216 devread (daddr, offset*xfs.isize, xfs.isize, (char *)inode);
240 devread (xfs.daddr, 0,
248 devread (xfs.daddr, xfs.btnode_ptr0_off,
270 devread (xfs.daddr, 0, sizeof(xfs_btree_lblock_t), (char *)&h);
276 devread (xfs.daddr, xfs.fpos, sizeof(xfs_bmbt_rec_t), filebuf);
302 devread (fsb2daddr (xad->start + xfs.dablk - offset),
459 if (!devread (0, 0, sizeof(super), (char *)&super)
513 devread (fsb2daddr (xad->start),
H A Dfsys_minix.c172 if (!devread (SBLOCK, 0, sizeof (struct minix_super_block),
195 return devread (fsblock * (BLOCK_SIZE / DEV_BSIZE), 0,
273 devread (map * (BLOCK_SIZE / DEV_BSIZE),
H A Dfsys_ext2fs.c311 || !devread (SBLOCK, 0, sizeof (struct ext2_super_block),
326 return devread (fsblock * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), 0,
488 devread (map * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE),
H A Dfsys_reiserfs.c388 return devread ((INFO->journal_block + block) << INFO->blocksize_shift,
462 return devread (translatedNr << INFO->blocksize_shift, start, len, buffer);
576 || ! devread (superblock, 0, sizeof (struct reiserfs_super_block),
588 || ! devread (superblock, 0, sizeof (struct reiserfs_super_block),
966 devread (blocknr << INFO->blocksize_shift,
1221 if (! devread (REISERFS_DISK_OFFSET_IN_BYTES >> SECTOR_BITS, 0,
H A Dfsys_zfs.c321 if (devread(sector, 0, SPA_GANGBLOCKSIZE, (char *)zio_gb) == 0) {
378 if (devread(sector, 0, psize, buf) == 0)
1539 if (devread(sector, 0, VDEV_PHYS_SIZE, stack) == 0)
1667 if (devread(sector +
H A Ddisk_io.c308 devread(unsigned long long sector, int byte_offset, int byte_len, char *buf) function
1878 devread (BLK_BLKSTART (BLK_CUR_BLKLIST) + BLK_CUR_BLKNUM,
H A Dshared.h1011 int devread (unsigned long long sector, int byte_offset, int byte_len, char *buf);
H A Dbuiltins.c2386 || ! devread (0, 0, SECTOR_SIZE, old_sect))

Completed in 89 milliseconds