Lines Matching refs:attrdp

254 xfs_attrd_item_free(struct xfs_attrd_log_item *attrdp)  in xfs_attrd_item_free()  argument
256 kmem_free(attrdp->attrd_item.li_lv_shadow); in xfs_attrd_item_free()
257 kmem_cache_free(xfs_attrd_cache, attrdp); in xfs_attrd_item_free()
280 struct xfs_attrd_log_item *attrdp = ATTRD_ITEM(lip); in xfs_attrd_item_format() local
283 attrdp->attrd_format.alfd_type = XFS_LI_ATTRD; in xfs_attrd_item_format()
284 attrdp->attrd_format.alfd_size = 1; in xfs_attrd_item_format()
287 &attrdp->attrd_format, in xfs_attrd_item_format()
300 struct xfs_attrd_log_item *attrdp = ATTRD_ITEM(lip); in xfs_attrd_item_release() local
302 xfs_attri_release(attrdp->attrd_attrip); in xfs_attrd_item_release()
303 xfs_attrd_item_free(attrdp); in xfs_attrd_item_release()
322 struct xfs_attrd_log_item *attrdp) in xfs_xattri_finish_update() argument
348 if (attrdp) in xfs_xattri_finish_update()
349 set_bit(XFS_LI_DIRTY, &attrdp->attrd_item.li_flags); in xfs_xattri_finish_update()
667 struct xfs_attrd_log_item *attrdp; in xfs_attri_item_relog() local
677 attrdp = xfs_trans_get_attrd(tp, old_attrip); in xfs_attri_item_relog()
678 set_bit(XFS_LI_DIRTY, &attrdp->attrd_item.li_flags); in xfs_attri_item_relog()
788 struct xfs_attrd_log_item *attrdp; in xfs_trans_get_attrd() local
792 attrdp = kmem_cache_zalloc(xfs_attrd_cache, GFP_NOFS | __GFP_NOFAIL); in xfs_trans_get_attrd()
794 xfs_log_item_init(tp->t_mountp, &attrdp->attrd_item, XFS_LI_ATTRD, in xfs_trans_get_attrd()
796 attrdp->attrd_attrip = attrip; in xfs_trans_get_attrd()
797 attrdp->attrd_format.alfd_alf_id = attrip->attri_format.alfi_id; in xfs_trans_get_attrd()
799 xfs_trans_add_item(tp, &attrdp->attrd_item); in xfs_trans_get_attrd()
800 return attrdp; in xfs_trans_get_attrd()