Lines Matching refs:cpu_to_be32
63 ~cpu_to_be32(XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR); in xrep_superblock()
198 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header()
199 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
200 agf->agf_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agf_init_header()
201 agf->agf_length = cpu_to_be32(sc->sa.pag->block_count); in xrep_agf_init_header()
221 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
223 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
226 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
228 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
231 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
233 cpu_to_be32(fab[XREP_AGF_RMAPBT].height); in xrep_agf_set_roots()
237 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].root); in xrep_agf_set_roots()
239 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].height); in xrep_agf_set_roots()
268 agf->agf_freeblks = cpu_to_be32(raa.freeblks); in xrep_agf_calc_from_btrees()
269 agf->agf_longest = cpu_to_be32(raa.longest); in xrep_agf_calc_from_btrees()
286 agf->agf_rmap_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
289 agf->agf_btreeblks = cpu_to_be32(btreeblks); in xrep_agf_calc_from_btrees()
299 agf->agf_refcount_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
569 agf->agf_flfirst = cpu_to_be32(0); in xrep_agfl_update_agf()
570 agf->agf_flcount = cpu_to_be32(flcount); in xrep_agfl_update_agf()
571 agf->agf_fllast = cpu_to_be32(flcount - 1); in xrep_agfl_update_agf()
601 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header()
602 agfl->agfl_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agfl_init_header()
619 agfl_bno[fl_off] = cpu_to_be32(agbno); in xrep_agfl_init_header()
776 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xrep_agi_init_header()
777 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xrep_agi_init_header()
778 agi->agi_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agi_init_header()
779 agi->agi_length = cpu_to_be32(sc->sa.pag->block_count); in xrep_agi_init_header()
780 agi->agi_newino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
781 agi->agi_dirino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
801 agi->agi_root = cpu_to_be32(fab[XREP_AGI_INOBT].root); in xrep_agi_set_roots()
802 agi->agi_level = cpu_to_be32(fab[XREP_AGI_INOBT].height); in xrep_agi_set_roots()
805 agi->agi_free_root = cpu_to_be32(fab[XREP_AGI_FINOBT].root); in xrep_agi_set_roots()
806 agi->agi_free_level = cpu_to_be32(fab[XREP_AGI_FINOBT].height); in xrep_agi_set_roots()
834 agi->agi_iblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()
838 agi->agi_count = cpu_to_be32(count); in xrep_agi_calc_from_btrees()
839 agi->agi_freecount = cpu_to_be32(freecount); in xrep_agi_calc_from_btrees()
850 agi->agi_fblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()