Searched refs:i_af (Results 1 – 14 of 14) sorted by relevance
95 switch (ip->i_af.if_format) { in xfs_inode_item_attr_fork_size()99 ip->i_af.if_bytes > 0) { in xfs_inode_item_attr_fork_size()114 ip->i_af.if_bytes > 0) { in xfs_inode_item_attr_fork_size()240 switch (ip->i_af.if_format) { in xfs_inode_item_format_attr_fork()247 ip->i_af.if_bytes > 0) { in xfs_inode_item_format_attr_fork()251 ip->i_af.if_nextents); in xfs_inode_item_format_attr_fork()272 ip->i_af.if_broot, in xfs_inode_item_format_attr_fork()273 ip->i_af.if_broot_bytes); in xfs_inode_item_format_attr_fork()285 ip->i_af.if_bytes > 0) { in xfs_inode_item_format_attr_fork()288 ip->i_af.if_u1.if_data, in xfs_inode_item_format_attr_fork()[all …]
64 sf = (struct xfs_attr_shortform *)dp->i_af.if_u1.if_data; in xfs_attr_shortform_list()82 (dp->i_af.if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list()123 ((char *)sfe >= ((char *)sf + dp->i_af.if_bytes)))) { in xfs_attr_shortform_list()515 if (dp->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_list_ilocked()
38 struct xfs_ifork i_af; /* attribute fork */ member100 return &ip->i_af; in xfs_ifork_ptr()
367 if (dp->i_af.if_nextents > 0) { in xfs_attr_inactive()
1512 if (xfs_inode_has_attr_fork(ip) && ip->i_af.if_nextents > 0 && in xfs_swap_extent_forks()1513 ip->i_af.if_format != XFS_DINODE_FMT_LOCAL) { in xfs_swap_extent_forks()1519 if (xfs_inode_has_attr_fork(tip) && tip->i_af.if_nextents > 0 && in xfs_swap_extent_forks()1520 tip->i_af.if_format != XFS_DINODE_FMT_LOCAL) { in xfs_swap_extent_forks()
59 return READ_ONCE(ip->i_af.if_seq); in xfs_iomap_inode_sequence()1382 if (!xfs_inode_has_attr_fork(ip) || !ip->i_af.if_nextents) { in xfs_xattr_iomap_begin()1387 ASSERT(ip->i_af.if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
102 memset(&ip->i_af, 0, sizeof(ip->i_af)); in xfs_inode_alloc()103 ip->i_af.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_inode_alloc()
118 buf->bs_aextents = xfs_ifork_nextents(&ip->i_af); in xfs_bulkstat_one_int()
129 if (xfs_inode_has_attr_fork(ip) && xfs_need_iread_extents(&ip->i_af)) in xfs_ilock_attr_map_shared()3147 if (XFS_TEST_ERROR(ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af) > in xfs_iflush()3153 ip->i_df.if_nextents + xfs_ifork_nextents(&ip->i_af), in xfs_iflush()3184 ip->i_af.if_format == XFS_DINODE_FMT_LOCAL && in xfs_iflush()
563 return ip->i_af.if_format == XFS_DINODE_FMT_LOCAL || in xfs_attr_is_shortform()564 (ip->i_af.if_format == XFS_DINODE_FMT_EXTENTS && in xfs_attr_is_shortform()565 ip->i_af.if_nextents == 0); in xfs_attr_is_shortform()
285 ip->i_af.if_format = format; in xfs_ifork_init_attr()286 ip->i_af.if_nextents = nextents; in xfs_ifork_init_attr()293 xfs_idestroy_fork(&ip->i_af); in xfs_ifork_zap_attr()294 memset(&ip->i_af, 0, sizeof(struct xfs_ifork)); in xfs_ifork_zap_attr()295 ip->i_af.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_ifork_zap_attr()312 switch (ip->i_af.if_format) { in xfs_iformat_attr_fork()663 return &ip->i_af; in xfs_iext_state_to_fork()714 struct xfs_ifork *ifp = &ip->i_af; in xfs_ifork_verify_local_attr()
72 if (ip->i_af.if_format == XFS_DINODE_FMT_EXTENTS && in xfs_inode_hasattr()73 ip->i_af.if_nextents == 0) in xfs_inode_hasattr()86 struct xfs_ifork *ifp = &ip->i_af; in xfs_attr_is_leaf()232 if (args->dp->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_get_ilocked()355 if (dp->i_af.if_format == XFS_DINODE_FMT_EXTENTS) in xfs_attr_try_sf_addname()865 if (dp->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xfs_attr_lookup()1102 sf = (struct xfs_attr_shortform *)dp->i_af.if_u1.if_data; in xfs_attr_sf_totsize()
288 to->di_big_anextents = cpu_to_be32(xfs_ifork_nextents(&ip->i_af)); in xfs_inode_to_disk_iext_counters()296 to->di_anextents = cpu_to_be16(xfs_ifork_nextents(&ip->i_af)); in xfs_inode_to_disk_iext_counters()328 to->di_aformat = xfs_ifork_format(&ip->i_af); in xfs_inode_to_disk()
685 struct xfs_ifork *ifp = &dp->i_af; in xfs_attr_shortform_create()722 sf = (struct xfs_attr_shortform *)args->dp->i_af.if_u1.if_data; in xfs_attr_sf_findname()767 ifp = &dp->i_af; in xfs_attr_shortform_add()800 ASSERT(ip->i_af.if_nextents == 0); in xfs_attr_fork_remove()826 sf = (struct xfs_attr_shortform *)dp->i_af.if_u1.if_data; in xfs_attr_sf_removename()890 ifp = &args->dp->i_af; in xfs_attr_shortform_lookup()918 ASSERT(args->dp->i_af.if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_getvalue()919 sf = (struct xfs_attr_shortform *)args->dp->i_af.if_u1.if_data; in xfs_attr_shortform_getvalue()949 ifp = &dp->i_af; in xfs_attr_shortform_to_leaf()1056 ASSERT(ip->i_af.if_format == XFS_DINODE_FMT_LOCAL); in xfs_attr_shortform_verify()
Completed in 53 milliseconds