Home
last modified time | relevance | path

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

/linux/fs/xfs/scrub/
H A Dattr_repair.c807 struct xfs_ifork *ifp = &sc->tempip->i_af; in xrep_xattr_full_reset()
833 if (xfs_ifork_has_extents(&sc->tempip->i_af)) { in xrep_xattr_full_reset()
1015 if (xfs_ifork_has_extents(&sc->ip->i_af)) { in xrep_xattr_reset_fork()
1045 if (xfs_ifork_has_extents(&sc->tempip->i_af)) { in xrep_xattr_reset_tempfile_fork()
1068 if (rx->sc->ip->i_af.if_format == XFS_DINODE_FMT_LOCAL) { in xrep_xattr_salvage_attributes()
1347 ip_local = sc->ip->i_af.if_format == XFS_DINODE_FMT_LOCAL; in xrep_xattr_swap()
1348 temp_local = sc->tempip->i_af.if_format == XFS_DINODE_FMT_LOCAL; in xrep_xattr_swap()
H A Dparent.c951 return ip->i_af.if_format == XFS_DINODE_FMT_EXTENTS && in xchk_pptr_looks_zapped()
952 ip->i_af.if_nextents == 0; in xchk_pptr_looks_zapped()
H A Dattr.c576 struct xfs_ifork *ifp = &sc->ip->i_af; in xchk_xattr_check_sf()
660 if (sc->ip->i_af.if_format == XFS_DINODE_FMT_LOCAL) in xchk_xattr()
H A Dnlinks.c397 xfs_need_iread_extents(&ip->i_af)) in xchk_nlinks_ilock_dir()
H A Ddir.c130 if (!xfs_inode_has_attr_fork(ip) || !xfs_need_iread_extents(&ip->i_af)) in xchk_dir_lock_child()
H A Drmap_repair.c625 if (xfs_inode_has_attr_fork(ip) && xfs_need_iread_extents(&ip->i_af)) in xrep_rmap_scan_ilock()
H A Ddir_repair.c1211 if (xfs_inode_has_attr_fork(ip) && xfs_need_iread_extents(&ip->i_af)) in xrep_dir_scan_ilock()
H A Dtrace.h2541 __entry->anextents = sc->ip->i_af.if_nextents;
2542 __entry->aformat = sc->ip->i_af.if_format;
/linux/fs/xfs/
H A Dxfs_inode.h39 struct xfs_ifork i_af; /* attribute fork */ member
125 return &ip->i_af; in xfs_ifork_ptr()
H A Dxfs_icache.c118 memset(&ip->i_af, 0, sizeof(ip->i_af)); in xfs_inode_alloc()
119 ip->i_af.if_format = XFS_DINODE_FMT_EXTENTS; in xfs_inode_alloc()
H A Dxfs_itable.c162 buf->bs_aextents = xfs_ifork_nextents(&ip->i_af); in xfs_bulkstat_one_int()
H A Dxfs_iomap.c65 return READ_ONCE(ip->i_af.if_seq); in xfs_iomap_inode_sequence()
2252 if (!xfs_inode_has_attr_fork(ip) || !ip->i_af.if_nextents) { in xfs_xattr_iomap_begin()
2257 ASSERT(ip->i_af.if_format != XFS_DINODE_FMT_LOCAL); in xfs_xattr_iomap_begin()
/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c308 to->di_big_anextents = cpu_to_be32(xfs_ifork_nextents(&ip->i_af)); in xfs_inode_to_disk_iext_counters()
316 to->di_anextents = cpu_to_be16(xfs_ifork_nextents(&ip->i_af)); in xfs_inode_to_disk_iext_counters()
351 to->di_aformat = xfs_ifork_format(&ip->i_af); in xfs_inode_to_disk()