Lines Matching refs:block_nr
733 blk64_t block_nr;
772 block_nr = fs->image_header->offset_inode / fs->blocksize;
773 block_nr += (ino - 1) / inodes_per_block;
786 block_nr = ext2fs_inode_table_loc(fs, group) +
801 if (block_nr != fs->icache->buffer_blk) {
802 retval = io_channel_read_blk64(io, block_nr, 1,
806 fs->icache->buffer_blk = block_nr;
815 block_nr++;
851 blk64_t block_nr;
926 block_nr = ext2fs_inode_table_loc(fs, (unsigned) group) + block;
937 if (fs->icache->buffer_blk != block_nr) {
938 retval = io_channel_read_blk64(fs->io, block_nr, 1,
942 fs->icache->buffer_blk = block_nr;
949 retval = io_channel_write_blk64(fs->io, block_nr, 1,
957 block_nr++;