Lines Matching refs:block_nr
525 blk64_t block_nr;
562 block_nr = fs->image_header->offset_inode / fs->blocksize;
563 block_nr += (ino - 1) / inodes_per_block;
576 block_nr = ext2fs_inode_table_loc(fs, group) +
592 if (block_nr != fs->icache->buffer_blk) {
593 retval = io_channel_read_blk64(io, block_nr, 1,
597 fs->icache->buffer_blk = block_nr;
606 block_nr++;
634 blk64_t block_nr;
700 block_nr = ext2fs_inode_table_loc(fs, (unsigned) group) + block;
715 if (fs->icache->buffer_blk != block_nr) {
716 retval = io_channel_read_blk64(fs->io, block_nr, 1,
720 fs->icache->buffer_blk = block_nr;
727 retval = io_channel_write_blk64(fs->io, block_nr, 1,
735 block_nr++;