/linux-4.1.27/fs/xfs/libxfs/ |
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() 182 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_inobt_init_ptr_from_cur() 194 struct xfs_agi *agi = XFS_BUF_TO_AGI(cur->bc_private.a.agbp); in xfs_finobt_init_ptr_from_cur() 375 struct xfs_buf *agbp, /* buffer for agi structure */ in xfs_inobt_init_cursor() argument [all …]
|
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.c | 133 struct xfs_buf *agbp, in xfs_inobt_insert() argument 139 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_inobt_insert() 145 cur = xfs_inobt_init_cursor(mp, tp, agbp, agno, btnum); in xfs_inobt_insert() 356 xfs_buf_t *agbp, /* alloc group buffer */ in xfs_ialloc_ag_alloc() argument 388 agi = XFS_BUF_TO_AGI(agbp); in xfs_ialloc_ag_alloc() 517 error = xfs_inobt_insert(args.mp, tp, agbp, newino, newlen, in xfs_ialloc_ag_alloc() 523 error = xfs_inobt_insert(args.mp, tp, agbp, newino, newlen, in xfs_ialloc_ag_alloc() 531 xfs_ialloc_log_agi(tp, agbp, in xfs_ialloc_ag_alloc() 740 struct xfs_buf *agbp, in xfs_dialloc_ag_inobt() argument 745 struct xfs_agi *agi = XFS_BUF_TO_AGI(agbp); in xfs_dialloc_ag_inobt() [all …]
|
D | xfs_alloc.c | 284 agf = XFS_BUF_TO_AGF(args->agbp); in xfs_alloc_fix_minleft() 555 struct xfs_buf *agbp, in xfs_alloc_update_counters() argument 558 struct xfs_agf *agf = XFS_BUF_TO_AGF(agbp); in xfs_alloc_update_counters() 568 xfs_alloc_log_agf(tp, agbp, XFS_AGF_FREEBLKS); in xfs_alloc_update_counters() 624 args->agbp, in xfs_alloc_ag_vextent() 670 bno_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_exact() 728 cnt_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_exact() 731 be32_to_cpu(XFS_BUF_TO_AGF(args->agbp)->agf_length)); in xfs_alloc_ag_vextent_exact() 897 cnt_cur = xfs_allocbt_init_cursor(args->mp, args->tp, args->agbp, in xfs_alloc_ag_vextent_near() 1008 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 152 struct xfs_buf *agbp, /* buffer containing the agf structure */ 181 struct xfs_buf *agbp, /* buffer for a.g. freelist header */
|
D | xfs_ialloc.h | 79 struct xfs_buf **agbp, /* buf for a.g. inode header */
|
D | xfs_btree.h | 213 struct xfs_buf *agbp; /* agf/agi buffer pointer */ member
|
D | xfs_btree.c | 106 struct xfs_buf *agbp; /* buffer for ag. freespace struct */ in xfs_btree_check_sblock() local 112 agbp = cur->bc_private.a.agbp; in xfs_btree_check_sblock() 113 agf = XFS_BUF_TO_AGF(agbp); in xfs_btree_check_sblock()
|
/linux-4.1.27/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() 473 xfs_buf_relse(agbp); in xfs_bulkstat() 560 struct xfs_buf *agbp = NULL; in xfs_inumbers() local 578 if (!agbp) { in xfs_inumbers() 579 error = xfs_ialloc_read_agi(mp, NULL, agno, &agbp); in xfs_inumbers() 583 cur = xfs_inobt_init_cursor(mp, NULL, agbp, agno, in xfs_inumbers() 627 xfs_buf_relse(agbp); in xfs_inumbers() 628 agbp = NULL; in xfs_inumbers() [all …]
|