Lines Matching refs:tmpbuffer
1038 char *tmpbuffer; in xfs_attr_shortform_to_leaf() local
1045 tmpbuffer = kmalloc(size, GFP_KERNEL | __GFP_NOFAIL); in xfs_attr_shortform_to_leaf()
1046 memcpy(tmpbuffer, ifp->if_data, size); in xfs_attr_shortform_to_leaf()
1047 sf = (struct xfs_attr_sf_hdr *)tmpbuffer; in xfs_attr_shortform_to_leaf()
1092 kfree(tmpbuffer); in xfs_attr_shortform_to_leaf()
1220 char *tmpbuffer; in xfs_attr3_leaf_to_shortform() local
1226 tmpbuffer = kvmalloc(args->geo->blksize, GFP_KERNEL | __GFP_NOFAIL); in xfs_attr3_leaf_to_shortform()
1227 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_shortform()
1229 leaf = (xfs_attr_leafblock_t *)tmpbuffer; in xfs_attr3_leaf_to_shortform()
1289 kvfree(tmpbuffer); in xfs_attr3_leaf_to_shortform()
1752 char *tmpbuffer; in xfs_attr3_leaf_compact() local
1756 tmpbuffer = kvmalloc(args->geo->blksize, GFP_KERNEL | __GFP_NOFAIL); in xfs_attr3_leaf_compact()
1757 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_compact()
1759 leaf_src = (xfs_attr_leafblock_t *)tmpbuffer; in xfs_attr3_leaf_compact()
1767 memcpy(bp->b_addr, tmpbuffer, xfs_attr3_leaf_hdr_size(leaf_src)); in xfs_attr3_leaf_compact()
1798 kvfree(tmpbuffer); in xfs_attr3_leaf_compact()