ruip 3442 fs/xfs/xfs_log_recover.c struct xfs_rui_log_item *ruip; ruip 3447 fs/xfs/xfs_log_recover.c ruip = xfs_rui_init(mp, rui_formatp->rui_nextents); ruip 3448 fs/xfs/xfs_log_recover.c error = xfs_rui_copy_format(&item->ri_buf[0], &ruip->rui_format); ruip 3450 fs/xfs/xfs_log_recover.c xfs_rui_item_free(ruip); ruip 3453 fs/xfs/xfs_log_recover.c atomic_set(&ruip->rui_next_extent, rui_formatp->rui_nextents); ruip 3462 fs/xfs/xfs_log_recover.c xfs_trans_ail_update(log->l_ailp, &ruip->rui_item, lsn); ruip 3463 fs/xfs/xfs_log_recover.c xfs_rui_release(ruip); ruip 3481 fs/xfs/xfs_log_recover.c struct xfs_rui_log_item *ruip = NULL; ruip 3499 fs/xfs/xfs_log_recover.c ruip = (struct xfs_rui_log_item *)lip; ruip 3500 fs/xfs/xfs_log_recover.c if (ruip->rui_format.rui_id == rui_id) { ruip 3506 fs/xfs/xfs_log_recover.c xfs_rui_release(ruip); ruip 4613 fs/xfs/xfs_log_recover.c struct xfs_rui_log_item *ruip; ruip 4619 fs/xfs/xfs_log_recover.c ruip = container_of(lip, struct xfs_rui_log_item, rui_item); ruip 4620 fs/xfs/xfs_log_recover.c if (test_bit(XFS_RUI_RECOVERED, &ruip->rui_flags)) ruip 4624 fs/xfs/xfs_log_recover.c error = xfs_rui_recover(mp, ruip); ruip 4637 fs/xfs/xfs_log_recover.c struct xfs_rui_log_item *ruip; ruip 4639 fs/xfs/xfs_log_recover.c ruip = container_of(lip, struct xfs_rui_log_item, rui_item); ruip 4642 fs/xfs/xfs_log_recover.c xfs_rui_release(ruip); ruip 32 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip) ruip 34 fs/xfs/xfs_rmap_item.c if (ruip->rui_format.rui_nextents > XFS_RUI_MAX_FAST_EXTENTS) ruip 35 fs/xfs/xfs_rmap_item.c kmem_free(ruip); ruip 37 fs/xfs/xfs_rmap_item.c kmem_zone_free(xfs_rui_zone, ruip); ruip 49 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip) ruip 51 fs/xfs/xfs_rmap_item.c ASSERT(atomic_read(&ruip->rui_refcount) > 0); ruip 52 fs/xfs/xfs_rmap_item.c if (atomic_dec_and_test(&ruip->rui_refcount)) { ruip 53 fs/xfs/xfs_rmap_item.c xfs_trans_ail_remove(&ruip->rui_item, SHUTDOWN_LOG_IO_ERROR); ruip 54 fs/xfs/xfs_rmap_item.c xfs_rui_item_free(ruip); ruip 64 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip = RUI_ITEM(lip); ruip 67 fs/xfs/xfs_rmap_item.c *nbytes += xfs_rui_log_format_sizeof(ruip->rui_format.rui_nextents); ruip 82 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip = RUI_ITEM(lip); ruip 85 fs/xfs/xfs_rmap_item.c ASSERT(atomic_read(&ruip->rui_next_extent) == ruip 86 fs/xfs/xfs_rmap_item.c ruip->rui_format.rui_nextents); ruip 88 fs/xfs/xfs_rmap_item.c ruip->rui_format.rui_type = XFS_LI_RUI; ruip 89 fs/xfs/xfs_rmap_item.c ruip->rui_format.rui_size = 1; ruip 91 fs/xfs/xfs_rmap_item.c xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_RUI_FORMAT, &ruip->rui_format, ruip 92 fs/xfs/xfs_rmap_item.c xfs_rui_log_format_sizeof(ruip->rui_format.rui_nextents)); ruip 108 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip = RUI_ITEM(lip); ruip 110 fs/xfs/xfs_rmap_item.c xfs_rui_release(ruip); ruip 141 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip; ruip 145 fs/xfs/xfs_rmap_item.c ruip = kmem_zalloc(xfs_rui_log_item_sizeof(nextents), 0); ruip 147 fs/xfs/xfs_rmap_item.c ruip = kmem_zone_zalloc(xfs_rui_zone, 0); ruip 149 fs/xfs/xfs_rmap_item.c xfs_log_item_init(mp, &ruip->rui_item, XFS_LI_RUI, &xfs_rui_item_ops); ruip 150 fs/xfs/xfs_rmap_item.c ruip->rui_format.rui_nextents = nextents; ruip 151 fs/xfs/xfs_rmap_item.c ruip->rui_format.rui_id = (uintptr_t)(void *)ruip; ruip 152 fs/xfs/xfs_rmap_item.c atomic_set(&ruip->rui_next_extent, 0); ruip 153 fs/xfs/xfs_rmap_item.c atomic_set(&ruip->rui_refcount, 2); ruip 155 fs/xfs/xfs_rmap_item.c return ruip; ruip 243 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip) ruip 250 fs/xfs/xfs_rmap_item.c rudp->rud_ruip = ruip; ruip 251 fs/xfs/xfs_rmap_item.c rudp->rud_format.rud_rui_id = ruip->rui_format.rui_id; ruip 359 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip; ruip 364 fs/xfs/xfs_rmap_item.c ruip = xfs_rui_init(tp->t_mountp, count); ruip 365 fs/xfs/xfs_rmap_item.c ASSERT(ruip != NULL); ruip 370 fs/xfs/xfs_rmap_item.c xfs_trans_add_item(tp, &ruip->rui_item); ruip 371 fs/xfs/xfs_rmap_item.c return ruip; ruip 381 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip = intent; ruip 389 fs/xfs/xfs_rmap_item.c set_bit(XFS_LI_DIRTY, &ruip->rui_item.li_flags); ruip 396 fs/xfs/xfs_rmap_item.c next_extent = atomic_inc_return(&ruip->rui_next_extent) - 1; ruip 397 fs/xfs/xfs_rmap_item.c ASSERT(next_extent < ruip->rui_format.rui_nextents); ruip 398 fs/xfs/xfs_rmap_item.c map = &ruip->rui_format.rui_extents[next_extent]; ruip 491 fs/xfs/xfs_rmap_item.c struct xfs_rui_log_item *ruip) ruip 505 fs/xfs/xfs_rmap_item.c ASSERT(!test_bit(XFS_RUI_RECOVERED, &ruip->rui_flags)); ruip 512 fs/xfs/xfs_rmap_item.c for (i = 0; i < ruip->rui_format.rui_nextents; i++) { ruip 513 fs/xfs/xfs_rmap_item.c rmap = &ruip->rui_format.rui_extents[i]; ruip 540 fs/xfs/xfs_rmap_item.c set_bit(XFS_RUI_RECOVERED, &ruip->rui_flags); ruip 541 fs/xfs/xfs_rmap_item.c xfs_rui_release(ruip); ruip 550 fs/xfs/xfs_rmap_item.c rudp = xfs_trans_get_rud(tp, ruip); ruip 552 fs/xfs/xfs_rmap_item.c for (i = 0; i < ruip->rui_format.rui_nextents; i++) { ruip 553 fs/xfs/xfs_rmap_item.c rmap = &ruip->rui_format.rui_extents[i]; ruip 597 fs/xfs/xfs_rmap_item.c set_bit(XFS_RUI_RECOVERED, &ruip->rui_flags); ruip 85 fs/xfs/xfs_rmap_item.h int xfs_rui_recover(struct xfs_mount *mp, struct xfs_rui_log_item *ruip);