Home
last modified time | relevance | path

Searched refs:tmpbuffer (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_dir_leaf.c333 char *tmpbuffer; in xfs_dir_shortform_to_leaf() local
350 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_dir_shortform_to_leaf()
351 ASSERT(tmpbuffer != NULL); in xfs_dir_shortform_to_leaf()
353 memcpy(tmpbuffer, dp->i_df.if_u1.if_data, size); in xfs_dir_shortform_to_leaf()
355 sf = (xfs_dir_shortform_t *)tmpbuffer; in xfs_dir_shortform_to_leaf()
410 kmem_free(tmpbuffer, size); in xfs_dir_shortform_to_leaf()
650 char *tmpbuffer; in xfs_dir_leaf_to_shortform() local
655 tmpbuffer = kmem_alloc(XFS_LBSIZE(dp->i_mount), KM_SLEEP); in xfs_dir_leaf_to_shortform()
656 ASSERT(tmpbuffer != NULL); in xfs_dir_leaf_to_shortform()
663 memcpy(tmpbuffer, bp->data, XFS_LBSIZE(dp->i_mount)); in xfs_dir_leaf_to_shortform()
[all …]
Dxfs_attr_leaf.c326 char *tmpbuffer; in xfs_attr_shortform_to_leaf() local
336 tmpbuffer = kmem_alloc(size, KM_SLEEP); in xfs_attr_shortform_to_leaf()
337 ASSERT(tmpbuffer != NULL); in xfs_attr_shortform_to_leaf()
338 memcpy(tmpbuffer, ifp->if_u1.if_data, size); in xfs_attr_shortform_to_leaf()
339 sf = (xfs_attr_shortform_t *)tmpbuffer; in xfs_attr_shortform_to_leaf()
352 memcpy(ifp->if_u1.if_data, tmpbuffer, size); /* it back */ in xfs_attr_shortform_to_leaf()
364 memcpy(ifp->if_u1.if_data, tmpbuffer, size); /* it back */ in xfs_attr_shortform_to_leaf()
400 kmem_free(tmpbuffer, size); in xfs_attr_shortform_to_leaf()
650 char *tmpbuffer; in xfs_attr_leaf_to_shortform() local
654 tmpbuffer = kmem_alloc(XFS_LBSIZE(dp->i_mount), KM_SLEEP); in xfs_attr_leaf_to_shortform()
[all …]