Searched refs:agf (Results 1 – 5 of 5) sorted by relevance
/linux-2.6.39/fs/xfs/ |
D | xfs_alloc_btree.c | 56 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_allocbt_set_root() local 57 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_allocbt_set_root() 63 agf->agf_roots[btnum] = ptr->s; in xfs_allocbt_set_root() 64 be32_add_cpu(&agf->agf_levels[btnum], inc); in xfs_allocbt_set_root() 112 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_allocbt_free_block() local 132 xfs_alloc_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1); in xfs_allocbt_free_block() 148 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_update_lastrec() local 149 xfs_agnumber_t seqno = be32_to_cpu(agf->agf_seqno); in xfs_allocbt_update_lastrec() 168 be32_to_cpu(agf->agf_longest)) in xfs_allocbt_update_lastrec() 193 agf->agf_longest = len; in xfs_allocbt_update_lastrec() [all …]
|
D | xfs_alloc.c | 276 xfs_agf_t *agf; /* a.g. freelist header */ in xfs_alloc_fix_minleft() local 281 agf = XFS_BUF_TO_AGF(args->agbp); in xfs_alloc_fix_minleft() 282 diff = be32_to_cpu(agf->agf_freeblks) in xfs_alloc_fix_minleft() 283 + be32_to_cpu(agf->agf_flcount) in xfs_alloc_fix_minleft() 473 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_alloc_update_counters() local 476 be32_add_cpu(&agf->agf_freeblks, len); in xfs_alloc_update_counters() 479 if (unlikely(be32_to_cpu(agf->agf_freeblks) > in xfs_alloc_update_counters() 480 be32_to_cpu(agf->agf_length))) in xfs_alloc_update_counters() 1699 xfs_agf_t *agf; /* a.g. freespace structure pointer */ in xfs_alloc_fix_freelist() local 1776 agf = XFS_BUF_TO_AGF(agbp); in xfs_alloc_fix_freelist() [all …]
|
D | xfs_fsops.c | 123 xfs_agf_t *agf; in xfs_growfs_data_private() local 197 agf = XFS_BUF_TO_AGF(bp); in xfs_growfs_data_private() 198 memset(agf, 0, mp->m_sb.sb_sectsize); in xfs_growfs_data_private() 199 agf->agf_magicnum = cpu_to_be32(XFS_AGF_MAGIC); in xfs_growfs_data_private() 200 agf->agf_versionnum = cpu_to_be32(XFS_AGF_VERSION); in xfs_growfs_data_private() 201 agf->agf_seqno = cpu_to_be32(agno); in xfs_growfs_data_private() 208 agf->agf_length = cpu_to_be32(agsize); in xfs_growfs_data_private() 209 agf->agf_roots[XFS_BTNUM_BNOi] = cpu_to_be32(XFS_BNO_BLOCK(mp)); in xfs_growfs_data_private() 210 agf->agf_roots[XFS_BTNUM_CNTi] = cpu_to_be32(XFS_CNT_BLOCK(mp)); in xfs_growfs_data_private() 211 agf->agf_levels[XFS_BTNUM_BNOi] = cpu_to_be32(1); in xfs_growfs_data_private() [all …]
|
D | xfs_btree.c | 96 struct xfs_agf *agf; /* ag. freespace structure */ in xfs_btree_check_sblock() local 101 agf = XFS_BUF_TO_AGF(agbp); in xfs_btree_check_sblock() 102 agflen = be32_to_cpu(agf->agf_length); in xfs_btree_check_sblock()
|
/linux-2.6.39/fs/xfs/linux-2.6/ |
D | xfs_trace.h | 1264 TP_PROTO(struct xfs_mount *mp, struct xfs_agf *agf, int flags, 1266 TP_ARGS(mp, agf, flags, caller_ip), 1285 __entry->agno = be32_to_cpu(agf->agf_seqno), 1287 __entry->length = be32_to_cpu(agf->agf_length), 1288 __entry->bno_root = be32_to_cpu(agf->agf_roots[XFS_BTNUM_BNO]), 1289 __entry->cnt_root = be32_to_cpu(agf->agf_roots[XFS_BTNUM_CNT]), 1291 be32_to_cpu(agf->agf_levels[XFS_BTNUM_BNO]), 1293 be32_to_cpu(agf->agf_levels[XFS_BTNUM_CNT]), 1294 __entry->flfirst = be32_to_cpu(agf->agf_flfirst), 1295 __entry->fllast = be32_to_cpu(agf->agf_fllast), [all …]
|