Lines Matching defs:efdp
331 xfs_efd_item_free(struct xfs_efd_log_item *efdp)
333 if (efdp->efd_format.efd_nextents > XFS_EFD_MAX_FAST_EXTENTS)
334 kmem_free(efdp);
336 kmem_zone_free(xfs_efd_zone, efdp);
363 struct xfs_efd_log_item *efdp = EFD_ITEM(lip);
366 ASSERT(efdp->efd_next_extent == efdp->efd_format.efd_nextents);
368 efdp->efd_format.efd_type = XFS_LI_EFD;
371 size += (efdp->efd_format.efd_nextents - 1) * sizeof(xfs_extent_t);
372 efdp->efd_format.efd_size = 1;
374 log_vector->i_addr = &efdp->efd_format;
434 struct xfs_efd_log_item *efdp = EFD_ITEM(lip);
441 xfs_efi_release(efdp->efd_efip, efdp->efd_format.efd_nextents);
443 xfs_efd_item_free(efdp);
496 struct xfs_efd_log_item *efdp;
503 efdp = kmem_zalloc(size, KM_SLEEP);
505 efdp = kmem_zone_zalloc(xfs_efd_zone, KM_SLEEP);
508 xfs_log_item_init(mp, &efdp->efd_item, XFS_LI_EFD, &xfs_efd_item_ops);
509 efdp->efd_efip = efip;
510 efdp->efd_format.efd_nextents = nextents;
511 efdp->efd_format.efd_efi_id = efip->efi_format.efi_id;
513 return efdp;