Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/libxfs/
H A Dxfs_inode_fork.c384 ASSERT(ifp->if_broot == NULL); in xfs_broot_alloc()
389 return ifp->if_broot; in xfs_broot_alloc()
403 return ifp->if_broot; in xfs_broot_realloc()
408 kfree(ifp->if_broot); in xfs_broot_realloc()
409 ifp->if_broot = NULL; in xfs_broot_realloc()
424 return ifp->if_broot; in xfs_broot_realloc()
431 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_broot_realloc()
434 return ifp->if_broot; in xfs_broot_realloc()
480 if (ifp->if_broot != NULL) { in xfs_idestroy_fork()
481 kfree(ifp->if_broot); in xfs_idestroy_fork()
[all …]
H A Dxfs_rtrefcount_btree.c318 return ifp->if_broot; in xfs_rtrefcountbt_broot_realloc()
347 ASSERT(ifp->if_broot != NULL && old_size > 0); in xfs_rtrefcountbt_broot_realloc()
357 xfs_rtrefcountbt_move_ptrs(mp, ifp->if_broot, old_size, in xfs_rtrefcountbt_broot_realloc()
418 cur->bc_nlevels = be16_to_cpu(ip->i_df.if_broot->bb_level) + 1; in xfs_rtrefcountbt_init_cursor()
722 ASSERT(ifp->if_broot != NULL); in xfs_iflush_rtrefcount()
724 ASSERT(xfs_rtrefcount_droot_space(ifp->if_broot) <= in xfs_iflush_rtrefcount()
726 xfs_rtrefcountbt_to_disk(ip->i_mount, ifp->if_broot, in xfs_iflush_rtrefcount()
H A Dxfs_rtrmap_btree.c440 return ifp->if_broot; in xfs_rtrmapbt_broot_realloc()
469 ASSERT(ifp->if_broot != NULL && old_size > 0); in xfs_rtrmapbt_broot_realloc()
479 xfs_rtrmapbt_move_ptrs(mp, ifp->if_broot, old_size, new_size, in xfs_rtrmapbt_broot_realloc()
541 cur->bc_nlevels = be16_to_cpu(ip->i_df.if_broot->bb_level) + 1; in xfs_rtrmapbt_init_cursor()
975 ASSERT(ifp->if_broot != NULL); in xfs_iflush_rtrmap()
977 ASSERT(xfs_rtrmap_droot_space(ifp->if_broot) <= in xfs_iflush_rtrmap()
979 xfs_rtrmapbt_to_disk(ip->i_mount, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_rtrmap()
1044 struct xfs_btree_block *block = rtg_rmap(rtg)->i_df.if_broot; in xfs_rtrmap_highest_rgbno()
H A Dxfs_bmap_btree.c576 return ifp->if_broot; in xfs_bmap_broot_realloc()
606 ASSERT(ifp->if_broot != NULL && old_size > 0 && new_size > 0); in xfs_bmap_broot_realloc()
613 xfs_bmbt_move_ptrs(mp, ifp->if_broot, old_size, new_size, new_numrecs); in xfs_bmap_broot_realloc()
696 cur->bc_nlevels = be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmbt_init_cursor()
H A Dxfs_btree_staging.c307 ifp->if_broot = kzalloc(new_size, GFP_KERNEL | __GFP_NOFAIL); in xfs_btree_bload_prep_block()
311 xfs_btree_init_block(cur->bc_mp, ifp->if_broot, cur->bc_ops, in xfs_btree_bload_prep_block()
315 *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.c368 block = ifp->if_broot; in xfs_bmap_check_leaf_extents()
569 struct xfs_btree_block *rblock = ifp->if_broot; in xfs_bmap_btree_to_extents()
617 ASSERT(ifp->if_broot == NULL); in xfs_bmap_btree_to_extents()
748 ASSERT(ifp->if_broot == NULL); in xfs_bmap_extents_to_btree()
889 struct xfs_btree_block *block = ip->i_df.if_broot; in xfs_bmap_add_attrfork_btree()
4093 return be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmapi_minleft()
H A Dxfs_attr_leaf.c703 dsize = xfs_bmap_bmdr_space(dp->i_df.if_broot); in xfs_attr_shortform_bytesfit()
H A Dxfs_btree.c837 return (struct xfs_btree_block *)ifp->if_broot; in xfs_btree_get_iroot()
/linux-6.15/fs/xfs/
H A Dxfs_inode_item.c386 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_format_data_fork()
388 ip->i_df.if_broot, in xfs_inode_item_format_data_fork()
464 ASSERT(ip->i_af.if_broot != NULL); in xfs_inode_item_format_attr_fork()
467 ip->i_af.if_broot, in xfs_inode_item_format_attr_fork()
H A Dxfs_bmap_util.c1206 xfs_bmap_bmdr_space(tifp->if_broot) > xfs_inode_fork_boff(ip)) in xfs_swap_extents_check_format()
1215 xfs_bmap_bmdr_space(ip->i_df.if_broot) > xfs_inode_fork_boff(tip)) in xfs_swap_extents_check_format()