Searched refs:i_delayed_blks (Results 1 – 13 of 13) sorted by relevance
91 if (ip->i_delayed_blks >= rhs) in xfs_metafile_resv_can_cover()99 rhs - ip->i_delayed_blks, 2048) >= 0; in xfs_metafile_resv_can_cover()147 if (ip->i_delayed_blks > 0) { in xfs_metafile_resv_alloc_space()150 from_resv = min_t(int64_t, len, ip->i_delayed_blks); in xfs_metafile_resv_alloc_space()151 ip->i_delayed_blks -= from_resv; in xfs_metafile_resv_alloc_space()201 to_resv = ip->i_meta_resv_asked - (ip->i_nblocks + ip->i_delayed_blks); in xfs_metafile_resv_free_space()204 ip->i_delayed_blks += to_resv; in xfs_metafile_resv_free_space()230 if (ip->i_delayed_blks) { in xfs_metafile_resv_free()231 xfs_mod_delalloc(ip, 0, -ip->i_delayed_blks); in xfs_metafile_resv_free()232 xfs_add_fdblocks(ip->i_mount, ip->i_delayed_blks); in xfs_metafile_resv_free()[all …]
3417 ap->ip->i_delayed_blks += ap->length; in xfs_bmap_alloc_account()3428 ap->ip->i_delayed_blks -= ap->length; in xfs_bmap_alloc_account()4138 ip->i_delayed_blks += alen; in xfs_bmapi_reserve_delalloc()4842 ip->i_delayed_blks -= len; /* see xfs_bmap_defer_add */ in xfs_bmapi_remap()4981 ip->i_delayed_blks -= del->br_blockcount; in xfs_bmap_del_extent_delay()5148 ip->i_delayed_blks -= del->br_blockcount; in xfs_bmap_del_extent_cow()
310 (ip->i_delayed_blks || XFS_ISIZE(ip) > ip->i_disk_size)) { in xfs_getbmap()514 ip->i_delayed_blks == 0) in xfs_can_free_eofblocks()525 if ((ip->i_diflags & XFS_DIFLAG_PREALLOC) && !ip->i_delayed_blks) in xfs_can_free_eofblocks()547 if (ip->i_delayed_blks || in xfs_can_free_eofblocks()582 if (ip->i_delayed_blks) { in xfs_free_eofblocks()1417 ASSERT(tip->i_delayed_blks == 0); in xfs_swap_extent_forks()1418 tip->i_delayed_blks = ip->i_delayed_blks; in xfs_swap_extent_forks()1419 ip->i_delayed_blks = 0; in xfs_swap_extent_forks()
360 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bmap_defer_add()374 bi->bi_owner->i_delayed_blks -= bi->bi_bmap.br_blockcount; in xfs_bmap_update_cancel_item()475 bi->bi_owner->i_delayed_blks += bi->bi_bmap.br_blockcount; in xfs_bui_recover_work()
67 uint64_t i_delayed_blks; /* count of delay alloc blks */ member321 return ip->i_df.if_nextents > 0 || ip->i_delayed_blks > 0; in xfs_inode_has_filedata()
1432 ASSERT(ip->i_delayed_blks == 0); in xfs_qm_dqusage_adjust()2124 -ip->i_delayed_blks); in xfs_qm_vop_chown()2136 ASSERT(prevdq->q_rtb.reserved >= ip->i_delayed_blks); in xfs_qm_vop_chown()2137 prevdq->q_rtb.reserved -= ip->i_delayed_blks; in xfs_qm_vop_chown()2139 ASSERT(prevdq->q_blk.reserved >= ip->i_delayed_blks); in xfs_qm_vop_chown()2140 prevdq->q_blk.reserved -= ip->i_delayed_blks; in xfs_qm_vop_chown()
1303 rblocks += ip->i_delayed_blks; in xfs_trans_alloc_ichange()1305 dblocks += ip->i_delayed_blks; in xfs_trans_alloc_ichange()
122 ip->i_delayed_blks = 0; in xfs_inode_alloc()1906 if (!xfs_is_shutdown(mp) && ip->i_delayed_blks) { in xfs_inodegc_set_reclaimable()
645 stat->blocks = XFS_FSB_TO_BB(mp, ip->i_nblocks + ip->i_delayed_blks); in xfs_vn_getattr()
1325 if (ip->i_delayed_blks > 0) in xfs_file_release()
5626 __entry->reserved = ip->i_delayed_blks;
1393 delta = ip->i_nblocks + ip->i_delayed_blks - ip->i_meta_resv_asked; in xrep_reset_metafile_resv()1404 give_back = min_t(uint64_t, delta, ip->i_delayed_blks); in xrep_reset_metafile_resv()1408 ip->i_delayed_blks -= give_back; in xrep_reset_metafile_resv()1434 ip->i_delayed_blks += delta; in xrep_reset_metafile_resv()
495 if (rb->whichfork == XFS_ATTR_FORK || ip->i_delayed_blks == 0) in xrep_bmap_find_delalloc()