Lines Matching refs:block_nr
734 blk64_t block_nr; in ext2fs_read_inode_full() local
773 block_nr = ext2fs_le32_to_cpu(fs->image_header->offset_inode) / fs->blocksize; in ext2fs_read_inode_full()
774 block_nr += (ino - 1) / inodes_per_block; in ext2fs_read_inode_full()
787 block_nr = ext2fs_inode_table_loc(fs, group) + in ext2fs_read_inode_full()
802 if (block_nr != fs->icache->buffer_blk) { in ext2fs_read_inode_full()
803 retval = io_channel_read_blk64(io, block_nr, 1, in ext2fs_read_inode_full()
807 fs->icache->buffer_blk = block_nr; in ext2fs_read_inode_full()
816 block_nr++; in ext2fs_read_inode_full()
852 blk64_t block_nr; in ext2fs_write_inode_full() local
927 block_nr = ext2fs_inode_table_loc(fs, (unsigned) group) + block; in ext2fs_write_inode_full()
938 if (fs->icache->buffer_blk != block_nr) { in ext2fs_write_inode_full()
939 retval = io_channel_read_blk64(fs->io, block_nr, 1, in ext2fs_write_inode_full()
943 fs->icache->buffer_blk = block_nr; in ext2fs_write_inode_full()
950 retval = io_channel_write_blk64(fs->io, block_nr, 1, in ext2fs_write_inode_full()
958 block_nr++; in ext2fs_write_inode_full()