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()
382 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
396 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
398 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
400 np = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
403 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iroot_realloc()
414 ASSERT((ifp->if_broot != NULL) && (ifp->if_broot_bytes > 0)); in xfs_iroot_realloc()
427 memcpy(new_broot, ifp->if_broot, in xfs_iroot_realloc()
440 op = (char *)XFS_BMBT_REC_ADDR(mp, ifp->if_broot, 1); in xfs_iroot_realloc()
447 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
453 kmem_free(ifp->if_broot); in xfs_iroot_realloc()
454 ifp->if_broot = new_broot; in xfs_iroot_realloc()
456 if (ifp->if_broot) in xfs_iroot_realloc()
457 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iroot_realloc()
514 if (ifp->if_broot != NULL) { in xfs_idestroy_fork()
515 kmem_free(ifp->if_broot); in xfs_idestroy_fork()
516 ifp->if_broot = NULL; in xfs_idestroy_fork()
633 ASSERT(ifp->if_broot != NULL); in xfs_iflush_fork()
634 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iflush_fork()
636 xfs_bmbt_to_bmdr(mp, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_fork()