Searched refs:if_u1 (Results 1 – 16 of 16) sorted by relevance
/Linux-v6.1/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 53 ifp->if_u1.if_data = kmem_alloc(mem_size, KM_NOFS); in xfs_init_local_fork() 54 memcpy(ifp->if_u1.if_data, data, size); in xfs_init_local_fork() 56 ifp->if_u1.if_data[size] = '\0'; in xfs_init_local_fork() 58 ifp->if_u1.if_data = NULL; in xfs_init_local_fork() 128 ifp->if_u1.if_root = NULL; in xfs_iformat_extents() 214 ifp->if_u1.if_root = NULL; in xfs_iformat_btree() 497 kmem_free(ifp->if_u1.if_data); in xfs_idata_realloc() 498 ifp->if_u1.if_data = NULL; in xfs_idata_realloc() 503 ifp->if_u1.if_data = krealloc(ifp->if_u1.if_data, new_size, in xfs_idata_realloc() 519 kmem_free(ifp->if_u1.if_data); in xfs_idestroy_fork() [all …]
|
D | xfs_dir2_sf.c | 384 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() 844 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 = krealloc(ifp->if_u1.if_root, new_size, GFP_NOFS | __GFP_NOFAIL); 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() 208 char *sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify()
|
D | xfs_attr_leaf.c | 694 hdr = (struct xfs_attr_sf_hdr *)ifp->if_u1.if_data; in xfs_attr_shortform_create() 722 sf = (struct xfs_attr_shortform *)args->dp->i_af.if_u1.if_data; in xfs_attr_sf_findname() 769 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_add() 776 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_add() 826 sf = (struct xfs_attr_shortform *)dp->i_af.if_u1.if_data; in xfs_attr_sf_removename() 892 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_lookup() 919 sf = (struct xfs_attr_shortform *)args->dp->i_af.if_u1.if_data; in xfs_attr_shortform_getvalue() 950 sf = (struct xfs_attr_shortform *)ifp->if_u1.if_data; in xfs_attr_shortform_to_leaf() 954 memcpy(tmpbuffer, ifp->if_u1.if_data, size); in xfs_attr_shortform_to_leaf() 1058 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 | 1102 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()
|
D | xfs_dir2.c | 198 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
D | xfs_attr.c | 1102 sf = (struct xfs_attr_shortform *)dp->i_af.if_u1.if_data; in xfs_attr_sf_totsize()
|
D | xfs_bmap.c | 756 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents_empty() 845 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents()
|
/Linux-v6.1/fs/xfs/scrub/ |
D | symlink.c | 56 len > strnlen(ifp->if_u1.if_data, xfs_inode_data_fork_size(ip))) in xchk_symlink()
|
/Linux-v6.1/fs/xfs/ |
D | xfs_inode_item.c | 207 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_format_data_fork() 210 ip->i_df.if_u1.if_data, in xfs_inode_item_format_data_fork() 286 ASSERT(ip->i_af.if_u1.if_data != NULL); in xfs_inode_item_format_attr_fork() 288 ip->i_af.if_u1.if_data, in xfs_inode_item_format_attr_fork()
|
D | xfs_symlink.c | 131 if (XFS_IS_CORRUPT(ip->i_mount, !ip->i_df.if_u1.if_data)) in xfs_readlink() 134 memcpy(link, ip->i_df.if_u1.if_data, pathlen + 1); in xfs_readlink()
|
D | xfs_dir2_readdir.c | 62 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()
|
D | xfs_attr_list.c | 64 sf = (struct xfs_attr_shortform *)dp->i_af.if_u1.if_data; in xfs_attr_shortform_list()
|
D | xfs_inode.c | 879 ip->i_df.if_u1.if_root = NULL; in xfs_init_new_inode() 2301 kmem_free(ip->i_df.if_u1.if_data); in xfs_ifree() 2302 ip->i_df.if_u1.if_data = NULL; in xfs_ifree()
|