Lines Matching refs:cudp

188 	struct xfs_cud_log_item	*cudp = CUD_ITEM(lip);  in xfs_cud_item_format()  local
191 cudp->cud_format.cud_type = XFS_LI_CUD; in xfs_cud_item_format()
192 cudp->cud_format.cud_size = 1; in xfs_cud_item_format()
194 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_CUD_FORMAT, &cudp->cud_format, in xfs_cud_item_format()
207 struct xfs_cud_log_item *cudp = CUD_ITEM(lip); in xfs_cud_item_release() local
209 xfs_cui_release(cudp->cud_cuip); in xfs_cud_item_release()
210 kmem_free(cudp->cud_item.li_lv_shadow); in xfs_cud_item_release()
211 kmem_cache_free(xfs_cud_cache, cudp); in xfs_cud_item_release()
235 struct xfs_cud_log_item *cudp; in xfs_trans_get_cud() local
237 cudp = kmem_cache_zalloc(xfs_cud_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_trans_get_cud()
238 xfs_log_item_init(tp->t_mountp, &cudp->cud_item, XFS_LI_CUD, in xfs_trans_get_cud()
240 cudp->cud_cuip = cuip; in xfs_trans_get_cud()
241 cudp->cud_format.cud_cui_id = cuip->cui_format.cui_id; in xfs_trans_get_cud()
243 xfs_trans_add_item(tp, &cudp->cud_item); in xfs_trans_get_cud()
244 return cudp; in xfs_trans_get_cud()
255 struct xfs_cud_log_item *cudp, in xfs_trans_log_finish_refcount_update() argument
271 set_bit(XFS_LI_DIRTY, &cudp->cud_item.li_flags); in xfs_trans_log_finish_refcount_update()
483 struct xfs_cud_log_item *cudp; in xfs_cui_item_recover() local
525 cudp = xfs_trans_get_cud(tp, cuip); in xfs_cui_item_recover()
554 error = xfs_trans_log_finish_refcount_update(tp, cudp, in xfs_cui_item_recover()
619 struct xfs_cud_log_item *cudp; in xfs_cui_item_relog() local
628 cudp = xfs_trans_get_cud(tp, CUI_ITEM(intent)); in xfs_cui_item_relog()
629 set_bit(XFS_LI_DIRTY, &cudp->cud_item.li_flags); in xfs_cui_item_relog()