Home
last modified time | relevance | path

Searched refs:ext_bh (Results 1 – 1 of 1) sorted by relevance

/fs/affs/
Dfile.c325 struct buffer_head *ext_bh; in affs_get_block() local
343 ext_bh = affs_get_extblock(inode, ext); in affs_get_block()
344 if (IS_ERR(ext_bh)) in affs_get_block()
346 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block()
349 u32 blocknr = affs_alloc_block(inode, ext_bh->b_blocknr); in affs_get_block()
359 AFFS_BLOCK(sb, ext_bh, block) = cpu_to_be32(blocknr); in affs_get_block()
360 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block()
361 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()
366 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); in affs_get_block()
369 AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr); in affs_get_block()
[all …]