Lines Matching defs:blk
73 v7fs_inode_block_sanity(const struct v7fs_superblock *sb, v7fs_daddr_t blk)
76 if ((blk < V7FS_ILIST_SECTOR) || (blk >= sb->datablock_start_sector)) {
77 DPRINTF("invalid inode block#%d (%d-%d)\n", blk,
223 v7fs_daddr_t blk, ofs;
227 if (v7fs_inode_inquire_disk_location(fs, n, &blk, &ofs) != 0)
231 if (!(buf = scratch_read(fs, blk))) {
253 v7fs_daddr_t blk;
258 if (v7fs_inode_inquire_disk_location(fs, ino, &blk, &ofs) != 0)
264 if (!(buf = scratch_read(fs, blk))) {
270 if (!fs->io.write(fs->io.cookie, buf, blk))
284 v7fs_daddr_t ofs, blk;
290 blk = ofs >> V7FS_BSHIFT;
292 *block = blk + V7FS_ILIST_SECTOR;
293 *offset = (ofs - blk * V7FS_BSIZE) /