cuip 3558 fs/xfs/xfs_log_recover.c struct xfs_cui_log_item *cuip; cuip 3563 fs/xfs/xfs_log_recover.c cuip = xfs_cui_init(mp, cui_formatp->cui_nextents); cuip 3564 fs/xfs/xfs_log_recover.c error = xfs_cui_copy_format(&item->ri_buf[0], &cuip->cui_format); cuip 3566 fs/xfs/xfs_log_recover.c xfs_cui_item_free(cuip); cuip 3569 fs/xfs/xfs_log_recover.c atomic_set(&cuip->cui_next_extent, cui_formatp->cui_nextents); cuip 3578 fs/xfs/xfs_log_recover.c xfs_trans_ail_update(log->l_ailp, &cuip->cui_item, lsn); cuip 3579 fs/xfs/xfs_log_recover.c xfs_cui_release(cuip); cuip 3597 fs/xfs/xfs_log_recover.c struct xfs_cui_log_item *cuip = NULL; cuip 3616 fs/xfs/xfs_log_recover.c cuip = (struct xfs_cui_log_item *)lip; cuip 3617 fs/xfs/xfs_log_recover.c if (cuip->cui_format.cui_id == cui_id) { cuip 3623 fs/xfs/xfs_log_recover.c xfs_cui_release(cuip); cuip 4653 fs/xfs/xfs_log_recover.c struct xfs_cui_log_item *cuip; cuip 4659 fs/xfs/xfs_log_recover.c cuip = container_of(lip, struct xfs_cui_log_item, cui_item); cuip 4660 fs/xfs/xfs_log_recover.c if (test_bit(XFS_CUI_RECOVERED, &cuip->cui_flags)) cuip 4664 fs/xfs/xfs_log_recover.c error = xfs_cui_recover(parent_tp, cuip); cuip 4677 fs/xfs/xfs_log_recover.c struct xfs_cui_log_item *cuip; cuip 4679 fs/xfs/xfs_log_recover.c cuip = container_of(lip, struct xfs_cui_log_item, cui_item); cuip 4682 fs/xfs/xfs_log_recover.c xfs_cui_release(cuip); cuip 32 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip) cuip 34 fs/xfs/xfs_refcount_item.c if (cuip->cui_format.cui_nextents > XFS_CUI_MAX_FAST_EXTENTS) cuip 35 fs/xfs/xfs_refcount_item.c kmem_free(cuip); cuip 37 fs/xfs/xfs_refcount_item.c kmem_zone_free(xfs_cui_zone, cuip); cuip 49 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip) cuip 51 fs/xfs/xfs_refcount_item.c ASSERT(atomic_read(&cuip->cui_refcount) > 0); cuip 52 fs/xfs/xfs_refcount_item.c if (atomic_dec_and_test(&cuip->cui_refcount)) { cuip 53 fs/xfs/xfs_refcount_item.c xfs_trans_ail_remove(&cuip->cui_item, SHUTDOWN_LOG_IO_ERROR); cuip 54 fs/xfs/xfs_refcount_item.c xfs_cui_item_free(cuip); cuip 65 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip = CUI_ITEM(lip); cuip 68 fs/xfs/xfs_refcount_item.c *nbytes += xfs_cui_log_format_sizeof(cuip->cui_format.cui_nextents); cuip 83 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip = CUI_ITEM(lip); cuip 86 fs/xfs/xfs_refcount_item.c ASSERT(atomic_read(&cuip->cui_next_extent) == cuip 87 fs/xfs/xfs_refcount_item.c cuip->cui_format.cui_nextents); cuip 89 fs/xfs/xfs_refcount_item.c cuip->cui_format.cui_type = XFS_LI_CUI; cuip 90 fs/xfs/xfs_refcount_item.c cuip->cui_format.cui_size = 1; cuip 92 fs/xfs/xfs_refcount_item.c xlog_copy_iovec(lv, &vecp, XLOG_REG_TYPE_CUI_FORMAT, &cuip->cui_format, cuip 93 fs/xfs/xfs_refcount_item.c xfs_cui_log_format_sizeof(cuip->cui_format.cui_nextents)); cuip 109 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip = CUI_ITEM(lip); cuip 111 fs/xfs/xfs_refcount_item.c xfs_cui_release(cuip); cuip 142 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip; cuip 146 fs/xfs/xfs_refcount_item.c cuip = kmem_zalloc(xfs_cui_log_item_sizeof(nextents), cuip 149 fs/xfs/xfs_refcount_item.c cuip = kmem_zone_zalloc(xfs_cui_zone, 0); cuip 151 fs/xfs/xfs_refcount_item.c xfs_log_item_init(mp, &cuip->cui_item, XFS_LI_CUI, &xfs_cui_item_ops); cuip 152 fs/xfs/xfs_refcount_item.c cuip->cui_format.cui_nextents = nextents; cuip 153 fs/xfs/xfs_refcount_item.c cuip->cui_format.cui_id = (uintptr_t)(void *)cuip; cuip 154 fs/xfs/xfs_refcount_item.c atomic_set(&cuip->cui_next_extent, 0); cuip 155 fs/xfs/xfs_refcount_item.c atomic_set(&cuip->cui_refcount, 2); cuip 157 fs/xfs/xfs_refcount_item.c return cuip; cuip 222 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip) cuip 229 fs/xfs/xfs_refcount_item.c cudp->cud_cuip = cuip; cuip 230 fs/xfs/xfs_refcount_item.c cudp->cud_format.cud_cui_id = cuip->cui_format.cui_id; cuip 293 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip; cuip 298 fs/xfs/xfs_refcount_item.c cuip = xfs_cui_init(tp->t_mountp, count); cuip 299 fs/xfs/xfs_refcount_item.c ASSERT(cuip != NULL); cuip 304 fs/xfs/xfs_refcount_item.c xfs_trans_add_item(tp, &cuip->cui_item); cuip 305 fs/xfs/xfs_refcount_item.c return cuip; cuip 334 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip = intent; cuip 342 fs/xfs/xfs_refcount_item.c set_bit(XFS_LI_DIRTY, &cuip->cui_item.li_flags); cuip 349 fs/xfs/xfs_refcount_item.c next_extent = atomic_inc_return(&cuip->cui_next_extent) - 1; cuip 350 fs/xfs/xfs_refcount_item.c ASSERT(next_extent < cuip->cui_format.cui_nextents); cuip 351 fs/xfs/xfs_refcount_item.c ext = &cuip->cui_format.cui_extents[next_extent]; cuip 449 fs/xfs/xfs_refcount_item.c struct xfs_cui_log_item *cuip) cuip 467 fs/xfs/xfs_refcount_item.c ASSERT(!test_bit(XFS_CUI_RECOVERED, &cuip->cui_flags)); cuip 474 fs/xfs/xfs_refcount_item.c for (i = 0; i < cuip->cui_format.cui_nextents; i++) { cuip 475 fs/xfs/xfs_refcount_item.c refc = &cuip->cui_format.cui_extents[i]; cuip 498 fs/xfs/xfs_refcount_item.c set_bit(XFS_CUI_RECOVERED, &cuip->cui_flags); cuip 499 fs/xfs/xfs_refcount_item.c xfs_cui_release(cuip); cuip 526 fs/xfs/xfs_refcount_item.c cudp = xfs_trans_get_cud(tp, cuip); cuip 528 fs/xfs/xfs_refcount_item.c for (i = 0; i < cuip->cui_format.cui_nextents; i++) { cuip 529 fs/xfs/xfs_refcount_item.c refc = &cuip->cui_format.cui_extents[i]; cuip 581 fs/xfs/xfs_refcount_item.c set_bit(XFS_CUI_RECOVERED, &cuip->cui_flags); cuip 83 fs/xfs/xfs_refcount_item.h int xfs_cui_recover(struct xfs_trans *parent_tp, struct xfs_cui_log_item *cuip);