Searched refs:ablock (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/fs/hfs/ |
D | extent.c | 336 u16 dblock, ablock; in hfs_get_block() local 341 ablock = (u32)block / HFS_SB(sb)->fs_div; in hfs_get_block() 346 if (ablock >= HFS_I(inode)->alloc_blocks) { in hfs_get_block() 354 if (ablock < HFS_I(inode)->first_blocks) { in hfs_get_block() 355 dblock = hfs_ext_find_block(HFS_I(inode)->first_extents, ablock); in hfs_get_block() 360 res = hfs_ext_read_extent(inode, ablock); in hfs_get_block() 363 ablock - HFS_I(inode)->cached_start); in hfs_get_block()
|
/Linux-v4.19/fs/hfsplus/ |
D | extents.c | 228 u32 ablock, dblock, mask; in hfsplus_get_block() local 233 ablock = iblock >> sbi->fs_shift; in hfsplus_get_block() 238 if (ablock >= hip->alloc_blocks) { in hfsplus_get_block() 246 if (ablock < hip->first_blocks) { in hfsplus_get_block() 247 dblock = hfsplus_ext_find_block(hip->first_extents, ablock); in hfsplus_get_block() 262 res = hfsplus_ext_read_extent(inode, ablock); in hfsplus_get_block() 268 ablock - hip->cached_start); in hfsplus_get_block()
|
/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_bmap.c | 655 struct xfs_btree_block *ablock; /* allocated (child) bt block */ in xfs_bmap_extents_to_btree() local 743 ablock = XFS_BUF_TO_BLOCK(abp); in xfs_bmap_extents_to_btree() 744 xfs_btree_init_block_int(mp, ablock, abp->b_bn, in xfs_bmap_extents_to_btree() 751 arp = XFS_BMBT_REC_ADDR(mp, ablock, 1 + cnt); in xfs_bmap_extents_to_btree() 756 xfs_btree_set_numrecs(ablock, cnt); in xfs_bmap_extents_to_btree() 762 arp = XFS_BMBT_REC_ADDR(mp, ablock, 1); in xfs_bmap_extents_to_btree() 773 xfs_btree_log_recs(cur, abp, 1, be16_to_cpu(ablock->bb_numrecs)); in xfs_bmap_extents_to_btree()
|