Home
last modified time | relevance | path

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

/Linux-v5.10/fs/xfs/libxfs/
Dxfs_inode_fork.c52 ifp->if_u1.if_data = kmem_alloc(real_size, KM_NOFS); in xfs_init_local_fork()
53 memcpy(ifp->if_u1.if_data, data, size); in xfs_init_local_fork()
55 ifp->if_u1.if_data[size] = '\0'; in xfs_init_local_fork()
57 ifp->if_u1.if_data = NULL; in xfs_init_local_fork()
129 ifp->if_u1.if_root = NULL; in xfs_iformat_extents()
218 ifp->if_u1.if_root = NULL; in xfs_iformat_btree()
488 kmem_free(ifp->if_u1.if_data); in xfs_idata_realloc()
489 ifp->if_u1.if_data = NULL; in xfs_idata_realloc()
499 ifp->if_u1.if_data = krealloc(ifp->if_u1.if_data, roundup(new_size, 4), in xfs_idata_realloc()
519 kmem_free(ifp->if_u1.if_data); in xfs_idestroy_fork()
[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 = krealloc(ifp->if_u1.if_root, new_size, GFP_NOFS | __GFP_NOFAIL); in xfs_iext_realloc_root()
[all …]
Dxfs_dir2_sf.c384 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_addname()
385 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname()
468 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy()
478 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_easy()
531 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard()
563 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_hard()
617 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_addname_pick()
683 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_check()
728 sfp = (struct xfs_dir2_sf_hdr *)ifp->if_u1.if_data; in xfs_dir2_sf_verify()
846 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_create()
[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()
208 char *sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify()
Dxfs_inode_fork.h23 } if_u1; member
Dxfs_attr_leaf.c662 hdr = (struct xfs_attr_sf_hdr *)ifp->if_u1.if_data; in xfs_attr_shortform_create()
690 sf = (struct xfs_attr_shortform *)args->dp->i_afp->if_u1.if_data; in xfs_attr_sf_findname()
737 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
744 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_add()
796 sf = (struct xfs_attr_shortform *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove()
855 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_lookup()
882 sf = (struct xfs_attr_shortform *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue()
917 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_to_leaf()
921 memcpy(tmpbuffer, ifp->if_u1.if_data, size); in xfs_attr_shortform_to_leaf()
1026 sfp = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_verify()
Dxfs_dir2_block.c1102 oldsfp = (xfs_dir2_sf_hdr_t *)ifp->if_u1.if_data; in xfs_dir2_sf_to_block()
1105 ASSERT(ifp->if_u1.if_data != NULL); in xfs_dir2_sf_to_block()
Dxfs_dir2.c186 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
Dxfs_attr.c530 sf = (struct xfs_attr_shortform *)dp->i_afp->if_u1.if_data; in xfs_attr_sf_totsize()
Dxfs_bmap.c810 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents_empty()
900 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents()
/Linux-v5.10/fs/xfs/scrub/
Dsymlink.c57 len > strnlen(ifp->if_u1.if_data, XFS_IFORK_DSIZE(ip))) in xchk_symlink()
/Linux-v5.10/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.c62 ASSERT(dp->i_df.if_u1.if_data != NULL); in xfs_dir2_sf_getdents()
64 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir2_sf_getdents()
Dxfs_attr_list.c64 sf = (struct xfs_attr_shortform *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()
Dxfs_inode.c915 ip->i_df.if_u1.if_root = NULL; in xfs_ialloc()
2713 kmem_free(ip->i_df.if_u1.if_data); in xfs_ifree()
2714 ip->i_df.if_u1.if_data = NULL; in xfs_ifree()
Dxfs_iops.c490 link = ip->i_df.if_u1.if_data; in xfs_vn_get_link_inline()