Lines Matching refs:oldroot
639 struct xfs_da_intnode *oldroot; in xfs_da3_root_split() local
669 oldroot = blk1->bp->b_addr; in xfs_da3_root_split()
670 if (oldroot->hdr.info.magic == cpu_to_be16(XFS_DA_NODE_MAGIC) || in xfs_da3_root_split()
671 oldroot->hdr.info.magic == cpu_to_be16(XFS_DA3_NODE_MAGIC)) { in xfs_da3_root_split()
674 xfs_da3_node_hdr_from_disk(dp->i_mount, &icnodehdr, oldroot); in xfs_da3_root_split()
676 size = (int)((char *)&btree[icnodehdr.count] - (char *)oldroot); in xfs_da3_root_split()
687 leaf = (xfs_dir2_leaf_t *)oldroot; in xfs_da3_root_split()
709 memcpy(node, oldroot, size); in xfs_da3_root_split()
710 if (oldroot->hdr.info.magic == cpu_to_be16(XFS_DA3_NODE_MAGIC) || in xfs_da3_root_split()
711 oldroot->hdr.info.magic == cpu_to_be16(XFS_DIR3_LEAFN_MAGIC)) { in xfs_da3_root_split()
743 if (oldroot->hdr.info.magic == cpu_to_be16(XFS_DIR2_LEAFN_MAGIC) || in xfs_da3_root_split()
744 oldroot->hdr.info.magic == cpu_to_be16(XFS_DIR3_LEAFN_MAGIC)) { in xfs_da3_root_split()
1175 struct xfs_da_intnode *oldroot; in xfs_da3_root_join() local
1188 oldroot = root_blk->bp->b_addr; in xfs_da3_root_join()
1189 xfs_da3_node_hdr_from_disk(dp->i_mount, &oldroothdr, oldroot); in xfs_da3_root_join()