Lines Matching refs:if_broot
205 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()
400 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
414 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
416 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
418 np = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
421 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iroot_realloc()
432 ASSERT((ifp->if_broot != NULL) && (ifp->if_broot_bytes > 0)); in xfs_iroot_realloc()
445 memcpy(new_broot, ifp->if_broot, in xfs_iroot_realloc()
458 op = (char *)XFS_BMBT_REC_ADDR(mp, ifp->if_broot, 1); in xfs_iroot_realloc()
465 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
471 kmem_free(ifp->if_broot); in xfs_iroot_realloc()
472 ifp->if_broot = new_broot; in xfs_iroot_realloc()
474 if (ifp->if_broot) in xfs_iroot_realloc()
475 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iroot_realloc()
527 if (ifp->if_broot != NULL) { in xfs_idestroy_fork()
528 kmem_free(ifp->if_broot); in xfs_idestroy_fork()
529 ifp->if_broot = NULL; in xfs_idestroy_fork()
646 ASSERT(ifp->if_broot != NULL); in xfs_iflush_fork()
647 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iflush_fork()
649 xfs_bmbt_to_bmdr(mp, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_fork()