Lines Matching refs:budp
180 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_format() local
183 budp->bud_format.bud_type = XFS_LI_BUD; in xfs_bud_item_format()
184 budp->bud_format.bud_size = 1; in xfs_bud_item_format()
186 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUD_FORMAT, &budp->bud_format, in xfs_bud_item_format()
199 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_release() local
201 xfs_bui_release(budp->bud_buip); in xfs_bud_item_release()
202 kmem_cache_free(xfs_bud_zone, budp); in xfs_bud_item_release()
217 struct xfs_bud_log_item *budp; in xfs_trans_get_bud() local
219 budp = kmem_cache_zalloc(xfs_bud_zone, GFP_KERNEL | __GFP_NOFAIL); in xfs_trans_get_bud()
220 xfs_log_item_init(tp->t_mountp, &budp->bud_item, XFS_LI_BUD, in xfs_trans_get_bud()
222 budp->bud_buip = buip; in xfs_trans_get_bud()
223 budp->bud_format.bud_bui_id = buip->bui_format.bui_id; in xfs_trans_get_bud()
225 xfs_trans_add_item(tp, &budp->bud_item); in xfs_trans_get_bud()
226 return budp; in xfs_trans_get_bud()
237 struct xfs_bud_log_item *budp, in xfs_trans_log_finish_bmap_update() argument
259 set_bit(XFS_LI_DIRTY, &budp->bud_item.li_flags); in xfs_trans_log_finish_bmap_update()
435 struct xfs_bud_log_item *budp; in xfs_bui_item_recover() local
496 budp = xfs_trans_get_bud(tp, buip); in xfs_bui_item_recover()
501 error = xfs_trans_log_finish_bmap_update(tp, budp, bui_type, ip, in xfs_bui_item_recover()
551 struct xfs_bud_log_item *budp; in xfs_bui_item_relog() local
560 budp = xfs_trans_get_bud(tp, BUI_ITEM(intent)); in xfs_bui_item_relog()
561 set_bit(XFS_LI_DIRTY, &budp->bud_item.li_flags); in xfs_bui_item_relog()