Searched refs:if_data (Results 1 – 16 of 16) sorted by relevance
/linux-6.6.21/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() 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 …]
|
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_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 | 22 char *if_data; /* inline file data */ 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 | 199 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()
|
/linux-6.6.21/fs/xfs/scrub/ |
D | symlink.c | 56 len > strnlen(ifp->if_u1.if_data, xfs_inode_data_fork_size(ip))) in xchk_symlink()
|
D | readdir.c | 46 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()
|
D | attr.c | 541 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/ |
D | xfs_inode_item.c | 354 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()
|
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 | 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()
|