Lines Matching refs:cpu_to_be32
63 ~cpu_to_be32(XFS_SB_FEAT_INCOMPAT_NEEDSREPAIR); in xrep_superblock()
199 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xrep_agf_init_header()
200 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xrep_agf_init_header()
201 agf->agf_seqno = cpu_to_be32(pag->pag_agno); in xrep_agf_init_header()
202 agf->agf_length = cpu_to_be32(pag->block_count); in xrep_agf_init_header()
222 cpu_to_be32(fab[XREP_AGF_BNOBT].root); in xrep_agf_set_roots()
224 cpu_to_be32(fab[XREP_AGF_BNOBT].height); in xrep_agf_set_roots()
227 cpu_to_be32(fab[XREP_AGF_CNTBT].root); in xrep_agf_set_roots()
229 cpu_to_be32(fab[XREP_AGF_CNTBT].height); in xrep_agf_set_roots()
232 cpu_to_be32(fab[XREP_AGF_RMAPBT].root); in xrep_agf_set_roots()
234 cpu_to_be32(fab[XREP_AGF_RMAPBT].height); in xrep_agf_set_roots()
238 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].root); in xrep_agf_set_roots()
240 cpu_to_be32(fab[XREP_AGF_REFCOUNTBT].height); in xrep_agf_set_roots()
269 agf->agf_freeblks = cpu_to_be32(raa.freeblks); in xrep_agf_calc_from_btrees()
270 agf->agf_longest = cpu_to_be32(raa.longest); in xrep_agf_calc_from_btrees()
287 agf->agf_rmap_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
290 agf->agf_btreeblks = cpu_to_be32(btreeblks); in xrep_agf_calc_from_btrees()
300 agf->agf_refcount_blocks = cpu_to_be32(blocks); in xrep_agf_calc_from_btrees()
624 agf->agf_flfirst = cpu_to_be32(0); in xrep_agfl_update_agf()
625 agf->agf_flcount = cpu_to_be32(flcount); in xrep_agfl_update_agf()
626 agf->agf_fllast = cpu_to_be32(flcount - 1); in xrep_agfl_update_agf()
656 agfl->agfl_magicnum = cpu_to_be32(XFS_AGFL_MAGIC); in xrep_agfl_init_header()
657 agfl->agfl_seqno = cpu_to_be32(sc->sa.pag->pag_agno); in xrep_agfl_init_header()
674 agfl_bno[fl_off] = cpu_to_be32(agbno); in xrep_agfl_init_header()
831 agi->agi_magicnum = cpu_to_be32(XFS_AGI_MAGIC); in xrep_agi_init_header()
832 agi->agi_versionnum = cpu_to_be32(XFS_AGI_VERSION); in xrep_agi_init_header()
833 agi->agi_seqno = cpu_to_be32(pag->pag_agno); in xrep_agi_init_header()
834 agi->agi_length = cpu_to_be32(pag->block_count); in xrep_agi_init_header()
835 agi->agi_newino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
836 agi->agi_dirino = cpu_to_be32(NULLAGINO); in xrep_agi_init_header()
856 agi->agi_root = cpu_to_be32(fab[XREP_AGI_INOBT].root); in xrep_agi_set_roots()
857 agi->agi_level = cpu_to_be32(fab[XREP_AGI_INOBT].height); in xrep_agi_set_roots()
860 agi->agi_free_root = cpu_to_be32(fab[XREP_AGI_FINOBT].root); in xrep_agi_set_roots()
861 agi->agi_free_level = cpu_to_be32(fab[XREP_AGI_FINOBT].height); in xrep_agi_set_roots()
888 agi->agi_iblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()
892 agi->agi_count = cpu_to_be32(count); in xrep_agi_calc_from_btrees()
893 agi->agi_freecount = cpu_to_be32(freecount); in xrep_agi_calc_from_btrees()
904 agi->agi_fblocks = cpu_to_be32(blocks); in xrep_agi_calc_from_btrees()