Searched refs:i_afp (Results 1 – 14 of 14) sorted by relevance
97 ip->i_afp->if_bytes > 0) { in xfs_inode_item_attr_fork_size()105 ip->i_afp->if_broot_bytes > 0) { in xfs_inode_item_attr_fork_size()106 *nbytes += ip->i_afp->if_broot_bytes; in xfs_inode_item_attr_fork_size()112 ip->i_afp->if_bytes > 0) { in xfs_inode_item_attr_fork_size()113 *nbytes += roundup(ip->i_afp->if_bytes, 4); in xfs_inode_item_attr_fork_size()264 ip->i_afp->if_bytes > 0) { in xfs_inode_item_format_attr_fork()267 ASSERT(ip->i_afp->if_bytes / sizeof(xfs_bmbt_rec_t) == in xfs_inode_item_format_attr_fork()269 ASSERT(ip->i_afp->if_u1.if_extents != NULL); in xfs_inode_item_format_attr_fork()286 ip->i_afp->if_broot_bytes > 0) { in xfs_inode_item_format_attr_fork()287 ASSERT(ip->i_afp->if_broot != NULL); in xfs_inode_item_format_attr_fork()[all …]
85 ASSERT(dp->i_afp != NULL); in xfs_attr_shortform_list()86 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()106 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()148 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
462 if (dp->i_afp) in xfs_attr_inactive()
50 xfs_ifork_t *i_afp; /* attribute fork pointer */ member
79 ip->i_afp = NULL; in xfs_inode_alloc()110 if (ip->i_afp) in xfs_inode_free()
930 if (ip->i_afp) { in xfs_ioc_fsgetxattr()931 if (ip->i_afp->if_flags & XFS_IFEXTENTS) in xfs_ioc_fsgetxattr()932 fa.fsx_nextents = ip->i_afp->if_bytes / in xfs_ioc_fsgetxattr()
115 (ip->i_afp->if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_attr_map_shared()1905 ASSERT(!ip->i_afp); in xfs_inactive()
271 ip->i_afp : &ip->i_df;
68 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
198 ASSERT(ip->i_afp == NULL); in xfs_iformat_fork()199 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP | KM_NOFS); in xfs_iformat_fork()230 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_iformat_fork()231 ip->i_afp = NULL; in xfs_iformat_fork()720 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_idestroy_fork()721 ip->i_afp = NULL; in xfs_idestroy_fork()921 xfs_ifork_t *ifp = (state & BMAP_ATTRFORK) ? ip->i_afp : &ip->i_df; in xfs_iext_insert()1171 xfs_ifork_t *ifp = (state & BMAP_ATTRFORK) ? ip->i_afp : &ip->i_df; in xfs_iext_remove()
95 (ip)->i_afp)
429 ifp = dp->i_afp; in xfs_attr_shortform_create()466 ifp = dp->i_afp; in xfs_attr_shortform_add()514 ASSERT(ip->i_afp == NULL); in xfs_attr_fork_remove()536 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove()603 ifp = args->dp->i_afp; in xfs_attr_shortform_lookup()631 ASSERT(args->dp->i_afp->if_flags == XFS_IFINLINE); in xfs_attr_shortform_getvalue()632 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue()677 ifp = dp->i_afp; in xfs_attr_shortform_to_leaf()
482 ASSERT(dp->i_afp->if_flags & XFS_IFINLINE); in xfs_attr_remove()
1203 ASSERT(ip->i_afp == NULL); in xfs_bmap_add_attrfork()1204 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_SLEEP); in xfs_bmap_add_attrfork()1205 ip->i_afp->if_flags = XFS_IFEXTENTS; in xfs_bmap_add_attrfork()