/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 41 cur->bc_private.a.agbp, cur->bc_private.a.agno, in xfs_allocbt_dup_cursor() 51 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_allocbt_set_root() local 52 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_allocbt_set_root() 64 xfs_alloc_log_agf(cur->bc_tp, agbp, XFS_AGF_ROOTS | XFS_AGF_LEVELS); in xfs_allocbt_set_root() 80 error = xfs_alloc_get_freelist(cur->bc_tp, cur->bc_private.a.agbp, in xfs_allocbt_alloc_block() 108 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_allocbt_free_block() local 109 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_allocbt_free_block() 114 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1); in xfs_allocbt_free_block() 137 struct xfs_agf *agf = XFS_BUF_TO_AGF(cur->bc_private.a.agbp); in xfs_allocbt_update_lastrec() 186 xfs_alloc_log_agf(cur->bc_tp, cur->bc_private.a.agbp, XFS_AGF_LONGEST); in xfs_allocbt_update_lastrec() [all …]
|
D | xfs_ialloc_btree.c | 50 cur->bc_private.a.agbp, cur->bc_private.a.agno, in xfs_inobt_dup_cursor() 60 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_inobt_set_root() local 61 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_set_root() 65 xfs_ialloc_log_agi(cur->bc_tp, agbp, XFS_AGI_ROOT | XFS_AGI_LEVEL); in xfs_inobt_set_root() 74 struct xfs_buf *agbp = cur->bc_private.a.agbp; in xfs_finobt_set_root() local 75 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_finobt_set_root() 79 xfs_ialloc_log_agi(cur->bc_tp, agbp, in xfs_finobt_set_root() 191 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_inobt_init_ptr_from_cur() 203 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_finobt_init_ptr_from_cur() 385 struct xfs_buf *agbp, /* buffer for agi structure */ in xfs_inobt_init_cursor() argument [all …]
|
D | xfs_ialloc.c | 162 struct xfs_buf *agbp, in xfs_inobt_insert() argument 168 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_insert() 174 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); in xfs_inobt_insert() 513 struct xfs_buf *agbp, in xfs_inobt_insert_sprec() argument 519 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_insert_sprec() 525 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); in xfs_inobt_insert_sprec() 597 xfs_buf_t *agbp, /* alloc group buffer */ in xfs_ialloc_ag_alloc() argument 640 agi = XFS_BUF_TO_AGI(agbp); in xfs_ialloc_ag_alloc() 819 error = xfs_inobt_insert_sprec(args.mp, tp, agbp, XFS_BTNUM_INO, in xfs_ialloc_ag_alloc() 844 error = xfs_inobt_insert_sprec(args.mp, tp, agbp, in xfs_ialloc_ag_alloc() [all …]
|
D | xfs_alloc.c | 298 agf = XFS_BUF_TO_AGF(args->agbp); in xfs_alloc_fix_minleft() 572 struct xfs_buf *agbp, in xfs_alloc_update_counters() argument 575 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_alloc_update_counters() 585 xfs_alloc_log_agf(tp, agbp, XFS_AGF_FREEBLKS); in xfs_alloc_update_counters() 641 args->agbp, in xfs_alloc_ag_vextent() 687 bno_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_exact() 745 cnt_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_exact() 748 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); in xfs_alloc_ag_vextent_exact() 929 cnt_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_near() 1042 ASSERT(ltbno + ltlen <= be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); in xfs_alloc_ag_vextent_near() [all …]
|
D | xfs_alloc.h | 102 struct xfs_buf *agbp; /* buffer for a.g. freelist header */ member 154 struct xfs_buf *agbp, /* buffer containing the agf structure */ 183 struct xfs_buf *agbp, /* buffer for a.g. freelist header */
|
D | xfs_ialloc.h | 85 struct xfs_buf **agbp, /* buf for a.g. inode header */
|
D | xfs_btree.h | 220 struct xfs_buf *agbp; /* agf/agi buffer pointer */ member
|
D | xfs_btree.c | 108 struct xfs_buf *agbp; /* buffer for ag. freespace struct */ in xfs_btree_check_sblock() local 114 agbp = cur->bc_private.a.agbp; in xfs_btree_check_sblock() 115 agf = XFS_BUF_TO_AGF(agbp); in xfs_btree_check_sblock()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_discard.c | 46 struct xfs_buf *agbp; in xfs_trim_extents() local 53 error = xfs_alloc_read_agf(mp, NULL, agno, 0, &agbp); in xfs_trim_extents() 54 if (error || !agbp) in xfs_trim_extents() 57 cur = xfs_allocbt_init_cursor(mp, NULL, agbp, agno, XFS_BTNUM_CNT); in xfs_trim_extents() 70 be32_to_cpu(XFS_BUF_TO_AGF(agbp)->agf_longest), &i); in xfs_trim_extents() 88 ASSERT(flen <= be32_to_cpu(XFS_BUF_TO_AGF(agbp)->agf_longest)); in xfs_trim_extents() 139 xfs_buf_relse(agbp); in xfs_trim_extents()
|
D | xfs_itable.c | 350 xfs_buf_t *agbp; /* agi header buffer */ in xfs_bulkstat() local 398 error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); in xfs_bulkstat() 404 cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno, in xfs_bulkstat() 478 xfs_buf_relse(agbp); in xfs_bulkstat() 565 struct xfs_buf *agbp = NULL; in xfs_inumbers() local 583 if (!agbp) { in xfs_inumbers() 584 error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); in xfs_inumbers() 588 cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno, in xfs_inumbers() 631 xfs_buf_relse(agbp); in xfs_inumbers() 632 agbp = NULL; in xfs_inumbers() [all …]
|