Lines Matching refs:ARCH_CONVERT
246 diff = INT_GET(agf->agf_freeblks, ARCH_CONVERT) in xfs_alloc_fix_minleft()
247 + INT_GET(agf->agf_flcount, ARCH_CONVERT) in xfs_alloc_fix_minleft()
322 INT_GET(bnoblock->bb_numrecs, ARCH_CONVERT) == INT_GET(cntblock->bb_numrecs, ARCH_CONVERT)); in xfs_alloc_fixup_trees()
508 (void *)(__psunsigned_t)INT_GET(agf->agf_seqno, ARCH_CONVERT), in xfs_alloc_trace_modagf()
509 (void *)(__psunsigned_t)INT_GET(agf->agf_length, ARCH_CONVERT), in xfs_alloc_trace_modagf()
511 ARCH_CONVERT), in xfs_alloc_trace_modagf()
513 ARCH_CONVERT), in xfs_alloc_trace_modagf()
515 ARCH_CONVERT), in xfs_alloc_trace_modagf()
517 ARCH_CONVERT), in xfs_alloc_trace_modagf()
518 (void *)(__psunsigned_t)INT_GET(agf->agf_flfirst, ARCH_CONVERT), in xfs_alloc_trace_modagf()
519 (void *)(__psunsigned_t)INT_GET(agf->agf_fllast, ARCH_CONVERT), in xfs_alloc_trace_modagf()
520 (void *)(__psunsigned_t)INT_GET(agf->agf_flcount, ARCH_CONVERT), in xfs_alloc_trace_modagf()
521 (void *)(__psunsigned_t)INT_GET(agf->agf_freeblks, ARCH_CONVERT), in xfs_alloc_trace_modagf()
522 (void *)(__psunsigned_t)INT_GET(agf->agf_longest, ARCH_CONVERT)); in xfs_alloc_trace_modagf()
615 INT_MOD(agf->agf_freeblks, ARCH_CONVERT, -(args->len)); in xfs_alloc_ag_vextent()
619 ASSERT(INT_GET(agf->agf_freeblks, ARCH_CONVERT) in xfs_alloc_ag_vextent()
620 <= INT_GET(agf->agf_length, ARCH_CONVERT)); in xfs_alloc_ag_vextent()
727 ARCH_CONVERT)); in xfs_alloc_ag_vextent_exact()
901 ARCH_CONVERT)); in xfs_alloc_ag_vextent_near()
1257 ARCH_CONVERT)); in xfs_alloc_ag_vextent_near()
1421 ARCH_CONVERT), in xfs_alloc_ag_vextent_size()
1470 ARCH_CONVERT) > args->minleft)) { in xfs_alloc_ag_vextent_small()
1486 ARCH_CONVERT), in xfs_alloc_ag_vextent_small()
1760 INT_MOD(agf->agf_freeblks, ARCH_CONVERT, len); in xfs_free_ag_extent()
1764 INT_GET(agf->agf_freeblks, ARCH_CONVERT) in xfs_free_ag_extent()
1765 <= INT_GET(agf->agf_length, ARCH_CONVERT), in xfs_free_ag_extent()
1912 delta = need > INT_GET(agf->agf_flcount, ARCH_CONVERT) ? in xfs_alloc_fix_freelist()
1913 (need - INT_GET(agf->agf_flcount, ARCH_CONVERT)) : 0; in xfs_alloc_fix_freelist()
1917 longest = INT_GET(agf->agf_longest, ARCH_CONVERT); in xfs_alloc_fix_freelist()
1919 (INT_GET(agf->agf_flcount, ARCH_CONVERT) > 0 || longest > 0); in xfs_alloc_fix_freelist()
1922 (int)(INT_GET(agf->agf_freeblks, ARCH_CONVERT) + in xfs_alloc_fix_freelist()
1923 INT_GET(agf->agf_flcount, ARCH_CONVERT) - need - args->total) < in xfs_alloc_fix_freelist()
1932 while (INT_GET(agf->agf_flcount, ARCH_CONVERT) > need) { in xfs_alloc_fix_freelist()
1959 while (INT_GET(agf->agf_flcount, ARCH_CONVERT) < need) { in xfs_alloc_fix_freelist()
1961 targs.maxlen = need - INT_GET(agf->agf_flcount, ARCH_CONVERT); in xfs_alloc_fix_freelist()
2012 if (INT_ISZERO(agf->agf_flcount, ARCH_CONVERT)) { in xfs_alloc_get_freelist()
2021 INT_GET(agf->agf_seqno, ARCH_CONVERT), &agflbp))) in xfs_alloc_get_freelist()
2027 bno = INT_GET(agfl->agfl_bno[INT_GET(agf->agf_flfirst, ARCH_CONVERT)], ARCH_CONVERT); in xfs_alloc_get_freelist()
2028 INT_MOD(agf->agf_flfirst, ARCH_CONVERT, 1); in xfs_alloc_get_freelist()
2030 if (INT_GET(agf->agf_flfirst, ARCH_CONVERT) == XFS_AGFL_SIZE(mp)) in xfs_alloc_get_freelist()
2031 INT_ZERO(agf->agf_flfirst, ARCH_CONVERT); in xfs_alloc_get_freelist()
2032 pag = &mp->m_perag[INT_GET(agf->agf_seqno, ARCH_CONVERT)]; in xfs_alloc_get_freelist()
2033 INT_MOD(agf->agf_flcount, ARCH_CONVERT, -1); in xfs_alloc_get_freelist()
2048 xfs_alloc_search_busy(tp, INT_GET(agf->agf_seqno, ARCH_CONVERT), bno, 1); in xfs_alloc_get_freelist()
2126 INT_GET(agf->agf_seqno, ARCH_CONVERT), &agflbp))) in xfs_alloc_put_freelist()
2129 INT_MOD(agf->agf_fllast, ARCH_CONVERT, 1); in xfs_alloc_put_freelist()
2130 if (INT_GET(agf->agf_fllast, ARCH_CONVERT) == XFS_AGFL_SIZE(mp)) in xfs_alloc_put_freelist()
2131 INT_ZERO(agf->agf_fllast, ARCH_CONVERT); in xfs_alloc_put_freelist()
2132 pag = &mp->m_perag[INT_GET(agf->agf_seqno, ARCH_CONVERT)]; in xfs_alloc_put_freelist()
2133 INT_MOD(agf->agf_flcount, ARCH_CONVERT, 1); in xfs_alloc_put_freelist()
2136 ASSERT(INT_GET(agf->agf_flcount, ARCH_CONVERT) <= XFS_AGFL_SIZE(mp)); in xfs_alloc_put_freelist()
2137 blockp = &agfl->agfl_bno[INT_GET(agf->agf_fllast, ARCH_CONVERT)]; in xfs_alloc_put_freelist()
2138 INT_SET(*blockp, ARCH_CONVERT, bno); in xfs_alloc_put_freelist()
2184 INT_GET(agf->agf_magicnum, ARCH_CONVERT) == XFS_AGF_MAGIC && in xfs_alloc_read_agf()
2186 INT_GET(agf->agf_versionnum, ARCH_CONVERT)) && in xfs_alloc_read_agf()
2187 INT_GET(agf->agf_freeblks, ARCH_CONVERT) <= in xfs_alloc_read_agf()
2188 INT_GET(agf->agf_length, ARCH_CONVERT) && in xfs_alloc_read_agf()
2189 INT_GET(agf->agf_flfirst, ARCH_CONVERT) < XFS_AGFL_SIZE(mp) && in xfs_alloc_read_agf()
2190 INT_GET(agf->agf_fllast, ARCH_CONVERT) < XFS_AGFL_SIZE(mp) && in xfs_alloc_read_agf()
2191 INT_GET(agf->agf_flcount, ARCH_CONVERT) <= XFS_AGFL_SIZE(mp); in xfs_alloc_read_agf()
2201 pag->pagf_freeblks = INT_GET(agf->agf_freeblks, ARCH_CONVERT); in xfs_alloc_read_agf()
2202 pag->pagf_flcount = INT_GET(agf->agf_flcount, ARCH_CONVERT); in xfs_alloc_read_agf()
2203 pag->pagf_longest = INT_GET(agf->agf_longest, ARCH_CONVERT); in xfs_alloc_read_agf()
2205 INT_GET(agf->agf_levels[XFS_BTNUM_BNOi], ARCH_CONVERT); in xfs_alloc_read_agf()
2207 INT_GET(agf->agf_levels[XFS_BTNUM_CNTi], ARCH_CONVERT); in xfs_alloc_read_agf()
2215 ASSERT(pag->pagf_freeblks == INT_GET(agf->agf_freeblks, ARCH_CONVERT)); in xfs_alloc_read_agf()
2216 ASSERT(pag->pagf_flcount == INT_GET(agf->agf_flcount, ARCH_CONVERT)); in xfs_alloc_read_agf()
2217 ASSERT(pag->pagf_longest == INT_GET(agf->agf_longest, ARCH_CONVERT)); in xfs_alloc_read_agf()
2219 INT_GET(agf->agf_levels[XFS_BTNUM_BNOi], ARCH_CONVERT)); in xfs_alloc_read_agf()
2221 INT_GET(agf->agf_levels[XFS_BTNUM_CNTi], ARCH_CONVERT)); in xfs_alloc_read_agf()
2470 ASSERT(args.agbno + len <= INT_GET(agf->agf_length, ARCH_CONVERT)); in xfs_free_extent()