Searched refs:efip (Results 1 – 3 of 3) sorted by relevance
/fs/xfs/ |
D | xfs_extfree_item.c | 41 struct xfs_efi_log_item *efip) in xfs_efi_item_free() argument 43 if (efip->efi_format.efi_nextents > XFS_EFI_MAX_FAST_EXTENTS) in xfs_efi_item_free() 44 kmem_free(efip); in xfs_efi_item_free() 46 kmem_zone_free(xfs_efi_zone, efip); in xfs_efi_item_free() 58 struct xfs_efi_log_item *efip) in __xfs_efi_release() argument 60 struct xfs_ail *ailp = efip->efi_item.li_ailp; in __xfs_efi_release() 62 if (atomic_dec_and_test(&efip->efi_refcount)) { in __xfs_efi_release() 65 xfs_trans_ail_delete(ailp, &efip->efi_item, in __xfs_efi_release() 67 xfs_efi_item_free(efip); in __xfs_efi_release() 95 struct xfs_efi_log_item *efip = EFI_ITEM(lip); in xfs_efi_item_format() local [all …]
|
D | xfs_trans_extfree.c | 39 xfs_efi_log_item_t *efip; in xfs_trans_get_efi() local 44 efip = xfs_efi_init(tp->t_mountp, nextents); in xfs_trans_get_efi() 45 ASSERT(efip != NULL); in xfs_trans_get_efi() 50 xfs_trans_add_item(tp, &efip->efi_item); in xfs_trans_get_efi() 51 return efip; in xfs_trans_get_efi() 61 xfs_efi_log_item_t *efip, in xfs_trans_log_efi_extent() argument 69 efip->efi_item.li_desc->lid_flags |= XFS_LID_DIRTY; in xfs_trans_log_efi_extent() 76 next_extent = atomic_inc_return(&efip->efi_next_extent) - 1; in xfs_trans_log_efi_extent() 77 ASSERT(next_extent < efip->efi_format.efi_nextents); in xfs_trans_log_efi_extent() 78 extp = &(efip->efi_format.efi_extents[next_extent]); in xfs_trans_log_efi_extent() [all …]
|
D | xfs_log_recover.c | 2906 xfs_efi_log_item_t *efip; in xlog_recover_efi_pass2() local 2911 efip = xfs_efi_init(mp, efi_formatp->efi_nextents); in xlog_recover_efi_pass2() 2913 &(efip->efi_format)))) { in xlog_recover_efi_pass2() 2914 xfs_efi_item_free(efip); in xlog_recover_efi_pass2() 2917 atomic_set(&efip->efi_next_extent, efi_formatp->efi_nextents); in xlog_recover_efi_pass2() 2923 xfs_trans_ail_update(log->l_ailp, &efip->efi_item, lsn); in xlog_recover_efi_pass2() 2942 xfs_efi_log_item_t *efip = NULL; in xlog_recover_efd_pass2() local 2963 efip = (xfs_efi_log_item_t *)lip; in xlog_recover_efd_pass2() 2964 if (efip->efi_format.efi_id == efi_id) { in xlog_recover_efd_pass2() 2971 xfs_efi_item_free(efip); in xlog_recover_efd_pass2() [all …]
|