| /linux/fs/xfs/scrub/ |
| H A D | symlink_repair.c | 215 if (sc->ip->i_df.if_format == XFS_DINODE_FMT_LOCAL) in xrep_symlink_salvage() 333 ip_local = sc->ip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_symlink_swap() 334 temp_local = sc->tempip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_symlink_swap() 432 xfs_idestroy_fork(&sc->tempip->i_df); in xrep_symlink_rebuild() 433 sc->tempip->i_df.if_bytes = 0; in xrep_symlink_rebuild() 434 sc->tempip->i_df.if_format = XFS_DINODE_FMT_EXTENTS; in xrep_symlink_rebuild()
|
| H A D | dir_repair.c | 1028 if (dp->i_df.if_format == XFS_DINODE_FMT_LOCAL) { in xrep_dir_find_entries() 1212 if (S_ISDIR(VFS_I(ip)->i_mode) && xfs_need_iread_extents(&ip->i_df)) { in xrep_dir_scan_ilock() 1701 ip_local = sc->ip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_dir_swap() 1702 temp_local = sc->tempip->i_df.if_format == XFS_DINODE_FMT_LOCAL; in xrep_dir_swap()
|
| H A D | parent.c | 95 if (!xfs_need_iread_extents(&dp->i_df)) in xchk_parent_ilock_dir() 363 if (!xfs_need_iread_extents(&dp->i_df)) in xchk_parent_lock_dir()
|
| H A D | rtbitmap.c | 160 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtbitmap_check_extents()
|
| H A D | rtsummary.c | 246 if (xfs_iext_lookup_extent(ip, &ip->i_df, endoff, &icur, &map)) { in xchk_rtsum_compare()
|
| H A D | inode_repair.c | 321 if (xfs_need_iread_extents(&dp->i_df)) in xrep_dinode_trylock_directory() 1696 sc->ip->i_df.if_nextents = nextents; in xrep_inode_blockcounts() 1899 switch (sc->ip->i_df.if_format) { in xrep_inode_dir_size()
|
| H A D | attr_repair.c | 813 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 D | nlinks.c | 395 if (xfs_need_iread_extents(&ip->i_df)) in xchk_nlinks_ilock_dir()
|
| H A D | bmap.c | 794 struct xfs_ifork *ifp = &ip->i_df; in xchk_bmap_check_empty_datafork()
|
| H A D | trace.h | 2564 __entry->nextents = sc->ip->i_df.if_nextents; 2565 __entry->format = sc->ip->i_df.if_format;
|
| /linux/fs/xfs/ |
| H A D | xfs_bmap_util.c | 534 if (xfs_need_iread_extents(&ip->i_df)) in xfs_can_free_eofblocks() 564 xfs_iext_lookup_extent(ip, &ip->i_df, end_fsb, &icur, &imap)) in xfs_can_free_eofblocks() 1177 struct xfs_ifork *ifp = &ip->i_df; in xfs_swap_extents_check_format() 1178 struct xfs_ifork *tifp = &tip->i_df; in xfs_swap_extents_check_format() 1245 xfs_bmap_bmdr_space(ip->i_df.if_broot) > xfs_inode_fork_boff(tip)) in xfs_swap_extents_check_format() 1438 if (ip->i_df.if_format == XFS_DINODE_FMT_BTREE) in xfs_swap_extent_forks() 1440 if (tip->i_df.if_format == XFS_DINODE_FMT_BTREE) in xfs_swap_extent_forks() 1447 swap(ip->i_df, tip->i_df); in xfs_swap_extent_forks() 1469 switch (ip->i_df.if_format) { in xfs_swap_extent_forks() 1480 switch (tip->i_df.if_format) { in xfs_swap_extent_forks() [all …]
|
| H A D | xfs_inode.c | 71 if (xfs_need_iread_extents(&ip->i_df)) in xfs_ilock_data_map_shared() 1178 ASSERT(ip->i_df.if_nextents == 0); in xfs_inactive_truncate() 1392 ASSERT(ip->i_df.if_broot_bytes == 0); in xfs_inactive() 1465 if (S_ISDIR(VFS_I(ip)->i_mode) && ip->i_df.if_nextents > 0) { in xfs_inactive() 1808 ASSERT(ip->i_df.if_nextents == 0); in xfs_ifree() 2385 ASSERT(ip->i_df.if_format != XFS_DINODE_FMT_BTREE || in xfs_iflush() 2386 ip->i_df.if_nextents > XFS_IFORK_MAXEXT(ip, XFS_DATA_FORK)); in xfs_iflush() 2405 if (ip->i_df.if_format == XFS_DINODE_FMT_META_BTREE) { in xfs_iflush() 2415 if ((ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_iflush() 2416 ip->i_df.if_format != XFS_DINODE_FMT_BTREE) || in xfs_iflush() [all …]
|
| H A D | xfs_aops.c | 144 if (XFS_WPC(wpc)->data_seq != READ_ONCE(ip->i_df.if_seq)) { in xfs_imap_valid() 210 ASSERT(!xfs_need_iread_extents(&ip->i_df)); in xfs_map_blocks() 241 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) in xfs_map_blocks() 243 XFS_WPC(wpc)->data_seq = READ_ONCE(ip->i_df.if_seq); in xfs_map_blocks()
|
| H A D | xfs_inode.h | 37 struct xfs_ifork i_df; /* data fork */ member 120 return &ip->i_df; in xfs_ifork_ptr() 325 return ip->i_df.if_nextents > 0 || ip->i_delayed_blks > 0; in xfs_inode_has_filedata()
|
| H A D | xfs_iomap.c | 68 return cookie | READ_ONCE(ip->i_df.if_seq); in xfs_iomap_inode_sequence() 785 if (xfs_need_iread_extents(&ip->i_df)) in xfs_ilock_for_iomap() 790 if (xfs_need_iread_extents(&ip->i_df)) in xfs_ilock_for_iomap() 1078 if (xfs_need_iread_extents(&ip->i_df)) { in xfs_zoned_direct_write_iomap_begin() 1632 if (XFS_IS_CORRUPT(mp, !xfs_ifork_has_extents(&ip->i_df)) || in xfs_zoned_buffered_write_iomap_begin() 1661 if (!xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &scur, in xfs_zoned_buffered_write_iomap_begin() 1829 if (XFS_IS_CORRUPT(mp, !xfs_ifork_has_extents(&ip->i_df)) || in xfs_buffered_write_iomap_begin() 1855 eof = !xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap); in xfs_buffered_write_iomap_begin() 2259 if (xfs_iext_lookup_extent(ip, &ip->i_df, offset_fsb, &icur, &imap)) { in xfs_seek_iomap_begin()
|
| H A D | xfs_reflink.c | 443 unsigned int seq_before = READ_ONCE(ip->i_df.if_seq); in xfs_reflink_fill_cow_hole() 477 if (seq_before != READ_ONCE(ip->i_df.if_seq)) { in xfs_reflink_fill_cow_hole() 531 unsigned int seq_before = READ_ONCE(ip->i_df.if_seq); in xfs_reflink_fill_delalloc() 552 if (seq_before != READ_ONCE(ip->i_df.if_seq)) { in xfs_reflink_fill_delalloc()
|
| H A D | xfs_icache.c | 115 memset(&ip->i_df, 0, sizeof(ip->i_df)); in xfs_inode_alloc() 143 xfs_idestroy_fork(&ip->i_df); in xfs_inode_free_callback()
|
| H A D | xfs_iops.c | 936 if (newsize == 0 && oldsize == 0 && ip->i_df.if_nextents == 0) { in xfs_vn_setattr_size()
|
| H A D | xfs_dquot.c | 783 if (xfs_iext_lookup_extent(quotip, "ip->i_df, start, &cur, &got)) { in xfs_dq_get_next_id()
|
| H A D | xfs_file.c | 1804 if (ip->i_df.if_nextents > 0) in xfs_dir_open()
|
| H A D | xfs_trace.h | 2590 __entry->format = ip->i_df.if_format; 2591 __entry->nex = ip->i_df.if_nextents; 2592 __entry->broot_size = ip->i_df.if_broot_bytes; 5297 __entry->format = ip->i_df.if_format; 5298 __entry->nex = ip->i_df.if_nextents;
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_dquot_buf.c | 400 if (XFS_IS_CORRUPT(mp, ip->i_df.if_format != XFS_DINODE_FMT_EXTENTS && in xfs_dqinode_load() 401 ip->i_df.if_format != XFS_DINODE_FMT_BTREE)) { in xfs_dqinode_load()
|
| H A D | xfs_rtrmap_btree.c | 520 cur->bc_nlevels = be16_to_cpu(ip->i_df.if_broot->bb_level) + 1; in xfs_rtrmapbt_init_cursor() 1025 struct xfs_btree_block *block = rtg_rmap(rtg)->i_df.if_broot; in xfs_rtrmap_highest_rgbno()
|
| H A D | xfs_rtrefcount_btree.c | 418 cur->bc_nlevels = be16_to_cpu(ip->i_df.if_broot->bb_level) + 1; in xfs_rtrefcountbt_init_cursor()
|