Home
last modified time | relevance | path

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

/Linux-v6.6/fs/affs/
Dfile.c300 struct buffer_head *ext_bh; in affs_get_block() local
319 ext_bh = affs_get_extblock(inode, ext); in affs_get_block()
320 if (IS_ERR(ext_bh)) in affs_get_block()
322 map_bh(bh_result, sb, (sector_t)be32_to_cpu(AFFS_BLOCK(sb, ext_bh, block))); in affs_get_block()
325 u32 blocknr = affs_alloc_block(inode, ext_bh->b_blocknr); in affs_get_block()
337 AFFS_BLOCK(sb, ext_bh, block) = cpu_to_be32(blocknr); in affs_get_block()
338 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block()
339 affs_adjust_checksum(ext_bh, blocknr - bh_result->b_blocknr + 1); in affs_get_block()
344 u32 tmp = be32_to_cpu(AFFS_HEAD(ext_bh)->first_data); in affs_get_block()
347 AFFS_HEAD(ext_bh)->first_data = cpu_to_be32(blocknr); in affs_get_block()
[all …]