Searched refs:agf (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/fs/xfs/ |
D | xfs_alloc.c | 240 xfs_agf_t *agf; /* a.g. freelist header */ in xfs_alloc_fix_minleft() local 245 agf = XFS_BUF_TO_AGF(args->agbp); in xfs_alloc_fix_minleft() 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() 498 xfs_agf_t *agf, /* new agf value */ in xfs_alloc_trace_modagf() argument 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() 510 (void *)(__psunsigned_t)INT_GET(agf->agf_roots[XFS_BTNUM_BNO], in xfs_alloc_trace_modagf() 512 (void *)(__psunsigned_t)INT_GET(agf->agf_roots[XFS_BTNUM_CNT], in xfs_alloc_trace_modagf() 514 (void *)(__psunsigned_t)INT_GET(agf->agf_levels[XFS_BTNUM_BNO], in xfs_alloc_trace_modagf() [all …]
|
D | xfs_fsops.c | 133 xfs_agf_t *agf; in xfs_growfs_data_private() local 205 agf = XFS_BUF_TO_AGF(bp); in xfs_growfs_data_private() 206 memset(agf, 0, mp->m_sb.sb_sectsize); in xfs_growfs_data_private() 207 INT_SET(agf->agf_magicnum, ARCH_CONVERT, XFS_AGF_MAGIC); in xfs_growfs_data_private() 208 INT_SET(agf->agf_versionnum, ARCH_CONVERT, XFS_AGF_VERSION); in xfs_growfs_data_private() 209 INT_SET(agf->agf_seqno, ARCH_CONVERT, agno); in xfs_growfs_data_private() 216 INT_SET(agf->agf_length, ARCH_CONVERT, agsize); in xfs_growfs_data_private() 217 INT_SET(agf->agf_roots[XFS_BTNUM_BNOi], ARCH_CONVERT, in xfs_growfs_data_private() 219 INT_SET(agf->agf_roots[XFS_BTNUM_CNTi], ARCH_CONVERT, in xfs_growfs_data_private() 221 INT_SET(agf->agf_levels[XFS_BTNUM_BNOi], ARCH_CONVERT, 1); in xfs_growfs_data_private() [all …]
|
D | xfs_alloc_btree.c | 87 xfs_agf_t *agf; /* allocation group freelist header */ in xfs_alloc_delrec() local 192 agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_alloc_delrec() 206 INT_COPY(agf->agf_longest, rrp->ar_blockcount, ARCH_CONVERT); in xfs_alloc_delrec() 212 INT_ZERO(agf->agf_longest, ARCH_CONVERT); in xfs_alloc_delrec() 213 mp->m_perag[INT_GET(agf->agf_seqno, ARCH_CONVERT)].pagf_longest = in xfs_alloc_delrec() 214 INT_GET(agf->agf_longest, ARCH_CONVERT); in xfs_alloc_delrec() 233 bno = INT_GET(agf->agf_roots[cur->bc_btnum], ARCH_CONVERT); in xfs_alloc_delrec() 234 INT_COPY(agf->agf_roots[cur->bc_btnum], *lpp, ARCH_CONVERT); in xfs_alloc_delrec() 235 INT_MOD(agf->agf_levels[cur->bc_btnum], ARCH_CONVERT, -1); in xfs_alloc_delrec() 236 mp->m_perag[INT_GET(agf->agf_seqno, ARCH_CONVERT)].pagf_levels[cur->bc_btnum]--; in xfs_alloc_delrec() [all …]
|
D | xfs_btree.c | 318 xfs_agf_t *agf; /* ag. freespace structure */ in xfs_btree_check_sblock() local 323 agf = XFS_BUF_TO_AGF(agbp); in xfs_btree_check_sblock() 324 agflen = INT_GET(agf->agf_length, ARCH_CONVERT); in xfs_btree_check_sblock() 358 xfs_agf_t *agf; /* ag. freespace structure */ in xfs_btree_check_sptr() local 361 agf = XFS_BUF_TO_AGF(agbp); in xfs_btree_check_sptr() 365 ptr < INT_GET(agf->agf_length, ARCH_CONVERT)); in xfs_btree_check_sptr() 586 xfs_agf_t *agf; /* (A) allocation group freespace */ in xfs_btree_init_cursor() local 603 agf = XFS_BUF_TO_AGF(agbp); in xfs_btree_init_cursor() 604 nlevels = INT_GET(agf->agf_levels[btnum], ARCH_CONVERT); in xfs_btree_init_cursor()
|