Searched refs:i_afp (Results 1 – 8 of 8) sorted by relevance
186 (ip->i_afp->if_bytes > 0)) { in xfs_inode_item_size()187 ASSERT(ip->i_afp->if_u1.if_extents != NULL); in xfs_inode_item_size()198 (ip->i_afp->if_broot_bytes > 0)) { in xfs_inode_item_size()199 ASSERT(ip->i_afp->if_broot != NULL); in xfs_inode_item_size()210 (ip->i_afp->if_bytes > 0)) { in xfs_inode_item_size()211 ASSERT(ip->i_afp->if_u1.if_data != NULL); in xfs_inode_item_size()461 ASSERT(ip->i_afp->if_bytes > 0); in xfs_inode_item_format()462 ASSERT(ip->i_afp->if_u1.if_extents != NULL); in xfs_inode_item_format()465 nrecs = ip->i_afp->if_bytes / in xfs_inode_item_format()475 vecp->i_addr = (char *)(ip->i_afp->if_u1.if_extents); in xfs_inode_item_format()[all …]
104 (INT_GET(((xfs_attr_shortform_t *)((dp)->i_afp->if_u1.if_data))->hdr.totsize, ARCH_CONVERT))
263 xfs_ifork_t *i_afp; /* attribute fork pointer */ member321 #define XFS_IFORK_PTR(ip,w) ((w) == XFS_DATA_FORK ? &(ip)->i_df : (ip)->i_afp)
120 ifp = dp->i_afp; in xfs_attr_shortform_create()152 ifp = dp->i_afp; in xfs_attr_shortform_add()206 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove()253 ifp = args->dp->i_afp; in xfs_attr_shortform_lookup()286 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue()333 ifp = dp->i_afp; in xfs_attr_shortform_to_leaf()443 ASSERT(dp->i_afp != NULL); in xfs_attr_shortform_list()444 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()457 if ((dp->i_afp->if_bytes + INT_GET(sf->hdr.count, ARCH_CONVERT) * 16) in xfs_attr_shortform_list()512 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
560 ASSERT(ip->i_afp == NULL); in xfs_iformat()561 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP); in xfs_iformat()562 ip->i_afp->if_ext_max = in xfs_iformat()581 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_iformat()582 ip->i_afp = NULL; in xfs_iformat()2776 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_idestroy_fork()2777 ip->i_afp = NULL; in xfs_idestroy_fork()2799 if (ip->i_afp) in xfs_idestroy()
267 if (ip->i_afp) in xfs_getattr()269 (ip->i_afp->if_flags & XFS_IFEXTENTS) ? in xfs_getattr()270 ip->i_afp->if_bytes / sizeof(xfs_bmbt_rec_t) : in xfs_getattr()1755 } else if (ip->i_afp) { in xfs_inactive()
3852 ASSERT(ip->i_afp == NULL); in xfs_bmap_add_attrfork()3853 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP); in xfs_bmap_add_attrfork()3854 ip->i_afp->if_ext_max = in xfs_bmap_add_attrfork()3856 ip->i_afp->if_flags = XFS_IFEXTENTS; in xfs_bmap_add_attrfork()
561 ASSERT(dp->i_afp->if_flags & XFS_IFINLINE); in xfs_attr_remove()