Lines Matching refs:cpu_to_be32
193 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header()
194 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
195 agf->agf_seqno = cpu_to_be32(sc->sa.agno); in xrep_agf_init_header()
196 agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); in xrep_agf_init_header()
216 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
218 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
221 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
223 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
226 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
228 cpu_to_be32(fab[XREP_AGF_RMAPBT].height); in xrep_agf_set_roots()
232 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].root); in xrep_agf_set_roots()
234 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].height); in xrep_agf_set_roots()
263 agf->agf_freeblks = cpu_to_be32(raa.freeblks); in xrep_agf_calc_from_btrees()
264 agf->agf_longest = cpu_to_be32(raa.longest); in xrep_agf_calc_from_btrees()
281 agf->agf_rmap_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
284 agf->agf_btreeblks = cpu_to_be32(btreeblks); in xrep_agf_calc_from_btrees()
294 agf->agf_refcount_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
572 agf->agf_flfirst = cpu_to_be32(0); in xrep_agfl_update_agf()
573 agf->agf_flcount = cpu_to_be32(flcount); in xrep_agfl_update_agf()
574 agf->agf_fllast = cpu_to_be32(flcount - 1); in xrep_agfl_update_agf()
604 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header()
605 agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); in xrep_agfl_init_header()
621 agfl_bno[fl_off] = cpu_to_be32(agbno); in xrep_agfl_init_header()
783 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xrep_agi_init_header()
784 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xrep_agi_init_header()
785 agi->agi_seqno = cpu_to_be32(sc->sa.agno); in xrep_agi_init_header()
786 agi->agi_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); in xrep_agi_init_header()
787 agi->agi_newino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
788 agi->agi_dirino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
808 agi->agi_root = cpu_to_be32(fab[XREP_AGI_INOBT].root); in xrep_agi_set_roots()
809 agi->agi_level = cpu_to_be32(fab[XREP_AGI_INOBT].height); in xrep_agi_set_roots()
812 agi->agi_free_root = cpu_to_be32(fab[XREP_AGI_FINOBT].root); in xrep_agi_set_roots()
813 agi->agi_free_level = cpu_to_be32(fab[XREP_AGI_FINOBT].height); in xrep_agi_set_roots()
837 agi->agi_count = cpu_to_be32(count); in xrep_agi_calc_from_btrees()
838 agi->agi_freecount = cpu_to_be32(freecount); in xrep_agi_calc_from_btrees()