Lines Matching refs:whichfork
54 int whichfork) /* data or attr fork */ in xfs_bmap_compute_maxlevels() argument
78 if (whichfork == XFS_DATA_FORK) { in xfs_bmap_compute_maxlevels()
95 mp->m_bm_maxlevels[whichfork] = level; in xfs_bmap_compute_maxlevels()
131 static inline bool xfs_bmap_needs_btree(struct xfs_inode *ip, int whichfork) in xfs_bmap_needs_btree() argument
133 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_needs_btree()
135 return whichfork != XFS_COW_FORK && in xfs_bmap_needs_btree()
137 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_needs_btree()
143 static inline bool xfs_bmap_wants_extents(struct xfs_inode *ip, int whichfork) in xfs_bmap_wants_extents() argument
145 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_wants_extents()
147 return whichfork != XFS_COW_FORK && in xfs_bmap_wants_extents()
149 ifp->if_nextents <= XFS_IFORK_MAXEXT(ip, whichfork); in xfs_bmap_wants_extents()
218 int whichfork) in xfs_bmap_forkoff_reset() argument
220 if (whichfork == XFS_ATTR_FORK && in xfs_bmap_forkoff_reset()
321 int whichfork) /* data or attr fork */ in xfs_bmap_check_leaf_extents() argument
324 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_check_leaf_extents()
520 #define xfs_bmap_check_leaf_extents(cur, ip, whichfork) do { } while (0) argument
591 int whichfork) /* data or attr fork */ in xfs_bmap_btree_to_extents() argument
593 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_btree_to_extents()
604 if (!xfs_bmap_wants_extents(ip, whichfork)) in xfs_bmap_btree_to_extents()
608 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_btree_to_extents()
627 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xfs_bmap_btree_to_extents()
634 xfs_iroot_realloc(ip, -1, whichfork); in xfs_bmap_btree_to_extents()
637 *logflagsp |= XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_btree_to_extents()
652 int whichfork) /* data or attr fork */ in xfs_bmap_extents_to_btree() argument
670 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_extents_to_btree()
671 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_extents_to_btree()
678 xfs_iroot_realloc(ip, 1, whichfork); in xfs_bmap_extents_to_btree()
690 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_extents_to_btree()
699 xfs_rmap_ino_bmbt_owner(&args.oinfo, ip->i_ino, whichfork); in xfs_bmap_extents_to_btree()
774 *logflagsp = XFS_ILOG_CORE | xfs_ilog_fbroot(whichfork); in xfs_bmap_extents_to_btree()
780 xfs_iroot_realloc(ip, -1, whichfork); in xfs_bmap_extents_to_btree()
798 int whichfork) in xfs_bmap_local_to_extents_empty() argument
800 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_local_to_extents_empty()
802 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_local_to_extents_empty()
807 xfs_bmap_forkoff_reset(ip, whichfork); in xfs_bmap_local_to_extents_empty()
821 int whichfork, in xfs_bmap_local_to_extents() argument
839 ASSERT(!(S_ISREG(VFS_I(ip)->i_mode) && whichfork == XFS_DATA_FORK)); in xfs_bmap_local_to_extents()
840 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_local_to_extents()
844 xfs_bmap_local_to_extents_empty(tp, ip, whichfork); in xfs_bmap_local_to_extents()
854 xfs_rmap_ino_owner(&args.oinfo, ip->i_ino, whichfork, 0); in xfs_bmap_local_to_extents()
893 xfs_idata_realloc(ip, -ifp->if_bytes, whichfork); in xfs_bmap_local_to_extents()
894 xfs_bmap_local_to_extents_empty(tp, ip, whichfork); in xfs_bmap_local_to_extents()
911 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_local_to_extents()
1014 dargs.whichfork = XFS_DATA_FORK; in xfs_bmap_add_attrfork_local()
1170 int whichfork = cur->bc_ino.whichfork; in xfs_iread_bmbt_block() local
1171 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iread_bmbt_block()
1192 fa = xfs_bmap_validate_extent(ip, whichfork, &new); in xfs_iread_bmbt_block()
1200 xfs_bmap_fork_to_state(whichfork)); in xfs_iread_bmbt_block()
1202 xfs_bmap_fork_to_state(whichfork), _THIS_IP_); in xfs_iread_bmbt_block()
1216 int whichfork) in xfs_iread_extents() argument
1219 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iread_extents()
1231 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_iread_extents()
1261 int whichfork) /* data or attr fork */ in xfs_bmap_first_unused() argument
1263 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_first_unused()
1277 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_first_unused()
1308 int whichfork) /* data or attr fork */ in xfs_bmap_last_before() argument
1310 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_last_before()
1327 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_last_before()
1340 int whichfork, in xfs_bmap_last_extent() argument
1344 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_last_extent()
1348 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_last_extent()
1372 int whichfork) in xfs_bmap_isaeof() argument
1379 error = xfs_bmap_last_extent(NULL, bma->ip, whichfork, &rec, in xfs_bmap_isaeof()
1408 int whichfork) in xfs_bmap_last_offset() argument
1410 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_last_offset()
1423 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1441 int whichfork) in xfs_bmap_add_extent_delay_real() argument
1444 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmap_add_extent_delay_real()
1452 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_delay_real()
1459 ASSERT(whichfork != XFS_ATTR_FORK); in xfs_bmap_add_extent_delay_real()
1742 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1744 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1829 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1831 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1915 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1917 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1942 xfs_rmap_map_extent(bma->tp, bma->ip, whichfork, new); in xfs_bmap_add_extent_delay_real()
1945 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1951 whichfork); in xfs_bmap_add_extent_delay_real()
1972 xfs_bmap_check_leaf_extents(bma->cur, bma->ip, whichfork); in xfs_bmap_add_extent_delay_real()
1974 if (whichfork != XFS_COW_FORK) in xfs_bmap_add_extent_delay_real()
1989 int whichfork, in xfs_bmap_add_extent_unwritten_real() argument
2003 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_unwritten_real()
2010 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_add_extent_unwritten_real()
2488 xfs_rmap_convert_extent(mp, tp, ip, whichfork, new); in xfs_bmap_add_extent_unwritten_real()
2491 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_add_extent_unwritten_real()
2496 &tmp_logflags, whichfork); in xfs_bmap_add_extent_unwritten_real()
2508 xfs_bmap_check_leaf_extents(*curp, ip, whichfork); in xfs_bmap_add_extent_unwritten_real()
2523 int whichfork, in xfs_bmap_add_extent_hole_delay() argument
2532 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_hole_delay()
2535 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_add_extent_hole_delay()
2664 int whichfork, in xfs_bmap_add_extent_hole_real() argument
2671 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_add_extent_hole_real()
2679 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_hole_real()
2746 rval = XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2789 rval = xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2819 rval = xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2845 rval = XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2868 xfs_rmap_map_extent(tp, ip, whichfork, new); in xfs_bmap_add_extent_hole_real()
2871 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_add_extent_hole_real()
2876 &tmp_logflags, whichfork); in xfs_bmap_add_extent_hole_real()
2887 xfs_bmap_check_leaf_extents(cur, ip, whichfork); in xfs_bmap_add_extent_hole_real()
3920 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_read() local
3921 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_read()
3946 error = xfs_iread_extents(NULL, ip, whichfork); in xfs_bmapi_read()
4005 int whichfork, in xfs_bmapi_reserve_delalloc() argument
4014 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_reserve_delalloc()
4031 if (whichfork == XFS_COW_FORK) { in xfs_bmapi_reserve_delalloc()
4076 xfs_bmap_add_extent_hole_delay(ip, whichfork, icur, got); in xfs_bmapi_reserve_delalloc()
4083 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
4085 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
4103 int whichfork = xfs_bmapi_whichfork(bma->flags); in xfs_bmap_alloc_userdata() local
4113 if (whichfork == XFS_DATA_FORK) { in xfs_bmap_alloc_userdata()
4119 error = xfs_bmap_isaeof(bma, whichfork); in xfs_bmap_alloc_userdata()
4140 int whichfork = xfs_bmapi_whichfork(bma->flags); in xfs_bmapi_allocate() local
4141 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmapi_allocate()
4187 bma->cur = xfs_bmbt_init_cursor(mp, bma->tp, bma->ip, whichfork); in xfs_bmapi_allocate()
4207 error = xfs_bmap_add_extent_delay_real(bma, whichfork); in xfs_bmapi_allocate()
4210 whichfork, &bma->icur, &bma->cur, &bma->got, in xfs_bmapi_allocate()
4239 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_convert_unwritten() local
4240 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmapi_convert_unwritten()
4261 bma->ip, whichfork); in xfs_bmapi_convert_unwritten()
4277 error = xfs_bmap_add_extent_unwritten_real(bma->tp, bma->ip, whichfork, in xfs_bmapi_convert_unwritten()
4290 if (whichfork != XFS_COW_FORK) in xfs_bmapi_convert_unwritten()
4335 int whichfork, in xfs_bmapi_finish() argument
4338 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmapi_finish()
4340 if ((bma->logflags & xfs_ilog_fext(whichfork)) && in xfs_bmapi_finish()
4342 bma->logflags &= ~xfs_ilog_fext(whichfork); in xfs_bmapi_finish()
4343 else if ((bma->logflags & xfs_ilog_fbroot(whichfork)) && in xfs_bmapi_finish()
4345 bma->logflags &= ~xfs_ilog_fbroot(whichfork); in xfs_bmapi_finish()
4376 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_write() local
4377 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_write()
4428 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmapi_write()
4436 bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork); in xfs_bmapi_write()
4494 if (whichfork == XFS_COW_FORK) in xfs_bmapi_write()
4529 whichfork); in xfs_bmapi_write()
4534 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork)); in xfs_bmapi_write()
4535 xfs_bmapi_finish(&bma, whichfork, 0); in xfs_bmapi_write()
4540 xfs_bmapi_finish(&bma, whichfork, error); in xfs_bmapi_write()
4553 int whichfork, in xfs_bmapi_convert_delalloc() argument
4558 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_convert_delalloc()
4566 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4580 error = xfs_iext_count_may_overflow(ip, whichfork, in xfs_bmapi_convert_delalloc()
4594 WARN_ON_ONCE(whichfork != XFS_COW_FORK); in xfs_bmapi_convert_delalloc()
4614 bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork); in xfs_bmapi_convert_delalloc()
4630 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4654 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4658 whichfork); in xfs_bmapi_convert_delalloc()
4662 xfs_bmapi_finish(&bma, whichfork, 0); in xfs_bmapi_convert_delalloc()
4668 xfs_bmapi_finish(&bma, whichfork, error); in xfs_bmapi_convert_delalloc()
4689 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_remap() local
4692 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_remap()
4709 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmapi_remap()
4723 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmapi_remap()
4735 error = xfs_bmap_add_extent_hole_real(tp, ip, whichfork, &icur, in xfs_bmapi_remap()
4740 error = xfs_bmap_btree_to_extents(tp, ip, cur, &logflags, whichfork); in xfs_bmapi_remap()
4843 int whichfork, in xfs_bmap_del_extent_delay() argument
4849 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_del_extent_delay()
4854 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_del_extent_delay()
4860 isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip); in xfs_bmap_del_extent_delay()
5051 int whichfork, /* data or attr fork */ in xfs_bmap_del_extent_real() argument
5068 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_del_extent_real()
5074 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_del_extent_real()
5095 ifp->if_nextents >= XFS_IFORK_MAXEXT(ip, whichfork) && in xfs_bmap_del_extent_real()
5100 if (whichfork == XFS_DATA_FORK && XFS_IS_REALTIME_INODE(ip)) { in xfs_bmap_del_extent_real()
5156 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5175 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5189 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5213 error = xfs_iext_count_may_overflow(ip, whichfork, 1); in xfs_bmap_del_extent_real()
5216 whichfork == XFS_DATA_FORK); in xfs_bmap_del_extent_real()
5281 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5290 xfs_rmap_unmap_extent(tp, ip, whichfork, del); in xfs_bmap_del_extent_real()
5296 if (xfs_is_reflink_inode(ip) && whichfork == XFS_DATA_FORK) { in xfs_bmap_del_extent_real()
5349 int whichfork; /* data or attribute fork */ in __xfs_bunmapi() local
5359 whichfork = xfs_bmapi_whichfork(flags); in __xfs_bunmapi()
5360 ASSERT(whichfork != XFS_COW_FORK); in __xfs_bunmapi()
5361 ifp = XFS_IFORK_PTR(ip, whichfork); in __xfs_bunmapi()
5376 if (tp && xfs_is_reflink_inode(ip) && whichfork == XFS_DATA_FORK) in __xfs_bunmapi()
5381 error = xfs_iread_extents(tp, ip, whichfork); in __xfs_bunmapi()
5390 isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip); in __xfs_bunmapi()
5402 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in __xfs_bunmapi()
5506 whichfork, &icur, &cur, &del, in __xfs_bunmapi()
5565 ip, whichfork, &icur, &cur, in __xfs_bunmapi()
5574 ip, whichfork, &icur, &cur, in __xfs_bunmapi()
5584 error = xfs_bmap_del_extent_delay(ip, whichfork, &icur, in __xfs_bunmapi()
5588 &del, &tmp_logflags, whichfork, in __xfs_bunmapi()
5620 if (xfs_bmap_needs_btree(ip, whichfork)) { in __xfs_bunmapi()
5623 &tmp_logflags, whichfork); in __xfs_bunmapi()
5627 whichfork); in __xfs_bunmapi()
5635 if ((logflags & xfs_ilog_fext(whichfork)) && in __xfs_bunmapi()
5637 logflags &= ~xfs_ilog_fext(whichfork); in __xfs_bunmapi()
5638 else if ((logflags & xfs_ilog_fbroot(whichfork)) && in __xfs_bunmapi()
5640 logflags &= ~xfs_ilog_fbroot(whichfork); in __xfs_bunmapi()
5713 int whichfork, in xfs_bmse_merge() argument
5721 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmse_merge()
5772 error = xfs_bmap_btree_to_extents(tp, ip, cur, logflags, whichfork); in xfs_bmse_merge()
5779 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur, in xfs_bmse_merge()
5783 xfs_rmap_unmap_extent(tp, ip, whichfork, got); in xfs_bmse_merge()
5786 xfs_rmap_map_extent(tp, ip, whichfork, &new); in xfs_bmse_merge()
5794 int whichfork, in xfs_bmap_shift_update_extent() argument
5823 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur, in xfs_bmap_shift_update_extent()
5827 xfs_rmap_unmap_extent(tp, ip, whichfork, &prev); in xfs_bmap_shift_update_extent()
5828 xfs_rmap_map_extent(tp, ip, whichfork, got); in xfs_bmap_shift_update_extent()
5840 int whichfork = XFS_DATA_FORK; in xfs_bmap_collapse_extents() local
5842 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_collapse_extents()
5860 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_collapse_extents()
5865 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_collapse_extents()
5886 error = xfs_bmse_merge(tp, ip, whichfork, in xfs_bmap_collapse_extents()
5900 error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got, in xfs_bmap_collapse_extents()
5955 int whichfork = XFS_DATA_FORK; in xfs_bmap_insert_extents() local
5957 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_insert_extents()
5975 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_insert_extents()
5980 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_insert_extents()
6024 error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got, in xfs_bmap_insert_extents()
6056 int whichfork = XFS_DATA_FORK; in xfs_bmap_split_extent() local
6057 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_split_extent()
6077 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_split_extent()
6095 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_split_extent()
6107 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), &icur, in xfs_bmap_split_extent()
6143 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_split_extent()
6148 &tmp_logflags, whichfork); in xfs_bmap_split_extent()
6178 int whichfork, in __xfs_bmap_add() argument
6187 ip->i_ino, whichfork, in __xfs_bmap_add()
6196 bi->bi_whichfork = whichfork; in __xfs_bmap_add()
6238 int whichfork, in xfs_bmap_finish_one() argument
6251 ip->i_ino, whichfork, startoff, *blockcount, state); in xfs_bmap_finish_one()
6253 if (WARN_ON_ONCE(whichfork != XFS_DATA_FORK)) in xfs_bmap_finish_one()
6282 int whichfork, in xfs_bmap_validate_extent() argument
6290 if (XFS_IS_REALTIME_INODE(ip) && whichfork == XFS_DATA_FORK) { in xfs_bmap_validate_extent()
6299 if (irec->br_state != XFS_EXT_NORM && whichfork != XFS_DATA_FORK) in xfs_bmap_validate_extent()