Lines Matching refs:budp
182 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_format() local
185 budp->bud_format.bud_type = XFS_LI_BUD; in xfs_bud_item_format()
186 budp->bud_format.bud_size = 1; in xfs_bud_item_format()
188 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUD_FORMAT, &budp->bud_format, in xfs_bud_item_format()
201 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_release() local
203 xfs_bui_release(budp->bud_buip); in xfs_bud_item_release()
204 kmem_free(budp->bud_item.li_lv_shadow); in xfs_bud_item_release()
205 kmem_cache_free(xfs_bud_cache, budp); in xfs_bud_item_release()
229 struct xfs_bud_log_item *budp; in xfs_trans_get_bud() local
231 budp = kmem_cache_zalloc(xfs_bud_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_trans_get_bud()
232 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud()
234 budp->bud_buip = buip; in xfs_trans_get_bud()
235 budp->bud_format.bud_bui_id = buip->bui_format.bui_id; in xfs_trans_get_bud()
237 xfs_trans_add_item(tp, &budp->bud_item); in xfs_trans_get_bud()
238 return budp; in xfs_trans_get_bud()
249 struct xfs_bud_log_item *budp, in xfs_trans_log_finish_bmap_update() argument
264 set_bit(XFS_LI_DIRTY, &budp->bud_item.li_flags); in xfs_trans_log_finish_bmap_update()
500 struct xfs_bud_log_item *budp; in xfs_bui_item_recover() local
526 budp = xfs_trans_get_bud(tp, buip); in xfs_bui_item_recover()
551 error = xfs_trans_log_finish_bmap_update(tp, budp, &fake); in xfs_bui_item_recover()
599 struct xfs_bud_log_item *budp; in xfs_bui_item_relog() local
608 budp = xfs_trans_get_bud(tp, BUI_ITEM(intent)); in xfs_bui_item_relog()
609 set_bit(XFS_LI_DIRTY, &budp->bud_item.li_flags); in xfs_bui_item_relog()