Home
last modified time | relevance | path

Searched refs:if_u1 (Results 1 – 11 of 11) sorted by relevance

/linux-3.4.99/fs/xfs/
Dxfs_inode.c485 ifp->if_u1.if_data = NULL; in xfs_iformat_local()
487 ifp->if_u1.if_data = ifp->if_u2.if_inline_data; in xfs_iformat_local()
490 ifp->if_u1.if_data = kmem_alloc(real_size, KM_SLEEP | KM_NOFS); in xfs_iformat_local()
495 memcpy(ifp->if_u1.if_data, XFS_DFORK_PTR(dip, whichfork), size); in xfs_iformat_local()
541 ifp->if_u1.if_extents = NULL; in xfs_iformat_extents()
543 ifp->if_u1.if_extents = ifp->if_u2.if_inline_ext; in xfs_iformat_extents()
1124 ip->i_df.if_u1.if_extents = NULL; in xfs_ialloc()
1928 if (ifp->if_u1.if_data != ifp->if_u2.if_inline_data) { in xfs_idata_realloc()
1929 kmem_free(ifp->if_u1.if_data); in xfs_idata_realloc()
1931 ifp->if_u1.if_data = NULL; in xfs_idata_realloc()
[all …]
Dxfs_dir2_sf.c275 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_block_to_sf()
370 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname()
371 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname()
465 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy()
475 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy()
529 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard()
561 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard()
619 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_pick()
691 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_check()
756 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_create()
[all …]
Dxfs_inode_item.c227 ASSERT(ip->i_df.if_u1.if_extents != NULL); in xfs_inode_item_format()
239 vecp->i_addr = ip->i_df.if_u1.if_extents; in xfs_inode_item_format()
295 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_format()
298 vecp->i_addr = ip->i_df.if_u1.if_data; in xfs_inode_item_format()
361 ASSERT(ip->i_afp->if_u1.if_extents != NULL); in xfs_inode_item_format()
367 vecp->i_addr = ip->i_afp->if_u1.if_extents; in xfs_inode_item_format()
408 ASSERT(ip->i_afp->if_u1.if_data != NULL); in xfs_inode_item_format()
410 vecp->i_addr = ip->i_afp->if_u1.if_data; in xfs_inode_item_format()
Dxfs_attr_sf.h68 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
Dxfs_dfrag.c396 ifp->if_u1.if_extents = in xfs_swap_extents()
414 tifp->if_u1.if_extents = in xfs_swap_extents()
Dxfs_attr_leaf.c253 hdr = (xfs_attr_sf_hdr_t *)ifp->if_u1.if_data; in xfs_attr_shortform_create()
281 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
298 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
349 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove()
418 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_lookup()
445 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue()
491 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_to_leaf()
495 memcpy(tmpbuffer, ifp->if_u1.if_data, size); in xfs_attr_shortform_to_leaf()
509 memcpy(ifp->if_u1.if_data, tmpbuffer, size); /* it back */ in xfs_attr_shortform_to_leaf()
521 memcpy(ifp->if_u1.if_data, tmpbuffer, size); /* it back */ in xfs_attr_shortform_to_leaf()
[all …]
Dxfs_inode.h73 } if_u1; member
Dxfs_dir2_block.c1059 oldsfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_to_block()
1062 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_to_block()
Dxfs_dir2.c129 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
Dxfs_vnodeops.c140 memcpy(link, ip->i_df.if_u1.if_data, pathlen); in xfs_readlink()
1622 memcpy(ip->i_df.if_u1.if_data, target_path, pathlen); in xfs_symlink()
Dxfs_bmap.c3270 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_bmap_local_to_extents()