Home
last modified time | relevance | path

Searched refs:if_broot (Results 1 - 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_inode_fork.c206 ifp->if_broot = kmem_alloc(size, KM_NOFS); in xfs_iformat_btree()
207 ASSERT(ifp->if_broot != NULL); in xfs_iformat_btree()
213 ifp->if_broot, size); in xfs_iformat_btree()
328 * Reallocate the space for if_broot based on the number of records
330 * and pointers in if_broot to fit the new size. When shrinking this
336 * the on-disk inode root. If the if_broot is currently NULL, then
341 * ip -- the inode whose if_broot area is changing
343 * requested for the if_broot array.
375 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
381 * If there is already an existing if_broot, the in xfs_iroot_realloc()
[all...]
H A Dxfs_btree_staging.c388 ifp->if_broot = kmem_zalloc(new_size, 0); in xfs_btree_bload_prep_block()
393 xfs_btree_init_block_int(cur->bc_mp, ifp->if_broot, in xfs_btree_bload_prep_block()
399 *blockp = ifp->if_broot; in xfs_btree_bload_prep_block()
H A Dxfs_inode_fork.h17 struct xfs_btree_block *if_broot; /* file's incore btree root */ member
H A Dxfs_bmap_btree.c559 cur->bc_nlevels = be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmbt_init_cursor()
H A Dxfs_bmap.c342 block = ifp->if_broot; in xfs_bmap_check_leaf_extents()
592 struct xfs_btree_block *rblock = ifp->if_broot; in xfs_bmap_btree_to_extents()
633 ASSERT(ifp->if_broot == NULL); in xfs_bmap_btree_to_extents()
683 block = ifp->if_broot; in xfs_bmap_extents_to_btree()
782 ASSERT(ifp->if_broot == NULL); in xfs_bmap_extents_to_btree()
4272 return be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmapi_minleft()
H A Dxfs_btree.c660 * stored in the if_broot field of an inode fork.
668 return (struct xfs_btree_block *)ifp->if_broot; in xfs_btree_get_iroot()
3539 block = ifp->if_broot; in xfs_btree_kill_iroot()
H A Dxfs_attr_leaf.c600 dsize = XFS_BMAP_BROOT_SPACE(mp, dp->i_df.if_broot); in xfs_attr_shortform_bytesfit()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_inode_fork.c205 ifp->if_broot = kmem_alloc(size, KM_NOFS); in xfs_iformat_btree()
206 ASSERT(ifp->if_broot != NULL); in xfs_iformat_btree()
212 ifp->if_broot, size); in xfs_iformat_btree()
353 * Reallocate the space for if_broot based on the number of records
355 * and pointers in if_broot to fit the new size. When shrinking this
361 * the on-disk inode root. If the if_broot is currently NULL, then
366 * ip -- the inode whose if_broot area is changing
368 * requested for the if_broot array.
400 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
406 * If there is already an existing if_broot, the in xfs_iroot_realloc()
[all...]
H A Dxfs_btree_staging.c388 ifp->if_broot = kmem_zalloc(new_size, 0); in xfs_btree_bload_prep_block()
392 xfs_btree_init_block_int(cur->bc_mp, ifp->if_broot, in xfs_btree_bload_prep_block()
398 *blockp = ifp->if_broot; in xfs_btree_bload_prep_block()
H A Dxfs_inode_fork.h17 struct xfs_btree_block *if_broot; /* file's incore btree root */ member
H A Dxfs_bmap.c343 block = ifp->if_broot; in xfs_bmap_check_leaf_extents()
543 struct xfs_btree_block *rblock = ifp->if_broot; in xfs_bmap_btree_to_extents()
588 ASSERT(ifp->if_broot == NULL); in xfs_bmap_btree_to_extents()
636 block = ifp->if_broot; in xfs_bmap_extents_to_btree()
724 ASSERT(ifp->if_broot == NULL); in xfs_bmap_extents_to_btree()
864 struct xfs_btree_block *block = ip->i_df.if_broot; in xfs_bmap_add_attrfork_btree()
4277 return be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmapi_minleft()
H A Dxfs_bmap_btree.c562 cur->bc_nlevels = be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmbt_init_cursor()
H A Dxfs_btree.c732 * stored in the if_broot field of an inode fork.
740 return (struct xfs_btree_block *)ifp->if_broot; in xfs_btree_get_iroot()
3631 block = ifp->if_broot; in xfs_btree_kill_iroot()
H A Dxfs_attr_leaf.c631 dsize = XFS_BMAP_BROOT_SPACE(mp, dp->i_df.if_broot); in xfs_attr_shortform_bytesfit()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_inode_item.c189 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_format_data_fork()
191 ip->i_df.if_broot, in xfs_inode_item_format_data_fork()
273 ASSERT(ip->i_afp->if_broot != NULL); in xfs_inode_item_format_attr_fork()
276 ip->i_afp->if_broot, in xfs_inode_item_format_attr_fork()
H A Dxfs_bmap_util.c1277 XFS_BMAP_BMDR_SPACE(tifp->if_broot) > XFS_IFORK_BOFF(ip)) in xfs_swap_extents_check_format()
1286 XFS_BMAP_BMDR_SPACE(ip->i_df.if_broot) > XFS_IFORK_BOFF(tip)) in xfs_swap_extents_check_format()
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_inode_item.c337 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_format_data_fork()
339 ip->i_df.if_broot, in xfs_inode_item_format_data_fork()
416 ASSERT(ip->i_af.if_broot != NULL); in xfs_inode_item_format_attr_fork()
419 ip->i_af.if_broot, in xfs_inode_item_format_attr_fork()
H A Dxfs_bmap_util.c1329 XFS_BMAP_BMDR_SPACE(tifp->if_broot) > xfs_inode_fork_boff(ip)) in xfs_swap_extents_check_format()
1338 XFS_BMAP_BMDR_SPACE(ip->i_df.if_broot) > xfs_inode_fork_boff(tip)) in xfs_swap_extents_check_format()

Completed in 42 milliseconds