Home
last modified time | relevance | path

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

/linux/fs/xfs/libxfs/
H A Dxfs_inode_fork.c384 ASSERT(ifp->if_broot == NULL); in xfs_broot_alloc()
386 ifp->if_broot = kmalloc(new_size, 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()
418 struct xfs_btree_block *old_broot = ifp->if_broot; in xfs_broot_realloc()
420 ifp->if_broot = kmalloc(new_size, GFP_KERNEL | __GFP_NOFAIL); in xfs_broot_realloc()
422 memcpy(ifp->if_broot, old_broot, new_size); in xfs_broot_realloc()
424 return ifp->if_broot; in xfs_broot_realloc()
[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.c419 return ifp->if_broot; in xfs_rtrmapbt_broot_realloc()
448 ASSERT(ifp->if_broot != NULL && old_size > 0); in xfs_rtrmapbt_broot_realloc()
458 xfs_rtrmapbt_move_ptrs(mp, ifp->if_broot, old_size, new_size, in xfs_rtrmapbt_broot_realloc()
520 cur->bc_nlevels = be16_to_cpu(ip->i_df.if_broot->bb_level) + 1; in xfs_rtrmapbt_init_cursor()
954 ASSERT(ifp->if_broot != NULL); in xfs_iflush_rtrmap()
956 ASSERT(xfs_rtrmap_droot_space(ifp->if_broot) <= in xfs_iflush_rtrmap()
958 xfs_rtrmapbt_to_disk(ip->i_mount, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_rtrmap()
1023 struct xfs_btree_block *block = rtg_rmap(rtg)->i_df.if_broot; in xfs_rtrmap_highest_rgbno()
H A Dxfs_bmap_btree.c564 return ifp->if_broot; in xfs_bmap_broot_realloc()
594 ASSERT(ifp->if_broot != NULL && old_size > 0 && new_size > 0); in xfs_bmap_broot_realloc()
601 xfs_bmbt_move_ptrs(mp, ifp->if_broot, old_size, new_size, new_numrecs); in xfs_bmap_broot_realloc()
684 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()
4089 return be16_to_cpu(ifp->if_broot->bb_level) + 1; in xfs_bmapi_minleft()
H A Dxfs_attr_leaf.c760 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/fs/xfs/
H A Dxfs_inode_item.c375 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_format_data_fork()
377 ip->i_df.if_broot, in xfs_inode_item_format_data_fork()
453 ASSERT(ip->i_af.if_broot != NULL); in xfs_inode_item_format_attr_fork()
456 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()