Home
last modified time | relevance | path

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

/Linux-v5.4/fs/xfs/
Dxfs_inode_item.c83 ip->i_afp->if_bytes > 0) { in xfs_inode_item_attr_fork_size()
91 ip->i_afp->if_broot_bytes > 0) { in xfs_inode_item_attr_fork_size()
92 *nbytes += ip->i_afp->if_broot_bytes; in xfs_inode_item_attr_fork_size()
98 ip->i_afp->if_bytes > 0) { in xfs_inode_item_attr_fork_size()
99 *nbytes += roundup(ip->i_afp->if_bytes, 4); in xfs_inode_item_attr_fork_size()
236 ip->i_afp->if_bytes > 0) { in xfs_inode_item_format_attr_fork()
239 ASSERT(xfs_iext_count(ip->i_afp) == in xfs_inode_item_format_attr_fork()
257 ip->i_afp->if_broot_bytes > 0) { in xfs_inode_item_format_attr_fork()
258 ASSERT(ip->i_afp->if_broot != NULL); in xfs_inode_item_format_attr_fork()
261 ip->i_afp->if_broot, in xfs_inode_item_format_attr_fork()
[all …]
Dxfs_attr_list.c64 ASSERT(dp->i_afp != NULL); in xfs_attr_shortform_list()
65 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_list()
85 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()
122 ((char *)sfe >= ((char *)sf + dp->i_afp->if_bytes)))) { in xfs_attr_shortform_list()
Dxfs_attr_inactive.c437 if (dp->i_afp) in xfs_attr_inactive()
Dxfs_inode.h36 struct xfs_ifork *i_afp; /* attribute fork pointer */ member
Dxfs_icache.c63 ip->i_afp = NULL; in xfs_inode_alloc()
95 if (ip->i_afp) in xfs_inode_free_callback()
Dxfs_ioctl.c1122 if (ip->i_afp) { in xfs_fill_fsxattr()
1123 if (ip->i_afp->if_flags & XFS_IFEXTENTS) in xfs_fill_fsxattr()
1124 fa->fsx_nextents = xfs_iext_count(ip->i_afp); in xfs_fill_fsxattr()
Dxfs_inode.c123 (ip->i_afp->if_flags & XFS_IFEXTENTS) == 0) in xfs_ilock_attr_map_shared()
1881 ASSERT(!ip->i_afp); in xfs_inactive()
/Linux-v5.4/fs/xfs/libxfs/
Dxfs_inode_fork.c96 ASSERT(ip->i_afp == NULL); in xfs_iformat_fork()
97 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, KM_NOFS); in xfs_iformat_fork()
117 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_iformat_fork()
118 ip->i_afp = NULL; in xfs_iformat_fork()
528 kmem_zone_free(xfs_ifork_zone, ip->i_afp); in xfs_idestroy_fork()
529 ip->i_afp = NULL; in xfs_idestroy_fork()
671 return ip->i_afp; in xfs_iext_state_to_fork()
Dxfs_attr_sf.h40 ((dp)->i_afp->if_u1.if_data))->hdr.totsize))
Dxfs_inode_fork.h46 (ip)->i_afp : \
Dxfs_attr_leaf.c575 ifp = dp->i_afp; in xfs_attr_shortform_create()
612 ifp = dp->i_afp; in xfs_attr_shortform_add()
660 ASSERT(ip->i_afp == NULL); in xfs_attr_fork_remove()
682 sf = (xfs_attr_shortform_t *)dp->i_afp->if_u1.if_data; in xfs_attr_shortform_remove()
749 ifp = args->dp->i_afp; in xfs_attr_shortform_lookup()
781 ASSERT(args->dp->i_afp->if_flags == XFS_IFINLINE); in xfs_attr_shortform_getvalue()
782 sf = (xfs_attr_shortform_t *)args->dp->i_afp->if_u1.if_data; in xfs_attr_shortform_getvalue()
820 ifp = dp->i_afp; in xfs_attr_shortform_to_leaf()
Dxfs_attr.c326 ASSERT(dp->i_afp->if_flags & XFS_IFINLINE); in xfs_attr_remove_args()
Dxfs_bmap.c1103 ASSERT(ip->i_afp == NULL); in xfs_bmap_add_attrfork()
1104 ip->i_afp = kmem_zone_zalloc(xfs_ifork_zone, 0); in xfs_bmap_add_attrfork()
1105 ip->i_afp->if_flags = XFS_IFEXTENTS; in xfs_bmap_add_attrfork()