Searched refs:if_u1 (Results 1 – 11 of 11) sorted by relevance
/linux-3.4.99/fs/xfs/ |
D | xfs_inode.c | 485 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 …]
|
D | xfs_dir2_sf.c | 275 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 …]
|
D | xfs_inode_item.c | 227 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()
|
D | xfs_attr_sf.h | 68 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
|
D | xfs_dfrag.c | 396 ifp->if_u1.if_extents = in xfs_swap_extents() 414 tifp->if_u1.if_extents = in xfs_swap_extents()
|
D | xfs_attr_leaf.c | 253 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 …]
|
D | xfs_inode.h | 73 } if_u1; member
|
D | xfs_dir2_block.c | 1059 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()
|
D | xfs_dir2.c | 129 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
D | xfs_vnodeops.c | 140 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()
|
D | xfs_bmap.c | 3270 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_bmap_local_to_extents()
|