Home
last modified time | relevance | path

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

/linux-6.6.21/fs/xfs/libxfs/
Dxfs_inode_fork.c53 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()
215 ifp->if_u1.if_root = NULL; in xfs_iformat_btree()
512 kmem_free(ifp->if_u1.if_data); in xfs_idata_realloc()
513 ifp->if_u1.if_data = NULL; in xfs_idata_realloc()
518 ifp->if_u1.if_data = krealloc(ifp->if_u1.if_data, new_size, in xfs_idata_realloc()
534 kmem_free(ifp->if_u1.if_data); in xfs_idestroy_fork()
[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()
844 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 = krealloc(ifp->if_u1.if_root, new_size, GFP_NOFS | __GFP_NOFAIL); 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()
208 char *sfp = (char *)ifp->if_u1.if_data; in xfs_symlink_shortform_verify()
Dxfs_attr_leaf.c694 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()
Dxfs_inode_fork.h23 } if_u1; member
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.c199 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
Dxfs_attr.c1102 sf = (struct xfs_attr_shortform *)dp->i_af.if_u1.if_data; in xfs_attr_sf_totsize()
Dxfs_bmap.c750 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents_empty()
835 ifp->if_u1.if_root = NULL; in xfs_bmap_local_to_extents()
/linux-6.6.21/fs/xfs/scrub/
Dsymlink.c56 len > strnlen(ifp->if_u1.if_data, xfs_inode_data_fork_size(ip))) in xchk_symlink()
Dreaddir.c46 ASSERT(dp->i_df.if_u1.if_data != NULL); in xchk_dir_walk_sf()
48 sfp = (struct xfs_dir2_sf_hdr *)dp->i_df.if_u1.if_data; in xchk_dir_walk_sf()
Dattr.c541 sf = (struct xfs_attr_shortform *)sc->ip->i_af.if_u1.if_data; in xchk_xattr_check_sf()
542 end = (unsigned char *)ifp->if_u1.if_data + ifp->if_bytes; in xchk_xattr_check_sf()
/linux-6.6.21/fs/xfs/
Dxfs_inode_item.c354 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_format_data_fork()
357 ip->i_df.if_u1.if_data, in xfs_inode_item_format_data_fork()
433 ASSERT(ip->i_af.if_u1.if_data != NULL); in xfs_inode_item_format_attr_fork()
435 ip->i_af.if_u1.if_data, in xfs_inode_item_format_attr_fork()
Dxfs_symlink.c131 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()
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_af.if_u1.if_data; in xfs_attr_shortform_list()
Dxfs_inode.c878 ip->i_df.if_u1.if_root = NULL; in xfs_init_new_inode()
2390 kmem_free(ip->i_df.if_u1.if_data); in xfs_ifree()
2391 ip->i_df.if_u1.if_data = NULL; in xfs_ifree()