Searched refs:ext_bh (Results 1 – 1 of 1) sorted by relevance
301 struct buffer_head *ext_bh; in affs_get_block() local320 ext_bh = affs_get_extblock(inode, ext); in affs_get_block()321 if (IS_ERR(ext_bh)) in affs_get_block()323 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block()326 u32 blocknr = affs_alloc_block(inode, ext_bh->b_blocknr); in affs_get_block()338 AFFS_BLOCK(sb, ext_bh, block) = cpu_to_be32(blocknr); in affs_get_block()339 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block()340 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()345 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); in affs_get_block()348 AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr); in affs_get_block()[all …]