Lines Matching refs:if_broot
206 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()
375 ifp->if_broot = kmem_alloc(new_size, KM_NOFS); in xfs_iroot_realloc()
389 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
391 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
393 np = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
396 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iroot_realloc()
407 ASSERT((ifp->if_broot != NULL) && (ifp->if_broot_bytes > 0)); in xfs_iroot_realloc()
420 memcpy(new_broot, ifp->if_broot, in xfs_iroot_realloc()
434 op = (char *)XFS_BMBT_REC_ADDR(mp, ifp->if_broot, 1); in xfs_iroot_realloc()
441 op = (char *)XFS_BMAP_BROOT_PTR_ADDR(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
447 kmem_free(ifp->if_broot); in xfs_iroot_realloc()
448 ifp->if_broot = new_broot; in xfs_iroot_realloc()
450 if (ifp->if_broot) in xfs_iroot_realloc()
451 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iroot_realloc()
508 if (ifp->if_broot != NULL) { in xfs_idestroy_fork()
509 kmem_free(ifp->if_broot); in xfs_idestroy_fork()
510 ifp->if_broot = NULL; in xfs_idestroy_fork()
630 ASSERT(ifp->if_broot != NULL); in xfs_iflush_fork()
631 ASSERT(XFS_BMAP_BMDR_SPACE(ifp->if_broot) <= in xfs_iflush_fork()
633 xfs_bmbt_to_bmdr(mp, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_fork()