Home
last modified time | relevance | path

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

/fs/xfs/libxfs/
Dxfs_inode_fork.c156 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 …]
Dxfs_dir2_sf.c288 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 …]
Dxfs_iext_tree.c161 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 …]
Dxfs_symlink_remote.c178 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()
Dxfs_attr_sf.h40 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
Dxfs_attr_leaf.c585 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()
Dxfs_inode_fork.h23 } if_u1; member
Dxfs_dir2_block.c1113 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()
Dxfs_dir2.c180 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
Dxfs_bmap.c808 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/
Dxfs_inode_item.c198 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()
Dxfs_dir2_readdir.c60 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()
Dxfs_attr_list.c65 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()
Dxfs_inode.c908 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()
Dxfs_iops.c483 link = ip->i_df.if_u1.if_data; in xfs_vn_get_link_inline()
/fs/xfs/scrub/
Dsymlink.c57 len > strnlen(ifp->if_u1.if_data, XFS_IFORK_DSIZE(ip))) in xchk_symlink()