Searched refs:i_afp (Results 1 – 10 of 10) sorted by relevance
165 (ip->i_afp->if_bytes > 0)) { in xfs_inode_item_size()166 ASSERT(ip->i_afp->if_u1.if_extents != NULL); in xfs_inode_item_size()177 (ip->i_afp->if_broot_bytes > 0)) { in xfs_inode_item_size()178 ASSERT(ip->i_afp->if_broot != NULL); in xfs_inode_item_size()189 (ip->i_afp->if_bytes > 0)) { in xfs_inode_item_size()190 ASSERT(ip->i_afp->if_u1.if_data != NULL); in xfs_inode_item_size()455 ASSERT(ip->i_afp->if_bytes > 0); in xfs_inode_item_format()456 ASSERT(ip->i_afp->if_u1.if_extents != NULL); in xfs_inode_item_format()459 nrecs = ip->i_afp->if_bytes / in xfs_inode_item_format()469 vecp->i_addr = (char *)(ip->i_afp->if_u1.if_extents); in xfs_inode_item_format()[all …]
227 ifp = dp->i_afp; in xfs_attr_shortform_create()263 dp->i_afp->if_ext_max = in xfs_attr_shortform_add()266 ifp = dp->i_afp; in xfs_attr_shortform_add()315 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove()359 ASSERT(dp->i_afp == NULL); in xfs_attr_shortform_remove()371 dp->i_afp->if_ext_max = in xfs_attr_shortform_remove()396 ifp = args->dp->i_afp; in xfs_attr_shortform_lookup()425 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue()468 ifp = dp->i_afp; in xfs_attr_shortform_to_leaf()580 ASSERT(dp->i_afp != NULL); in xfs_attr_shortform_list()[all …]
70 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
179 (ip)->i_afp)248 xfs_ifork_t *i_afp; /* attribute fork pointer */ member
85 ip->i_afp = NULL; in xfs_inode_alloc()512 if (ip->i_afp) in xfs_ireclaim()
419 ASSERT(ip->i_afp == NULL); in xfs_iformat()420 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP); in xfs_iformat()421 ip->i_afp->if_ext_max = in xfs_iformat()453 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_iformat()454 ip->i_afp = NULL; in xfs_iformat()2460 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_idestroy_fork()2461 ip->i_afp = NULL; in xfs_idestroy_fork()
3598 ip->i_afp->if_ext_max = XFS_IFORK_ASIZE(ip) / in xfs_bmap_forkoff_reset()4079 ASSERT(ip->i_afp == NULL); in xfs_bmap_add_attrfork()4080 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP); in xfs_bmap_add_attrfork()4081 ip->i_afp->if_ext_max = in xfs_bmap_add_attrfork()4083 ip->i_afp->if_flags = XFS_IFEXTENTS; in xfs_bmap_add_attrfork()
552 ASSERT(dp->i_afp->if_flags & XFS_IFINLINE); in xfs_attr_remove_int()
1284 } else if (ip->i_afp) { in xfs_inactive()
825 if (ip->i_afp) { in xfs_ioc_fsgetxattr()826 if (ip->i_afp->if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr()827 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr()