Searched refs:tmpbuffer (Results 1 – 1 of 1) sorted by relevance
908 char *tmpbuffer; in xfs_attr_shortform_to_leaf() local920 tmpbuffer = kmem_alloc(size, 0); in xfs_attr_shortform_to_leaf()921 ASSERT(tmpbuffer != NULL); in xfs_attr_shortform_to_leaf()922 memcpy(tmpbuffer, ifp->if_u1.if_data, size); in xfs_attr_shortform_to_leaf()923 sf = (struct xfs_attr_shortform *)tmpbuffer; in xfs_attr_shortform_to_leaf()966 kmem_free(tmpbuffer); in xfs_attr_shortform_to_leaf()1103 char *tmpbuffer; in xfs_attr3_leaf_to_shortform() local1109 tmpbuffer = kmem_alloc(args->geo->blksize, 0); in xfs_attr3_leaf_to_shortform()1110 if (!tmpbuffer) in xfs_attr3_leaf_to_shortform()1113 memcpy(tmpbuffer, bp->b_addr, args->geo->blksize); in xfs_attr3_leaf_to_shortform()[all …]