Home
last modified time | relevance | path

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

/linux-6.1.9/fs/hfs/
Dextent.c340 u16 dblock, ablock; in hfs_get_block() local
345 ablock = (u32)block / HFS_SB(sb)->fs_div; in hfs_get_block()
352 if (ablock >= HFS_I(inode)->alloc_blocks) { in hfs_get_block()
360 if (ablock < HFS_I(inode)->first_blocks) { in hfs_get_block()
361 dblock = hfs_ext_find_block(HFS_I(inode)->first_extents, ablock); in hfs_get_block()
366 res = hfs_ext_read_extent(inode, ablock); in hfs_get_block()
369 ablock - HFS_I(inode)->cached_start); in hfs_get_block()
/linux-6.1.9/fs/hfsplus/
Dextents.c232 u32 ablock, dblock, mask; in hfsplus_get_block() local
237 ablock = iblock >> sbi->fs_shift; in hfsplus_get_block()
244 if (ablock >= hip->alloc_blocks) { in hfsplus_get_block()
252 if (ablock < hip->first_blocks) { in hfsplus_get_block()
253 dblock = hfsplus_ext_find_block(hip->first_extents, ablock); in hfsplus_get_block()
268 res = hfsplus_ext_read_extent(inode, ablock); in hfsplus_get_block()
274 ablock - hip->cached_start); in hfsplus_get_block()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_bmap.c602 struct xfs_btree_block *ablock; /* allocated (child) bt block */ in xfs_bmap_extents_to_btree() local
689 ablock = XFS_BUF_TO_BLOCK(abp); in xfs_bmap_extents_to_btree()
690 xfs_btree_init_block_int(mp, ablock, xfs_buf_daddr(abp), in xfs_bmap_extents_to_btree()
697 arp = XFS_BMBT_REC_ADDR(mp, ablock, 1 + cnt); in xfs_bmap_extents_to_btree()
702 xfs_btree_set_numrecs(ablock, cnt); in xfs_bmap_extents_to_btree()
708 arp = XFS_BMBT_REC_ADDR(mp, ablock, 1); in xfs_bmap_extents_to_btree()
719 xfs_btree_log_recs(cur, abp, 1, be16_to_cpu(ablock->bb_numrecs)); in xfs_bmap_extents_to_btree()