Home
last modified time | relevance | path

Searched refs:i_afp (Results 1 – 14 of 14) sorted by relevance

/fs/xfs/
Dxfs_inode_item.c97 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 …]
Dxfs_attr_list.c85 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()
Dxfs_attr_inactive.c462 if (dp->i_afp) in xfs_attr_inactive()
Dxfs_inode.h50 xfs_ifork_t *i_afp; /* attribute fork pointer */ member
Dxfs_icache.c79 ip->i_afp = NULL; in xfs_inode_alloc()
110 if (ip->i_afp) in xfs_inode_free()
Dxfs_ioctl.c930 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()
Dxfs_inode.c115 (ip->i_afp->if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_attr_map_shared()
1905 ASSERT(!ip->i_afp); in xfs_inactive()
Dxfs_trace.h271 ip->i_afp : &ip->i_df;
/fs/xfs/libxfs/
Dxfs_attr_sf.h68 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
Dxfs_inode_fork.c198 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()
Dxfs_inode_fork.h95 (ip)->i_afp)
Dxfs_attr_leaf.c429 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()
Dxfs_attr.c482 ASSERT(dp->i_afp->if_flags & XFS_IFINLINE); in xfs_attr_remove()
Dxfs_bmap.c1203 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()