| /linux/fs/xfs/libxfs/ |
| H A D | xfs_refcount.h | 79 void xfs_refcount_increase_extent(struct xfs_trans *tp, bool isrt, 81 void xfs_refcount_decrease_extent(struct xfs_trans *tp, bool isrt, 93 void xfs_refcount_alloc_cow_extent(struct xfs_trans *tp, bool isrt, 95 void xfs_refcount_free_cow_extent(struct xfs_trans *tp, bool isrt,
|
| H A D | xfs_refcount.c | 1581 bool isrt, in __xfs_refcount_add() argument 1593 ri->ri_realtime = isrt; in __xfs_refcount_add() 1604 bool isrt, in xfs_refcount_increase_extent() argument 1610 __xfs_refcount_add(tp, XFS_REFCOUNT_INCREASE, isrt, PREV->br_startblock, in xfs_refcount_increase_extent() 1620 bool isrt, in xfs_refcount_decrease_extent() argument 1626 __xfs_refcount_add(tp, XFS_REFCOUNT_DECREASE, isrt, PREV->br_startblock, in xfs_refcount_decrease_extent() 1982 bool isrt, in xfs_refcount_alloc_cow_extent() argument 1991 __xfs_refcount_add(tp, XFS_REFCOUNT_ALLOC_COW, isrt, fsb, len); in xfs_refcount_alloc_cow_extent() 1994 xfs_rmap_alloc_extent(tp, isrt, fsb, len, XFS_RMAP_OWN_COW); in xfs_refcount_alloc_cow_extent() 2001 bool isrt, in xfs_refcount_free_cow_extent() argument [all …]
|
| H A D | xfs_rmap.h | 189 void xfs_rmap_alloc_extent(struct xfs_trans *tp, bool isrt, xfs_fsblock_t fsbno, 191 void xfs_rmap_free_extent(struct xfs_trans *tp, bool isrt, xfs_fsblock_t fsbno,
|
| H A D | xfs_rmap.c | 2749 bool isrt, in __xfs_rmap_add() argument 2761 ri->ri_realtime = isrt; in __xfs_rmap_add() 2775 bool isrt = xfs_ifork_is_realtime(ip, whichfork); in xfs_rmap_map_extent() local 2783 __xfs_rmap_add(tp, type, ip->i_ino, isrt, whichfork, PREV); in xfs_rmap_map_extent() 2795 bool isrt = xfs_ifork_is_realtime(ip, whichfork); in xfs_rmap_unmap_extent() local 2803 __xfs_rmap_add(tp, type, ip->i_ino, isrt, whichfork, PREV); in xfs_rmap_unmap_extent() 2821 bool isrt = xfs_ifork_is_realtime(ip, whichfork); in xfs_rmap_convert_extent() local 2829 __xfs_rmap_add(tp, type, ip->i_ino, isrt, whichfork, PREV); in xfs_rmap_convert_extent() 2836 bool isrt, in xfs_rmap_alloc_extent() argument 2851 __xfs_rmap_add(tp, XFS_RMAP_ALLOC, owner, isrt, XFS_DATA_FORK, &bmap); in xfs_rmap_alloc_extent() [all …]
|
| H A D | xfs_bmap.c | 3240 bool isrt = XFS_IS_REALTIME_INODE(ap->ip) && in xfs_bmap_alloc_account() local 3268 xfs_trans_mod_dquot_byino(ap->tp, ap->ip, isrt ? in xfs_bmap_alloc_account() 3280 fld = isrt ? XFS_TRANS_DQ_DELRTBCOUNT : XFS_TRANS_DQ_DELBCOUNT; in xfs_bmap_alloc_account() 3282 fld = isrt ? XFS_TRANS_DQ_RTBCOUNT : XFS_TRANS_DQ_BCOUNT; in xfs_bmap_alloc_account() 4678 bool isrt; in xfs_bmap_del_extent_delay() local 4682 isrt = xfs_ifork_is_realtime(ip, whichfork); in xfs_bmap_del_extent_delay() 4761 if (da_new > da_old && !isrt) { in xfs_bmap_del_extent_delay() 4790 } else if (isrt) { in xfs_bmap_del_extent_delay() 5116 bool isrt = xfs_ifork_is_realtime(ip, whichfork); in xfs_bmap_del_extent_real() local 5119 xfs_refcount_decrease_extent(tp, isrt, del); in xfs_bmap_del_extent_real() [all …]
|
| /linux/fs/xfs/ |
| H A D | xfs_refcount_item.c | 453 bool isrt, in xfs_cui_validate_phys() argument 472 if (isrt) in xfs_cui_validate_phys() 482 bool isrt, in xfs_cui_recover_work() argument 493 isrt ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_cui_recover_work() 494 ri->ri_realtime = isrt; in xfs_cui_recover_work() 513 bool isrt = xfs_cui_item_isrt(lip); in xfs_refcount_recover_work() local 523 if (!xfs_cui_validate_phys(mp, isrt, in xfs_refcount_recover_work() 531 xfs_cui_recover_work(mp, dfp, isrt, in xfs_refcount_recover_work()
|
| H A D | xfs_rmap_item.c | 472 bool isrt, in xfs_rui_validate_map() argument 502 if (isrt) in xfs_rui_validate_map() 512 bool isrt, in xfs_rui_recover_work() argument 558 isrt ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_rui_recover_work() 559 ri->ri_realtime = isrt; in xfs_rui_recover_work() 578 bool isrt = xfs_rui_item_isrt(lip); in xfs_rmap_recover_work() local 588 if (!xfs_rui_validate_map(mp, isrt, in xfs_rmap_recover_work() 596 xfs_rui_recover_work(mp, dfp, isrt, in xfs_rmap_recover_work()
|
| H A D | xfs_extfree_item.c | 615 bool isrt, in xfs_efi_validate_ext() argument 618 if (isrt) in xfs_efi_validate_ext() 628 bool isrt, in xfs_efi_recover_work() argument 640 isrt ? XG_TYPE_RTG : XG_TYPE_AG); in xfs_efi_recover_work() 641 if (isrt) in xfs_efi_recover_work() 663 bool isrt = xfs_efi_item_isrt(lip); in xfs_extent_free_recover_work() local 671 if (!xfs_efi_validate_ext(mp, isrt, in xfs_extent_free_recover_work() 679 xfs_efi_recover_work(mp, dfp, isrt, in xfs_extent_free_recover_work()
|
| H A D | xfs_reflink.c | 631 bool isrt = XFS_IS_REALTIME_INODE(ip); in xfs_reflink_cancel_cow_blocks() local 659 xfs_refcount_free_cow_extent(*tpp, isrt, in xfs_reflink_cancel_cow_blocks() 665 isrt ? XFS_FREE_EXTENT_REALTIME : 0); in xfs_reflink_cancel_cow_blocks() 799 bool isrt = XFS_IS_REALTIME_INODE(ip); in xfs_reflink_end_cow_extent_locked() local 855 xfs_refcount_decrease_extent(tp, isrt, &data); in xfs_reflink_end_cow_extent_locked() 874 xfs_refcount_free_cow_extent(tp, isrt, del.br_startblock, in xfs_reflink_end_cow_extent_locked() 1327 bool isrt = XFS_IS_REALTIME_INODE(ip); in xfs_reflink_remap_extent() local 1471 xfs_refcount_decrease_extent(tp, isrt, &smap); in xfs_reflink_remap_extent() 1494 xfs_refcount_increase_extent(tp, isrt, dmap); in xfs_reflink_remap_extent()
|
| H A D | xfs_trans.c | 1277 bool isrt = XFS_IS_REALTIME_INODE(ip); in xfs_trans_alloc_ichange() local 1282 if (isrt) { in xfs_trans_alloc_ichange() 1290 if (isrt) in xfs_trans_alloc_ichange()
|
| /linux/fs/xfs/scrub/ |
| H A D | inode_repair.c | 545 bool isrt) in xrep_dinode_flags() argument 554 if (isrt) in xrep_dinode_flags() 873 bool isrt; in xrep_dinode_bad_extents_fork() local 882 isrt = dip->di_flags & cpu_to_be16(XFS_DIFLAG_REALTIME); in xrep_dinode_bad_extents_fork() 887 fa = xfs_bmap_validate_extent_raw(sc->mp, isrt, whichfork, in xrep_dinode_bad_extents_fork()
|