Lines Matching defs:block_nr
525 unsigned long group, block, block_nr, offset;
559 block_nr = fs->image_header->offset_inode / fs->blocksize;
560 block_nr += (ino - 1) / inodes_per_block;
573 block_nr = fs->group_desc[(unsigned)group].bg_inode_table +
589 if (block_nr != fs->icache->buffer_blk) {
590 retval = io_channel_read_blk(io, block_nr, 1,
594 fs->icache->buffer_blk = block_nr;
603 block_nr++;
631 unsigned long group, block, block_nr, offset;
694 block_nr = fs->group_desc[(unsigned) group].bg_inode_table + block;
709 if (fs->icache->buffer_blk != block_nr) {
710 retval = io_channel_read_blk(fs->io, block_nr, 1,
714 fs->icache->buffer_blk = block_nr;
721 retval = io_channel_write_blk(fs->io, block_nr, 1,
729 block_nr++;