Lines Matching refs:cpu_to_be32

189 	agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC);  in xrep_agf_init_header()
190 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
191 agf->agf_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agf_init_header()
192 agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, in xrep_agf_init_header()
213 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
215 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
218 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
220 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
223 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
225 cpu_to_be32(fab[XREP_AGF_RMAPBT].height); in xrep_agf_set_roots()
229 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].root); in xrep_agf_set_roots()
231 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].height); in xrep_agf_set_roots()
260 agf->agf_freeblks = cpu_to_be32(raa.freeblks); in xrep_agf_calc_from_btrees()
261 agf->agf_longest = cpu_to_be32(raa.longest); in xrep_agf_calc_from_btrees()
278 agf->agf_rmap_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
281 agf->agf_btreeblks = cpu_to_be32(btreeblks); in xrep_agf_calc_from_btrees()
291 agf->agf_refcount_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
557 agf->agf_flfirst = cpu_to_be32(0); in xrep_agfl_update_agf()
558 agf->agf_flcount = cpu_to_be32(flcount); in xrep_agfl_update_agf()
559 agf->agf_fllast = cpu_to_be32(flcount - 1); in xrep_agfl_update_agf()
589 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header()
590 agfl->agfl_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agfl_init_header()
607 agfl_bno[fl_off] = cpu_to_be32(agbno); in xrep_agfl_init_header()
766 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xrep_agi_init_header()
767 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xrep_agi_init_header()
768 agi->agi_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agi_init_header()
769 agi->agi_length = cpu_to_be32(xfs_ag_block_count(mp, in xrep_agi_init_header()
771 agi->agi_newino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
772 agi->agi_dirino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
792 agi->agi_root = cpu_to_be32(fab[XREP_AGI_INOBT].root); in xrep_agi_set_roots()
793 agi->agi_level = cpu_to_be32(fab[XREP_AGI_INOBT].height); in xrep_agi_set_roots()
796 agi->agi_free_root = cpu_to_be32(fab[XREP_AGI_FINOBT].root); in xrep_agi_set_roots()
797 agi->agi_free_level = cpu_to_be32(fab[XREP_AGI_FINOBT].height); in xrep_agi_set_roots()
825 agi->agi_iblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()
829 agi->agi_count = cpu_to_be32(count); in xrep_agi_calc_from_btrees()
830 agi->agi_freecount = cpu_to_be32(freecount); in xrep_agi_calc_from_btrees()
841 agi->agi_fblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()