Lines Matching refs:budp
241 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_format() local
244 budp->bud_format.bud_type = XFS_LI_BUD; in xfs_bud_item_format()
245 budp->bud_format.bud_size = 1; in xfs_bud_item_format()
247 xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_BUD_FORMAT, &budp->bud_format, in xfs_bud_item_format()
292 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_unlock() local
295 xfs_bui_release(budp->bud_buip); in xfs_bud_item_unlock()
296 kmem_zone_free(xfs_bud_zone, budp); in xfs_bud_item_unlock()
311 struct xfs_bud_log_item *budp = BUD_ITEM(lip); in xfs_bud_item_committed() local
319 xfs_bui_release(budp->bud_buip); in xfs_bud_item_committed()
320 kmem_zone_free(xfs_bud_zone, budp); in xfs_bud_item_committed()
362 struct xfs_bud_log_item *budp; in xfs_bud_init() local
364 budp = kmem_zone_zalloc(xfs_bud_zone, KM_SLEEP); in xfs_bud_init()
365 xfs_log_item_init(mp, &budp->bud_item, XFS_LI_BUD, &xfs_bud_item_ops); in xfs_bud_init()
366 budp->bud_buip = buip; in xfs_bud_init()
367 budp->bud_format.bud_bui_id = buip->bui_format.bui_id; in xfs_bud_init()
369 return budp; in xfs_bud_init()
388 struct xfs_bud_log_item *budp; in xfs_bui_recover() local
450 budp = xfs_trans_get_bud(tp, buip); in xfs_bui_recover()
478 error = xfs_trans_log_finish_bmap_update(tp, budp, type, ip, whichfork, in xfs_bui_recover()