Home
last modified time | relevance | path

Searched refs:if_data (Results 1 – 16 of 16) 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()
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()
535 ifp->if_u1.if_data = NULL; in xfs_idestroy_fork()
628 ASSERT(ifp->if_u1.if_data != NULL); in xfs_iflush_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_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.h22 char *if_data; /* inline file data */ 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()
/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.c2390 kmem_free(ip->i_df.if_u1.if_data); in xfs_ifree()
2391 ip->i_df.if_u1.if_data = NULL; in xfs_ifree()