Searched refs:cuip (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/ |
D | xfs_refcount_item.c | 46 struct xfs_cui_log_item *cuip) in xfs_cui_item_free() argument 48 if (cuip->cui_format.cui_nextents > XFS_CUI_MAX_FAST_EXTENTS) in xfs_cui_item_free() 49 kmem_free(cuip); in xfs_cui_item_free() 51 kmem_zone_free(xfs_cui_zone, cuip); in xfs_cui_item_free() 60 struct xfs_cui_log_item *cuip = CUI_ITEM(lip); in xfs_cui_item_size() local 63 *nbytes += xfs_cui_log_format_sizeof(cuip->cui_format.cui_nextents); in xfs_cui_item_size() 78 struct xfs_cui_log_item *cuip = CUI_ITEM(lip); in xfs_cui_item_format() local 81 ASSERT(atomic_read(&cuip->cui_next_extent) == in xfs_cui_item_format() 82 cuip->cui_format.cui_nextents); in xfs_cui_item_format() 84 cuip->cui_format.cui_type = XFS_LI_CUI; in xfs_cui_item_format() [all …]
|
D | xfs_trans_refcount.c | 41 struct xfs_cui_log_item *cuip) in xfs_trans_get_cud() argument 45 cudp = xfs_cud_init(tp->t_mountp, cuip); in xfs_trans_get_cud() 108 struct xfs_cui_log_item *cuip; in xfs_refcount_update_create_intent() local 113 cuip = xfs_cui_init(tp->t_mountp, count); in xfs_refcount_update_create_intent() 114 ASSERT(cuip != NULL); in xfs_refcount_update_create_intent() 119 xfs_trans_add_item(tp, &cuip->cui_item); in xfs_refcount_update_create_intent() 120 return cuip; in xfs_refcount_update_create_intent() 149 struct xfs_cui_log_item *cuip = intent; in xfs_refcount_update_log_item() local 157 cuip->cui_item.li_desc->lid_flags |= XFS_LID_DIRTY; in xfs_refcount_update_log_item() 164 next_extent = atomic_inc_return(&cuip->cui_next_extent) - 1; in xfs_refcount_update_log_item() [all …]
|
D | xfs_refcount_item.h | 99 int xfs_cui_recover(struct xfs_mount *mp, struct xfs_cui_log_item *cuip,
|
D | xfs_log_recover.c | 3624 struct xfs_cui_log_item *cuip; in xlog_recover_cui_pass2() local 3629 cuip = xfs_cui_init(mp, cui_formatp->cui_nextents); in xlog_recover_cui_pass2() 3630 error = xfs_cui_copy_format(&item->ri_buf[0], &cuip->cui_format); in xlog_recover_cui_pass2() 3632 xfs_cui_item_free(cuip); in xlog_recover_cui_pass2() 3635 atomic_set(&cuip->cui_next_extent, cui_formatp->cui_nextents); in xlog_recover_cui_pass2() 3644 xfs_trans_ail_update(log->l_ailp, &cuip->cui_item, lsn); in xlog_recover_cui_pass2() 3645 xfs_cui_release(cuip); in xlog_recover_cui_pass2() 3663 struct xfs_cui_log_item *cuip = NULL; in xlog_recover_cud_pass2() local 3682 cuip = (struct xfs_cui_log_item *)lip; in xlog_recover_cud_pass2() 3683 if (cuip->cui_format.cui_id == cui_id) { in xlog_recover_cud_pass2() [all …]
|
D | xfs_trans.h | 264 struct xfs_cui_log_item *cuip);
|