Lines Matching refs:if_broot
215 ifp->if_broot = kmalloc(size, in xfs_iformat_btree()
217 ASSERT(ifp->if_broot != NULL); in xfs_iformat_btree()
223 ifp->if_broot, size); in xfs_iformat_btree()
413 ifp->if_broot = kmalloc(new_size, in xfs_iroot_realloc()
428 ifp->if_broot = krealloc(ifp->if_broot, new_size, in xfs_iroot_realloc()
430 op = (char *)xfs_bmap_broot_ptr_addr(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
432 np = (char *)xfs_bmap_broot_ptr_addr(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
435 ASSERT(xfs_bmap_bmdr_space(ifp->if_broot) <= in xfs_iroot_realloc()
446 ASSERT((ifp->if_broot != NULL) && (ifp->if_broot_bytes > 0)); in xfs_iroot_realloc()
459 memcpy(new_broot, ifp->if_broot, in xfs_iroot_realloc()
472 op = (char *)xfs_bmbt_key_addr(mp, ifp->if_broot, 1); in xfs_iroot_realloc()
479 op = (char *)xfs_bmap_broot_ptr_addr(mp, ifp->if_broot, 1, in xfs_iroot_realloc()
485 kfree(ifp->if_broot); in xfs_iroot_realloc()
486 ifp->if_broot = new_broot; in xfs_iroot_realloc()
488 if (ifp->if_broot) in xfs_iroot_realloc()
489 ASSERT(xfs_bmap_bmdr_space(ifp->if_broot) <= in xfs_iroot_realloc()
538 if (ifp->if_broot != NULL) { in xfs_idestroy_fork()
539 kfree(ifp->if_broot); in xfs_idestroy_fork()
540 ifp->if_broot = NULL; in xfs_idestroy_fork()
657 ASSERT(ifp->if_broot != NULL); in xfs_iflush_fork()
658 ASSERT(xfs_bmap_bmdr_space(ifp->if_broot) <= in xfs_iflush_fork()
660 xfs_bmbt_to_bmdr(mp, ifp->if_broot, ifp->if_broot_bytes, in xfs_iflush_fork()