Home
last modified time | relevance | path

Searched refs:i_df (Results 1 – 20 of 20) sorted by relevance

/linux/fs/xfs/
H A Dxfs_inode.h38 struct xfs_ifork i_df; /* data fork */ member
121 return &ip->i_df; in xfs_ifork_ptr()
321 return ip->i_df.if_nextents > 0 || ip->i_delayed_blks > 0; in xfs_inode_has_filedata()
H A Dxfs_iomap.c68 return cookie | READ_ONCE(ip->i_df.if_seq); in xfs_iomap_inode_sequence()
782 if (xfs_need_iread_extents(&ip->i_df)) in xfs_ilock_for_iomap()
787 if (xfs_need_iread_extents(&ip->i_df)) in xfs_ilock_for_iomap()
1072 if (xfs_need_iread_extents(&ip->i_df)) { in xfs_zoned_direct_write_iomap_begin()
1621 if (XFS_IS_CORRUPT(mp, !xfs_ifork_has_extents(&ip->i_df)) || in xfs_zoned_buffered_write_iomap_begin()
1650 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &scur, in xfs_zoned_buffered_write_iomap_begin()
1797 if (XFS_IS_CORRUPT(mp, !xfs_ifork_has_extents(&ip->i_df)) || in xfs_buffered_write_iomap_begin()
1816 eof = !xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap); in xfs_buffered_write_iomap_begin()
2168 if (xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) { in xfs_seek_iomap_begin()
H A Dxfs_itable.c155 nextents = xfs_ifork_nextents(&ip->i_df); in xfs_bulkstat_one_int()
173 switch (ip->i_df.if_format) { in xfs_bulkstat_one_int()
H A Dxfs_icache.c120 memset(&ip->i_df, 0, sizeof(ip->i_df)); in xfs_inode_alloc()
148 xfs_idestroy_fork(&ip->i_df); in xfs_inode_free_callback()
H A Dxfs_dquot.c783 if (xfs_iext_lookup_extent(quotip, &quotip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id()
H A Dxfs_file.c1671 if (ip->i_df.if_nextents > 0) in xfs_dir_open()
/linux/fs/xfs/libxfs/
H A Dxfs_inode_buf.c278 xfs_idestroy_fork(&ip->i_df); in xfs_inode_from_disk()
307 to->di_big_nextents = cpu_to_be64(xfs_ifork_nextents(&ip->i_df)); in xfs_inode_to_disk_iext_counters()
315 to->di_nextents = cpu_to_be32(xfs_ifork_nextents(&ip->i_df)); in xfs_inode_to_disk_iext_counters()
334 to->di_format = xfs_ifork_format(&ip->i_df); in xfs_inode_to_disk()
H A Dxfs_dir2.c211 sfp = dp->i_df.if_data; in xfs_dir_isempty()
277 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xfs_dir2_format()
H A Dxfs_rtgroup.c493 if (XFS_IS_CORRUPT(mp, !((1U << ip->i_df.if_format) & ops->fmt_mask))) { in xfs_rtginode_load()
/linux/fs/xfs/scrub/
H A Ddir_repair.c1022 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xrep_dir_find_entries()
1206 if (S_ISDIR(VFS_I(ip)->i_mode) && xfs_need_iread_extents(&ip->i_df)) { in xrep_dir_scan_ilock()
1680 ip_local = sc->ip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_dir_swap()
1681 temp_local = sc->tempip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_dir_swap()
H A Dparent.c95 if (!xfs_need_iread_extents(&dp->i_df)) in xchk_parent_ilock_dir()
364 if (!xfs_need_iread_extents(&dp->i_df)) in xchk_parent_lock_dir()
H A Drtbitmap.c160 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtbitmap_check_extents()
H A Drtsummary.c246 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtsum_compare()
H A Dinode_repair.c321 if (xfs_need_iread_extents(&dp->i_df)) in xrep_dinode_trylock_directory()
1692 sc->ip->i_df.if_nextents = nextents; in xrep_inode_blockcounts()
1895 switch (sc->ip->i_df.if_format) { in xrep_inode_dir_size()
H A Ddir.c1176 return dp->i_df.if_format == XFS_DINODE_FMT_EXTENTS && in xchk_dir_looks_zapped()
1177 dp->i_df.if_nextents == 0; in xchk_dir_looks_zapped()
H A Dattr_repair.c813 if (sc->tempip->i_df.if_format == XFS_DINODE_FMT_BTREE) { in xrep_xattr_full_reset()
966 if (ip->i_df.if_format == XFS_DINODE_FMT_BTREE) { in xrep_xattr_fork_remove()
H A Dnlinks.c389 if (xfs_need_iread_extents(&ip->i_df)) in xchk_nlinks_ilock_dir()
H A Dparent_repair.c492 if (S_ISDIR(VFS_I(ip)->i_mode) && xfs_need_iread_extents(&ip->i_df)) { in xrep_parent_scan_ilock()
H A Drmap_repair.c620 if (xfs_need_iread_extents(&ip->i_df)) { in xrep_rmap_scan_ilock()
H A Dtrace.h2539 __entry->nextents = sc->ip->i_df.if_nextents;
2540 __entry->format = sc->ip->i_df.if_format;