Searched refs:if_data (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 52 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() 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() 520 ifp->if_u1.if_data = NULL; in xfs_idestroy_fork() 610 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() 846 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_inode_fork.h | 22 char *if_data; /* inline file data */ member
|
D | xfs_attr_leaf.c | 662 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()
|
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 | 186 sfp = (xfs_dir2_sf_hdr_t *)dp->i_df.if_u1.if_data; in xfs_dir_isempty()
|
D | xfs_attr.c | 530 sf = (struct xfs_attr_shortform *)dp->i_afp->if_u1.if_data; in xfs_attr_sf_totsize()
|
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
D | symlink.c | 57 len > strnlen(ifp->if_u1.if_data, XFS_IFORK_DSIZE(ip))) in xchk_symlink()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_inode_item.c | 212 ASSERT(ip->i_df.if_u1.if_data != NULL); in xfs_inode_item_format_data_fork() 215 ip->i_df.if_u1.if_data, data_bytes); in xfs_inode_item_format_data_fork() 296 ASSERT(ip->i_afp->if_u1.if_data != NULL); in xfs_inode_item_format_attr_fork() 298 ip->i_afp->if_u1.if_data, in xfs_inode_item_format_attr_fork()
|
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_afp->if_u1.if_data; in xfs_attr_shortform_list()
|
D | xfs_iops.c | 490 link = ip->i_df.if_u1.if_data; in xfs_vn_get_link_inline()
|
D | xfs_inode.c | 2715 kmem_free(ip->i_df.if_u1.if_data); in xfs_ifree() 2716 ip->i_df.if_u1.if_data = NULL; in xfs_ifree()
|