/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_defer.c | 355 struct xfs_trans **tpp) in xfs_defer_trans_roll() 360 error = xfs_defer_save_resources(&dres, *tpp); in xfs_defer_trans_roll() 364 trace_xfs_defer_trans_roll(*tpp, _RET_IP_); in xfs_defer_trans_roll() 370 * return with the held resources joined to @tpp, no matter what in xfs_defer_trans_roll() 373 error = xfs_trans_roll(tpp); in xfs_defer_trans_roll() 375 xfs_defer_restore_resources(*tpp, &dres); in xfs_defer_trans_roll() 378 trace_xfs_defer_trans_roll_error(*tpp, error); in xfs_defer_trans_roll() 422 struct xfs_trans **tpp, in xfs_defer_relog() 425 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog() 430 ASSERT((*tpp) in xfs_defer_relog() 354 xfs_defer_trans_roll( struct xfs_trans **tpp) xfs_defer_trans_roll() argument 421 xfs_defer_relog( struct xfs_trans **tpp, struct list_head *dfops) xfs_defer_relog() argument [all...] |
H A D | xfs_trans_inode.c | 118 struct xfs_trans **tpp, in xfs_trans_roll_inode() 123 xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE); in xfs_trans_roll_inode() 124 error = xfs_trans_roll(tpp); in xfs_trans_roll_inode() 126 xfs_trans_ijoin(*tpp, ip, 0); in xfs_trans_roll_inode() 117 xfs_trans_roll_inode( struct xfs_trans **tpp, struct xfs_inode *ip) xfs_trans_roll_inode() argument
|
H A D | xfs_ag.c | 899 struct xfs_trans **tpp, in xfs_ag_shrink_space() 904 .tp = *tpp, in xfs_ag_shrink_space() 920 error = xfs_ialloc_read_agi(pag, *tpp, &agibp); in xfs_ag_shrink_space() 926 error = xfs_alloc_read_agf(pag, *tpp, 0, &agfbp); in xfs_ag_shrink_space() 942 error = xfs_ialloc_check_shrink(pag, *tpp, agibp, aglen - delta); in xfs_ag_shrink_space() 965 xfs_trans_bhold(*tpp, agfbp); in xfs_ag_shrink_space() 966 err2 = xfs_trans_roll(tpp); in xfs_ag_shrink_space() 969 xfs_trans_bjoin(*tpp, agfbp); in xfs_ag_shrink_space() 980 err2 = xfs_ag_resv_init(pag, *tpp); in xfs_ag_shrink_space() 987 err2 = __xfs_free_extent_later(*tpp, arg in xfs_ag_shrink_space() 897 xfs_ag_shrink_space( struct xfs_perag *pag, struct xfs_trans **tpp, xfs_extlen_t delta) xfs_ag_shrink_space() argument [all...] |
H A D | xfs_bmap_btree.c | 44 __be64 *tpp; in xfs_bmdr_to_bmbt() local 56 tpp = XFS_BMAP_BROOT_PTR_ADDR(mp, rblock, 1, rblocklen); in xfs_bmdr_to_bmbt() 59 memcpy(tpp, fpp, sizeof(*fpp) * dmxr); in xfs_bmdr_to_bmbt() 140 __be64 *tpp; in xfs_bmbt_to_bmdr() local 159 tpp = XFS_BMDR_PTR_ADDR(dblock, 1, dmxr); in xfs_bmbt_to_bmdr() 162 memcpy(tpp, fpp, sizeof(*fpp) * dmxr); in xfs_bmbt_to_bmdr()
|
H A D | xfs_ialloc.c | 1565 struct xfs_trans **tpp, in xfs_dialloc_roll() 1568 struct xfs_trans *tp = *tpp; in xfs_dialloc_roll() 1597 *tpp = tp; in xfs_dialloc_roll() 1677 struct xfs_trans **tpp, in xfs_dialloc_try_ag() 1690 error = xfs_ialloc_read_agi(pag, *tpp, &agbp); in xfs_dialloc_try_ag() 1700 error = xfs_ialloc_ag_alloc(pag, *tpp, agbp); in xfs_dialloc_try_ag() 1710 error = xfs_dialloc_roll(tpp, agbp); in xfs_dialloc_try_ag() 1716 error = xfs_dialloc_ag(pag, *tpp, agbp, parent, &ino); in xfs_dialloc_try_ag() 1722 xfs_trans_brelse(*tpp, agbp); in xfs_dialloc_try_ag() 1736 struct xfs_trans **tpp, in xfs_dialloc() 1564 xfs_dialloc_roll( struct xfs_trans **tpp, struct xfs_buf *agibp) xfs_dialloc_roll() argument 1675 xfs_dialloc_try_ag( struct xfs_perag *pag, struct xfs_trans **tpp, xfs_ino_t parent, xfs_ino_t *new_ino, bool ok_alloc) xfs_dialloc_try_ag() argument 1735 xfs_dialloc( struct xfs_trans **tpp, xfs_ino_t parent, umode_t mode, xfs_ino_t *new_ino) xfs_dialloc() argument [all...] |
H A D | xfs_ialloc.h | 40 int xfs_dialloc(struct xfs_trans **tpp, xfs_ino_t parent, umode_t mode,
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_defer.c | 238 struct xfs_trans **tpp) in xfs_defer_trans_roll() 240 struct xfs_trans *tp = *tpp; in xfs_defer_trans_roll() 294 * return with the held resources joined to @tpp, no matter what in xfs_defer_trans_roll() 297 error = xfs_trans_roll(tpp); in xfs_defer_trans_roll() 298 tp = *tpp; in xfs_defer_trans_roll() 356 struct xfs_trans **tpp, in xfs_defer_relog() 359 struct xlog *log = (*tpp)->t_mountp->m_log; in xfs_defer_relog() 364 ASSERT((*tpp)->t_flags & XFS_TRANS_PERM_LOG_RES); in xfs_defer_relog() 391 trace_xfs_defer_relog_intent((*tpp)->t_mountp, dfp); in xfs_defer_relog() 392 XFS_STATS_INC((*tpp) in xfs_defer_relog() 237 xfs_defer_trans_roll( struct xfs_trans **tpp) xfs_defer_trans_roll() argument 355 xfs_defer_relog( struct xfs_trans **tpp, struct list_head *dfops) xfs_defer_relog() argument [all...] |
H A D | xfs_trans_inode.c | 201 struct xfs_trans **tpp, in xfs_trans_roll_inode() 206 xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE); in xfs_trans_roll_inode() 207 error = xfs_trans_roll(tpp); in xfs_trans_roll_inode() 209 xfs_trans_ijoin(*tpp, ip, 0); in xfs_trans_roll_inode() 200 xfs_trans_roll_inode( struct xfs_trans **tpp, struct xfs_inode *ip) xfs_trans_roll_inode() argument
|
H A D | xfs_bmap_btree.c | 41 __be64 *tpp; in xfs_bmdr_to_bmbt() local 53 tpp = XFS_BMAP_BROOT_PTR_ADDR(mp, rblock, 1, rblocklen); in xfs_bmdr_to_bmbt() 56 memcpy(tpp, fpp, sizeof(*fpp) * dmxr); in xfs_bmdr_to_bmbt() 137 __be64 *tpp; in xfs_bmbt_to_bmdr() local 156 tpp = XFS_BMDR_PTR_ADDR(dblock, 1, dmxr); in xfs_bmbt_to_bmdr() 159 memcpy(tpp, fpp, sizeof(*fpp) * dmxr); in xfs_bmbt_to_bmdr()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_trans.c | 249 struct xfs_trans **tpp) in xfs_trans_alloc() 306 *tpp = tp; in xfs_trans_alloc() 329 struct xfs_trans **tpp) in xfs_trans_alloc_empty() 333 return xfs_trans_alloc(mp, &resv, 0, 0, XFS_TRANS_NO_WRITECOUNT, tpp); in xfs_trans_alloc_empty() 1137 struct xfs_trans **tpp) in xfs_trans_roll() 1139 struct xfs_trans *trans = *tpp; in xfs_trans_roll() 1151 *tpp = xfs_trans_dup(trans); in xfs_trans_roll() 1173 return xfs_trans_reserve(*tpp, &tres, 0, 0); in xfs_trans_roll() 1190 struct xfs_trans **tpp) in xfs_trans_alloc_inode() 1225 *tpp in xfs_trans_alloc_inode() 243 xfs_trans_alloc( struct xfs_mount *mp, struct xfs_trans_res *resp, uint blocks, uint rtextents, uint flags, struct xfs_trans **tpp) xfs_trans_alloc() argument 327 xfs_trans_alloc_empty( struct xfs_mount *mp, struct xfs_trans **tpp) xfs_trans_alloc_empty() argument 1136 xfs_trans_roll( struct xfs_trans **tpp) xfs_trans_roll() argument 1184 xfs_trans_alloc_inode( struct xfs_inode *ip, struct xfs_trans_res *resv, unsigned int dblocks, unsigned int rblocks, bool force, struct xfs_trans **tpp) xfs_trans_alloc_inode() argument 1239 xfs_trans_alloc_icreate( struct xfs_mount *mp, struct xfs_trans_res *resv, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, unsigned int dblocks, struct xfs_trans **tpp) xfs_trans_alloc_icreate() argument 1283 xfs_trans_alloc_ichange( struct xfs_inode *ip, struct xfs_dquot *new_udqp, struct xfs_dquot *new_gdqp, struct xfs_dquot *new_pdqp, bool force, struct xfs_trans **tpp) xfs_trans_alloc_ichange() argument 1368 xfs_trans_alloc_dir( struct xfs_inode *dp, struct xfs_trans_res *resv, struct xfs_inode *ip, unsigned int *dblocks, struct xfs_trans **tpp, int *nospace_error) xfs_trans_alloc_dir() argument [all...] |
H A D | xfs_trans.h | 170 struct xfs_trans **tpp); 172 struct xfs_trans **tpp); 262 struct xfs_trans **tpp); 266 struct xfs_trans **tpp); 269 struct xfs_trans **tpp); 272 struct xfs_trans **tpp, int *nospace_error);
|
H A D | xfs_reflink.h | 31 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb, 44 struct xfs_trans **tpp);
|
H A D | xfs_reflink.c | 579 struct xfs_trans **tpp, in xfs_reflink_cancel_cow_blocks() 613 ASSERT((*tpp)->t_highest_agno == NULLAGNUMBER); in xfs_reflink_cancel_cow_blocks() 616 xfs_refcount_free_cow_extent(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks() 619 error = xfs_free_extent_later(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks() 626 error = xfs_defer_finish(tpp); in xfs_reflink_cancel_cow_blocks() 1616 struct xfs_trans **tpp) in xfs_reflink_clear_inode_flag() 1623 error = xfs_reflink_inode_has_shared_extents(*tpp, ip, &needs_flag); in xfs_reflink_clear_inode_flag() 1631 error = xfs_reflink_cancel_cow_blocks(ip, tpp, 0, XFS_MAX_FILEOFF, in xfs_reflink_clear_inode_flag() 1640 xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE); in xfs_reflink_clear_inode_flag() 577 xfs_reflink_cancel_cow_blocks( struct xfs_inode *ip, struct xfs_trans **tpp, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb, bool cancel_real) xfs_reflink_cancel_cow_blocks() argument 1614 xfs_reflink_clear_inode_flag( struct xfs_inode *ip, struct xfs_trans **tpp) xfs_reflink_clear_inode_flag() argument
|
H A D | xfs_bmap_util.c | 1369 struct xfs_trans **tpp, in xfs_swap_extent_rmap() 1373 struct xfs_trans *tp = *tpp; in xfs_swap_extent_rmap() 1470 error = xfs_defer_finish(tpp); in xfs_swap_extent_rmap() 1471 tp = *tpp; in xfs_swap_extent_rmap() 1603 struct xfs_trans **tpp, in xfs_swap_change_owner() 1608 struct xfs_trans *tp = *tpp; in xfs_swap_change_owner() 1617 error = xfs_trans_roll(tpp); in xfs_swap_change_owner() 1620 tp = *tpp; in xfs_swap_change_owner() 1368 xfs_swap_extent_rmap( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tip) xfs_swap_extent_rmap() argument 1602 xfs_swap_change_owner( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tmpip) xfs_swap_change_owner() argument
|
H A D | xfs_inode.h | 554 struct xfs_trans **tpp, in xfs_itruncate_extents() 559 return xfs_itruncate_extents_flags(tpp, ip, whichfork, new_size, 0); in xfs_itruncate_extents() 553 xfs_itruncate_extents( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size) xfs_itruncate_extents() argument
|
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_trans.c | 250 struct xfs_trans **tpp) in xfs_trans_alloc() 290 *tpp = tp; in xfs_trans_alloc() 313 struct xfs_trans **tpp) in xfs_trans_alloc_empty() 317 return xfs_trans_alloc(mp, &resv, 0, 0, XFS_TRANS_NO_WRITECOUNT, tpp); in xfs_trans_alloc_empty() 982 struct xfs_trans **tpp) in xfs_trans_roll() 984 struct xfs_trans *trans = *tpp; in xfs_trans_roll() 996 *tpp = xfs_trans_dup(trans); in xfs_trans_roll() 1018 return xfs_trans_reserve(*tpp, &tres, 0, 0); in xfs_trans_roll() 244 xfs_trans_alloc( struct xfs_mount *mp, struct xfs_trans_res *resp, uint blocks, uint rtextents, uint flags, struct xfs_trans **tpp) xfs_trans_alloc() argument 311 xfs_trans_alloc_empty( struct xfs_mount *mp, struct xfs_trans **tpp) xfs_trans_alloc_empty() argument 981 xfs_trans_roll( struct xfs_trans **tpp) xfs_trans_roll() argument
|
H A D | xfs_reflink.h | 35 struct xfs_trans **tpp, xfs_fileoff_t offset_fsb, 48 struct xfs_trans **tpp);
|
H A D | xfs_reflink.c | 459 struct xfs_trans **tpp, in xfs_reflink_cancel_cow_blocks() 493 ASSERT((*tpp)->t_firstblock == NULLFSBLOCK); in xfs_reflink_cancel_cow_blocks() 496 xfs_refcount_free_cow_extent(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks() 499 xfs_bmap_add_free(*tpp, del.br_startblock, in xfs_reflink_cancel_cow_blocks() 503 error = xfs_defer_finish(tpp); in xfs_reflink_cancel_cow_blocks() 1415 struct xfs_trans **tpp) in xfs_reflink_clear_inode_flag() 1422 error = xfs_reflink_inode_has_shared_extents(*tpp, ip, &needs_flag); in xfs_reflink_clear_inode_flag() 1430 error = xfs_reflink_cancel_cow_blocks(ip, tpp, 0, XFS_MAX_FILEOFF, in xfs_reflink_clear_inode_flag() 1439 xfs_trans_log_inode(*tpp, ip, XFS_ILOG_CORE); in xfs_reflink_clear_inode_flag() 457 xfs_reflink_cancel_cow_blocks( struct xfs_inode *ip, struct xfs_trans **tpp, xfs_fileoff_t offset_fsb, xfs_fileoff_t end_fsb, bool cancel_real) xfs_reflink_cancel_cow_blocks() argument 1413 xfs_reflink_clear_inode_flag( struct xfs_inode *ip, struct xfs_trans **tpp) xfs_reflink_clear_inode_flag() argument
|
H A D | xfs_bmap_util.c | 1317 struct xfs_trans **tpp, in xfs_swap_extent_rmap() 1321 struct xfs_trans *tp = *tpp; in xfs_swap_extent_rmap() 1396 error = xfs_defer_finish(tpp); in xfs_swap_extent_rmap() 1397 tp = *tpp; in xfs_swap_extent_rmap() 1529 struct xfs_trans **tpp, in xfs_swap_change_owner() 1534 struct xfs_trans *tp = *tpp; in xfs_swap_change_owner() 1543 error = xfs_trans_roll(tpp); in xfs_swap_change_owner() 1546 tp = *tpp; in xfs_swap_change_owner() 1316 xfs_swap_extent_rmap( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tip) xfs_swap_extent_rmap() argument 1528 xfs_swap_change_owner( struct xfs_trans **tpp, struct xfs_inode *ip, struct xfs_inode *tmpip) xfs_swap_change_owner() argument
|
H A D | xfs_inode.h | 416 struct xfs_trans **tpp, in xfs_itruncate_extents() 421 return xfs_itruncate_extents_flags(tpp, ip, whichfork, new_size, 0); in xfs_itruncate_extents() 415 xfs_itruncate_extents( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size) xfs_itruncate_extents() argument
|
H A D | xfs_trans.h | 183 struct xfs_trans **tpp); 185 struct xfs_trans **tpp);
|
H A D | xfs_dquot.c | 292 struct xfs_trans **tpp, in xfs_dquot_disk_alloc() 297 struct xfs_trans *tp = *tpp; in xfs_dquot_disk_alloc() 370 error = xfs_defer_finish(tpp); in xfs_dquot_disk_alloc() 372 xfs_trans_bhold_release(*tpp, bp); in xfs_dquot_disk_alloc() 373 xfs_trans_brelse(*tpp, bp); in xfs_dquot_disk_alloc() 291 xfs_dquot_disk_alloc( struct xfs_trans **tpp, struct xfs_dquot *dqp, struct xfs_buf **bpp) xfs_dquot_disk_alloc() argument
|
H A D | xfs_inode.c | 946 xfs_trans_t **tpp, /* input: current transaction; in xfs_dir_ialloc() 964 tp = *tpp; in xfs_dir_ialloc() 1041 *tpp = tp; in xfs_dir_ialloc() 1060 *tpp = tp; in xfs_dir_ialloc() 1069 *tpp = tp; in xfs_dir_ialloc() 1488 struct xfs_trans **tpp, in xfs_itruncate_extents_flags() 1495 struct xfs_trans *tp = *tpp; in xfs_itruncate_extents_flags() 1562 *tpp = tp; in xfs_itruncate_extents_flags() 945 xfs_dir_ialloc( xfs_trans_t **tpp, xfs_inode_t *dp, umode_t mode, xfs_nlink_t nlink, dev_t rdev, prid_t prid, xfs_inode_t **ipp) xfs_dir_ialloc() argument 1487 xfs_itruncate_extents_flags( struct xfs_trans **tpp, struct xfs_inode *ip, int whichfork, xfs_fsize_t new_size, int flags) xfs_itruncate_extents_flags() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | nislands_smc.h | 200 uint32_t tpp[SMC_NISLANDS_MC_TPP_CAC_NUM_OF_ENTRIES]; member
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | nislands_smc.h | 208 uint32_t tpp[SMC_NISLANDS_MC_TPP_CAC_NUM_OF_ENTRIES]; member
|