Lines Matching refs:cpu_to_be32
188 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header()
189 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
190 agf->agf_seqno = cpu_to_be32(sc->sa.agno); in xrep_agf_init_header()
191 agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); in xrep_agf_init_header()
211 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
213 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
216 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
218 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
221 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
223 cpu_to_be32(fab[XREP_AGF_RMAPBT].height); in xrep_agf_set_roots()
227 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].root); in xrep_agf_set_roots()
229 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].height); in xrep_agf_set_roots()
258 agf->agf_freeblks = cpu_to_be32(raa.freeblks); in xrep_agf_calc_from_btrees()
259 agf->agf_longest = cpu_to_be32(raa.longest); in xrep_agf_calc_from_btrees()
276 agf->agf_rmap_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
279 agf->agf_btreeblks = cpu_to_be32(btreeblks); in xrep_agf_calc_from_btrees()
289 agf->agf_refcount_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
555 agf->agf_flfirst = cpu_to_be32(0); in xrep_agfl_update_agf()
556 agf->agf_flcount = cpu_to_be32(flcount); in xrep_agfl_update_agf()
557 agf->agf_fllast = cpu_to_be32(flcount - 1); in xrep_agfl_update_agf()
587 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header()
588 agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); in xrep_agfl_init_header()
604 agfl_bno[fl_off] = cpu_to_be32(agbno); in xrep_agfl_init_header()
761 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xrep_agi_init_header()
762 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xrep_agi_init_header()
763 agi->agi_seqno = cpu_to_be32(sc->sa.agno); in xrep_agi_init_header()
764 agi->agi_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); in xrep_agi_init_header()
765 agi->agi_newino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
766 agi->agi_dirino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
786 agi->agi_root = cpu_to_be32(fab[XREP_AGI_INOBT].root); in xrep_agi_set_roots()
787 agi->agi_level = cpu_to_be32(fab[XREP_AGI_INOBT].height); in xrep_agi_set_roots()
790 agi->agi_free_root = cpu_to_be32(fab[XREP_AGI_FINOBT].root); in xrep_agi_set_roots()
791 agi->agi_free_level = cpu_to_be32(fab[XREP_AGI_FINOBT].height); in xrep_agi_set_roots()
819 agi->agi_iblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()
823 agi->agi_count = cpu_to_be32(count); in xrep_agi_calc_from_btrees()
824 agi->agi_freecount = cpu_to_be32(freecount); in xrep_agi_calc_from_btrees()
838 agi->agi_fblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()