efip 36 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip) efip 38 fs/xfs/xfs_extfree_item.c kmem_free(efip->efi_item.li_lv_shadow); efip 39 fs/xfs/xfs_extfree_item.c if (efip->efi_format.efi_nextents > XFS_EFI_MAX_FAST_EXTENTS) efip 40 fs/xfs/xfs_extfree_item.c kmem_free(efip); efip 42 fs/xfs/xfs_extfree_item.c kmem_zone_free(xfs_efi_zone, efip); efip 54 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip) efip 56 fs/xfs/xfs_extfree_item.c ASSERT(atomic_read(&efip->efi_refcount) > 0); efip 57 fs/xfs/xfs_extfree_item.c if (atomic_dec_and_test(&efip->efi_refcount)) { efip 58 fs/xfs/xfs_extfree_item.c xfs_trans_ail_remove(&efip->efi_item, SHUTDOWN_LOG_IO_ERROR); efip 59 fs/xfs/xfs_extfree_item.c xfs_efi_item_free(efip); efip 70 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip) efip 73 fs/xfs/xfs_extfree_item.c (efip->efi_format.efi_nextents - 1) * sizeof(xfs_extent_t); efip 98 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip = EFI_ITEM(lip); efip 101 fs/xfs/xfs_extfree_item.c ASSERT(atomic_read(&efip->efi_next_extent) == efip 102 fs/xfs/xfs_extfree_item.c efip->efi_format.efi_nextents); efip 104 fs/xfs/xfs_extfree_item.c efip->efi_format.efi_type = XFS_LI_EFI; efip 105 fs/xfs/xfs_extfree_item.c efip->efi_format.efi_size = 1; efip 108 fs/xfs/xfs_extfree_item.c &efip->efi_format, efip 109 fs/xfs/xfs_extfree_item.c xfs_efi_item_sizeof(efip)); efip 126 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip = EFI_ITEM(lip); efip 127 fs/xfs/xfs_extfree_item.c xfs_efi_release(efip); efip 159 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip; efip 166 fs/xfs/xfs_extfree_item.c efip = kmem_zalloc(size, 0); efip 168 fs/xfs/xfs_extfree_item.c efip = kmem_zone_zalloc(xfs_efi_zone, 0); efip 171 fs/xfs/xfs_extfree_item.c xfs_log_item_init(mp, &efip->efi_item, XFS_LI_EFI, &xfs_efi_item_ops); efip 172 fs/xfs/xfs_extfree_item.c efip->efi_format.efi_nextents = nextents; efip 173 fs/xfs/xfs_extfree_item.c efip->efi_format.efi_id = (uintptr_t)(void *)efip; efip 174 fs/xfs/xfs_extfree_item.c atomic_set(&efip->efi_next_extent, 0); efip 175 fs/xfs/xfs_extfree_item.c atomic_set(&efip->efi_refcount, 2); efip 177 fs/xfs/xfs_extfree_item.c return efip; efip 326 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip, efip 343 fs/xfs/xfs_extfree_item.c efdp->efd_efip = efip; efip 345 fs/xfs/xfs_extfree_item.c efdp->efd_format.efd_efi_id = efip->efi_format.efi_id; efip 420 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip; efip 425 fs/xfs/xfs_extfree_item.c efip = xfs_efi_init(tp->t_mountp, count); efip 426 fs/xfs/xfs_extfree_item.c ASSERT(efip != NULL); efip 431 fs/xfs/xfs_extfree_item.c xfs_trans_add_item(tp, &efip->efi_item); efip 432 fs/xfs/xfs_extfree_item.c return efip; efip 442 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip = intent; efip 450 fs/xfs/xfs_extfree_item.c set_bit(XFS_LI_DIRTY, &efip->efi_item.li_flags); efip 457 fs/xfs/xfs_extfree_item.c next_extent = atomic_inc_return(&efip->efi_next_extent) - 1; efip 458 fs/xfs/xfs_extfree_item.c ASSERT(next_extent < efip->efi_format.efi_nextents); efip 459 fs/xfs/xfs_extfree_item.c extp = &efip->efi_format.efi_extents[next_extent]; efip 597 fs/xfs/xfs_extfree_item.c struct xfs_efi_log_item *efip) efip 606 fs/xfs/xfs_extfree_item.c ASSERT(!test_bit(XFS_EFI_RECOVERED, &efip->efi_flags)); efip 613 fs/xfs/xfs_extfree_item.c for (i = 0; i < efip->efi_format.efi_nextents; i++) { efip 614 fs/xfs/xfs_extfree_item.c extp = &efip->efi_format.efi_extents[i]; efip 625 fs/xfs/xfs_extfree_item.c set_bit(XFS_EFI_RECOVERED, &efip->efi_flags); efip 626 fs/xfs/xfs_extfree_item.c xfs_efi_release(efip); efip 634 fs/xfs/xfs_extfree_item.c efdp = xfs_trans_get_efd(tp, efip, efip->efi_format.efi_nextents); efip 636 fs/xfs/xfs_extfree_item.c for (i = 0; i < efip->efi_format.efi_nextents; i++) { efip 637 fs/xfs/xfs_extfree_item.c extp = &efip->efi_format.efi_extents[i]; efip 646 fs/xfs/xfs_extfree_item.c set_bit(XFS_EFI_RECOVERED, &efip->efi_flags); efip 88 fs/xfs/xfs_extfree_item.h struct xfs_efi_log_item *efip); efip 3346 fs/xfs/xfs_log_recover.c struct xfs_efi_log_item *efip; efip 3351 fs/xfs/xfs_log_recover.c efip = xfs_efi_init(mp, efi_formatp->efi_nextents); efip 3352 fs/xfs/xfs_log_recover.c error = xfs_efi_copy_format(&item->ri_buf[0], &efip->efi_format); efip 3354 fs/xfs/xfs_log_recover.c xfs_efi_item_free(efip); efip 3357 fs/xfs/xfs_log_recover.c atomic_set(&efip->efi_next_extent, efi_formatp->efi_nextents); efip 3366 fs/xfs/xfs_log_recover.c xfs_trans_ail_update(log->l_ailp, &efip->efi_item, lsn); efip 3367 fs/xfs/xfs_log_recover.c xfs_efi_release(efip); efip 3385 fs/xfs/xfs_log_recover.c xfs_efi_log_item_t *efip = NULL; efip 3406 fs/xfs/xfs_log_recover.c efip = (xfs_efi_log_item_t *)lip; efip 3407 fs/xfs/xfs_log_recover.c if (efip->efi_format.efi_id == efi_id) { efip 3413 fs/xfs/xfs_log_recover.c xfs_efi_release(efip); efip 4573 fs/xfs/xfs_log_recover.c struct xfs_efi_log_item *efip; efip 4579 fs/xfs/xfs_log_recover.c efip = container_of(lip, struct xfs_efi_log_item, efi_item); efip 4580 fs/xfs/xfs_log_recover.c if (test_bit(XFS_EFI_RECOVERED, &efip->efi_flags)) efip 4584 fs/xfs/xfs_log_recover.c error = xfs_efi_recover(mp, efip); efip 4597 fs/xfs/xfs_log_recover.c struct xfs_efi_log_item *efip; efip 4599 fs/xfs/xfs_log_recover.c efip = container_of(lip, struct xfs_efi_log_item, efi_item); efip 4602 fs/xfs/xfs_log_recover.c xfs_efi_release(efip);