Searched refs:if_u1 (Results 1 – 16 of 16) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 156 ifp->if_u1.if_data = kmem_alloc(real_size, KM_NOFS); in xfs_init_local_fork() 157 memcpy(ifp->if_u1.if_data, data, size); in xfs_init_local_fork() 159 ifp->if_u1.if_data[size] = '\0'; in xfs_init_local_fork() 161 ifp->if_u1.if_data = NULL; in xfs_init_local_fork() 233 ifp->if_u1.if_root = NULL; in xfs_iformat_extents() 323 ifp->if_u1.if_root = NULL; in xfs_iformat_btree() 489 kmem_free(ifp->if_u1.if_data); in xfs_idata_realloc() 490 ifp->if_u1.if_data = NULL; in xfs_idata_realloc() 500 ifp->if_u1.if_data = kmem_realloc(ifp->if_u1.if_data, in xfs_idata_realloc() 525 if (ifp->if_u1.if_data != NULL) { in xfs_idestroy_fork() [all …]
|
D | xfs_dir2_sf.c | 288 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname() 289 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname() 373 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() 383 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy() 437 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard() 469 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard() 524 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_pick() 591 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_check() 643 sfp = (struct xfs_dir2_sf_hdr *)ifp->if_u1.if_data; in xfs_dir2_sf_verify() 761 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_create() [all …]
|
D | xfs_iext_tree.c | 161 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_find_first_leaf() 179 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_find_last_leaf() 309 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_find_level() 405 struct xfs_iext_leaf *prev = ifp->if_u1.if_root; in xfs_iext_grow() 410 struct xfs_iext_node *prev = ifp->if_u1.if_root; in xfs_iext_grow() 421 ifp->if_u1.if_root = node; in xfs_iext_grow() 433 struct xfs_iext_node *node = ifp->if_u1.if_root; in xfs_iext_update_node() 586 ifp->if_u1.if_root = kmem_zalloc(sizeof(struct xfs_iext_rec), KM_NOFS); in xfs_iext_alloc_root() 590 cur->leaf = ifp->if_u1.if_root; in xfs_iext_alloc_root() 606 new = kmem_realloc(ifp->if_u1.if_root, new_size, KM_NOFS); in xfs_iext_realloc_root() [all …]
|
D | xfs_symlink_remote.c | 178 memcpy(bp->b_addr, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote() 194 memcpy(buf, ifp->if_u1.if_data, ifp->if_bytes); in xfs_symlink_local_to_remote() 214 sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify()
|
D | xfs_attr_sf.h | 40 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
|
D | xfs_attr_leaf.c | 585 hdr = (struct xfs_attr_sf_hdr *)ifp->if_u1.if_data; in xfs_attr_shortform_create() 613 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add() 630 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_add() 681 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove() 750 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_lookup() 781 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue() 820 sf = (xfs_attr_shortform_t *)ifp->if_u1.if_data; in xfs_attr_shortform_to_leaf() 824 memcpy(tmpbuffer, ifp->if_u1.if_data, size); in xfs_attr_shortform_to_leaf() 930 sfp = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_verify()
|
D | xfs_inode_fork.h | 23 } if_u1; member
|
D | xfs_dir2_block.c | 1113 oldsfp = (xfs_dir2_sf_hdr_t *)ifp->if_u1.if_data; in xfs_dir2_sf_to_block() 1116 ASSERT(ifp->if_u1.if_data != NULL); in xfs_dir2_sf_to_block()
|
D | xfs_dir2.c | 180 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
D | xfs_bmap.c | 808 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents_empty() 894 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents()
|
/fs/xfs/ |
D | xfs_inode_item.c | 198 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_format_data_fork() 201 ip->i_df.if_u1.if_data, data_bytes); in xfs_inode_item_format_data_fork() 282 ASSERT(ip->i_afp->if_u1.if_data != NULL); in xfs_inode_item_format_attr_fork() 284 ip->i_afp->if_u1.if_data, in xfs_inode_item_format_attr_fork()
|
D | xfs_dir2_readdir.c | 60 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_getdents() 62 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents()
|
D | xfs_attr_list.c | 65 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()
|
D | xfs_inode.c | 908 ip->i_df.if_u1.if_root = NULL; in xfs_ialloc() 3785 ifp->if_u1.if_data, ifp->if_bytes, fa); in xfs_inode_verify_forks() 3793 ifp ? ifp->if_u1.if_data : NULL, in xfs_inode_verify_forks()
|
D | xfs_iops.c | 483 link = ip->i_df.if_u1.if_data; in xfs_vn_get_link_inline()
|
/fs/xfs/scrub/ |
D | symlink.c | 57 len > strnlen(ifp->if_u1.if_data, XFS_IFORK_DSIZE(ip))) in xchk_symlink()
|