Home
last modified time | relevance | path

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

/linux-6.3-rc2/fs/xfs/
A Dxfs_inode_item.c95 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 …]
A Dxfs_attr_list.c64 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()
A Dxfs_inode.h38 struct xfs_ifork i_af; /* attribute fork */ member
100 return &ip->i_af; in xfs_ifork_ptr()
A Dxfs_attr_inactive.c367 if (dp->i_af.if_nextents > 0) { in xfs_attr_inactive()
A Dxfs_bmap_util.c1512 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()
A Dxfs_iomap.c59 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()
A Dxfs_icache.c102 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()
A Dxfs_itable.c118 buf->bs_aextents = xfs_ifork_nextents(&ip->i_af); in xfs_bulkstat_one_int()
A Dxfs_inode.c129 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()
/linux-6.3-rc2/fs/xfs/libxfs/
A Dxfs_attr.h563 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()
A Dxfs_inode_fork.c285 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()
A Dxfs_attr.c72 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()
A Dxfs_inode_buf.c288 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()
A Dxfs_attr_leaf.c685 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