Lines Matching refs:budp
181 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_format() local
184 budp->bud_format.bud_type = XFS_LI_BUD; in xfs_bud_item_format()
185 budp->bud_format.bud_size = 1; in xfs_bud_item_format()
187 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUD_FORMAT, &budp->bud_format, in xfs_bud_item_format()
200 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_release() local
202 xfs_bui_release(budp->bud_buip); in xfs_bud_item_release()
203 kmem_free(budp->bud_item.li_lv_shadow); in xfs_bud_item_release()
204 kmem_cache_free(xfs_bud_cache, budp); in xfs_bud_item_release()
228 struct xfs_bud_log_item *budp; in xfs_trans_get_bud() local
230 budp = kmem_cache_zalloc(xfs_bud_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_trans_get_bud()
231 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud()
233 budp->bud_buip = buip; in xfs_trans_get_bud()
234 budp->bud_format.bud_bui_id = buip->bui_format.bui_id; in xfs_trans_get_bud()
236 xfs_trans_add_item(tp, &budp->bud_item); in xfs_trans_get_bud()
237 return budp; in xfs_trans_get_bud()
248 struct xfs_bud_log_item *budp, in xfs_trans_log_finish_bmap_update() argument
270 set_bit(XFS_LI_DIRTY, &budp->bud_item.li_flags); in xfs_trans_log_finish_bmap_update()
480 struct xfs_bud_log_item *budp; in xfs_bui_item_recover() local
511 budp = xfs_trans_get_bud(tp, buip); in xfs_bui_item_recover()
527 error = xfs_trans_log_finish_bmap_update(tp, budp, bui_type, ip, in xfs_bui_item_recover()
580 struct xfs_bud_log_item *budp; in xfs_bui_item_relog() local
589 budp = xfs_trans_get_bud(tp, BUI_ITEM(intent)); in xfs_bui_item_relog()
590 set_bit(XFS_LI_DIRTY, &budp->bud_item.li_flags); in xfs_bui_item_relog()