Lines Matching refs:whichfork

53 	int		whichfork)	/* data or attr fork */  in xfs_bmap_compute_maxlevels()  argument
77 if (whichfork == XFS_DATA_FORK) { in xfs_bmap_compute_maxlevels()
94 mp->m_bm_maxlevels[whichfork] = level; in xfs_bmap_compute_maxlevels()
95 ASSERT(mp->m_bm_maxlevels[whichfork] <= xfs_bmbt_maxlevels_ondisk()); 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
541 int whichfork) /* data or attr fork */ in xfs_bmap_btree_to_extents() argument
543 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_btree_to_extents()
554 if (!xfs_bmap_wants_extents(ip, whichfork)) in xfs_bmap_btree_to_extents()
558 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_btree_to_extents()
577 xfs_rmap_ino_bmbt_owner(&oinfo, ip->i_ino, whichfork); in xfs_bmap_btree_to_extents()
584 xfs_iroot_realloc(ip, -1, whichfork); in xfs_bmap_btree_to_extents()
587 *logflagsp |= XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_btree_to_extents()
602 int whichfork) /* data or attr fork */ in xfs_bmap_extents_to_btree() argument
620 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_extents_to_btree()
621 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_extents_to_btree()
628 xfs_iroot_realloc(ip, 1, whichfork); in xfs_bmap_extents_to_btree()
640 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_extents_to_btree()
649 xfs_rmap_ino_bmbt_owner(&args.oinfo, ip->i_ino, whichfork); in xfs_bmap_extents_to_btree()
724 *logflagsp = XFS_ILOG_CORE | xfs_ilog_fbroot(whichfork); in xfs_bmap_extents_to_btree()
730 xfs_iroot_realloc(ip, -1, whichfork); in xfs_bmap_extents_to_btree()
748 int whichfork) in xfs_bmap_local_to_extents_empty() argument
750 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_local_to_extents_empty()
752 ASSERT(whichfork != XFS_COW_FORK); in xfs_bmap_local_to_extents_empty()
757 xfs_bmap_forkoff_reset(ip, whichfork); in xfs_bmap_local_to_extents_empty()
771 int whichfork, in xfs_bmap_local_to_extents() argument
789 ASSERT(!(S_ISREG(VFS_I(ip)->i_mode) && whichfork == XFS_DATA_FORK)); in xfs_bmap_local_to_extents()
790 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_local_to_extents()
794 xfs_bmap_local_to_extents_empty(tp, ip, whichfork); in xfs_bmap_local_to_extents()
804 xfs_rmap_ino_owner(&args.oinfo, ip->i_ino, whichfork, 0); in xfs_bmap_local_to_extents()
843 xfs_idata_realloc(ip, -ifp->if_bytes, whichfork); in xfs_bmap_local_to_extents()
844 xfs_bmap_local_to_extents_empty(tp, ip, whichfork); in xfs_bmap_local_to_extents()
861 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_local_to_extents()
964 dargs.whichfork = XFS_DATA_FORK; in xfs_bmap_add_attrfork_local()
1120 int whichfork = cur->bc_ino.whichfork; in xfs_iread_bmbt_block() local
1121 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iread_bmbt_block()
1142 fa = xfs_bmap_validate_extent(ip, whichfork, &new); in xfs_iread_bmbt_block()
1150 xfs_bmap_fork_to_state(whichfork)); in xfs_iread_bmbt_block()
1152 xfs_bmap_fork_to_state(whichfork), _THIS_IP_); in xfs_iread_bmbt_block()
1166 int whichfork) in xfs_iread_extents() argument
1169 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_iread_extents()
1181 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_iread_extents()
1211 int whichfork) /* data or attr fork */ in xfs_bmap_first_unused() argument
1213 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_first_unused()
1227 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_first_unused()
1258 int whichfork) /* data or attr fork */ in xfs_bmap_last_before() argument
1260 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_last_before()
1277 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_last_before()
1290 int whichfork, in xfs_bmap_last_extent() argument
1294 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_last_extent()
1298 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_last_extent()
1322 int whichfork) in xfs_bmap_isaeof() argument
1329 error = xfs_bmap_last_extent(NULL, bma->ip, whichfork, &rec, in xfs_bmap_isaeof()
1358 int whichfork) in xfs_bmap_last_offset() argument
1360 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_last_offset()
1373 error = xfs_bmap_last_extent(NULL, ip, whichfork, &rec, &is_empty); in xfs_bmap_last_offset()
1391 int whichfork) in xfs_bmap_add_extent_delay_real() argument
1394 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmap_add_extent_delay_real()
1402 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_delay_real()
1409 ASSERT(whichfork != XFS_ATTR_FORK); in xfs_bmap_add_extent_delay_real()
1692 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1694 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1779 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1781 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1865 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1867 &bma->cur, 1, &tmp_rval, whichfork); in xfs_bmap_add_extent_delay_real()
1892 xfs_rmap_map_extent(bma->tp, bma->ip, whichfork, new); in xfs_bmap_add_extent_delay_real()
1895 if (xfs_bmap_needs_btree(bma->ip, whichfork)) { in xfs_bmap_add_extent_delay_real()
1901 whichfork); in xfs_bmap_add_extent_delay_real()
1922 xfs_bmap_check_leaf_extents(bma->cur, bma->ip, whichfork); in xfs_bmap_add_extent_delay_real()
1924 if (whichfork != XFS_COW_FORK) in xfs_bmap_add_extent_delay_real()
1939 int whichfork, in xfs_bmap_add_extent_unwritten_real() argument
1953 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_unwritten_real()
1960 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_add_extent_unwritten_real()
2438 xfs_rmap_convert_extent(mp, tp, ip, whichfork, new); in xfs_bmap_add_extent_unwritten_real()
2441 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_add_extent_unwritten_real()
2446 &tmp_logflags, whichfork); in xfs_bmap_add_extent_unwritten_real()
2458 xfs_bmap_check_leaf_extents(*curp, ip, whichfork); in xfs_bmap_add_extent_unwritten_real()
2473 int whichfork, in xfs_bmap_add_extent_hole_delay() argument
2482 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_hole_delay()
2485 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_add_extent_hole_delay()
2614 int whichfork, in xfs_bmap_add_extent_hole_real() argument
2621 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_add_extent_hole_real()
2629 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_add_extent_hole_real()
2696 rval = XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2739 rval = xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2769 rval = xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2795 rval = XFS_ILOG_CORE | xfs_ilog_fext(whichfork); in xfs_bmap_add_extent_hole_real()
2818 xfs_rmap_map_extent(tp, ip, whichfork, new); in xfs_bmap_add_extent_hole_real()
2821 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_add_extent_hole_real()
2826 &tmp_logflags, whichfork); in xfs_bmap_add_extent_hole_real()
2837 xfs_bmap_check_leaf_extents(cur, ip, whichfork); in xfs_bmap_add_extent_hole_real()
3870 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_read() local
3871 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_read()
3896 error = xfs_iread_extents(NULL, ip, whichfork); in xfs_bmapi_read()
3955 int whichfork, in xfs_bmapi_reserve_delalloc() argument
3964 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_reserve_delalloc()
3981 if (whichfork == XFS_COW_FORK) { in xfs_bmapi_reserve_delalloc()
4026 xfs_bmap_add_extent_hole_delay(ip, whichfork, icur, got); in xfs_bmapi_reserve_delalloc()
4033 if (whichfork == XFS_DATA_FORK && prealloc) in xfs_bmapi_reserve_delalloc()
4035 if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) in xfs_bmapi_reserve_delalloc()
4053 int whichfork = xfs_bmapi_whichfork(bma->flags); in xfs_bmap_alloc_userdata() local
4063 if (whichfork == XFS_DATA_FORK) { in xfs_bmap_alloc_userdata()
4069 error = xfs_bmap_isaeof(bma, whichfork); in xfs_bmap_alloc_userdata()
4090 int whichfork = xfs_bmapi_whichfork(bma->flags); in xfs_bmapi_allocate() local
4091 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmapi_allocate()
4137 bma->cur = xfs_bmbt_init_cursor(mp, bma->tp, bma->ip, whichfork); in xfs_bmapi_allocate()
4157 error = xfs_bmap_add_extent_delay_real(bma, whichfork); in xfs_bmapi_allocate()
4160 whichfork, &bma->icur, &bma->cur, &bma->got, in xfs_bmapi_allocate()
4189 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_convert_unwritten() local
4190 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmapi_convert_unwritten()
4211 bma->ip, whichfork); in xfs_bmapi_convert_unwritten()
4227 error = xfs_bmap_add_extent_unwritten_real(bma->tp, bma->ip, whichfork, in xfs_bmapi_convert_unwritten()
4240 if (whichfork != XFS_COW_FORK) in xfs_bmapi_convert_unwritten()
4285 int whichfork, in xfs_bmapi_finish() argument
4288 struct xfs_ifork *ifp = XFS_IFORK_PTR(bma->ip, whichfork); in xfs_bmapi_finish()
4290 if ((bma->logflags & xfs_ilog_fext(whichfork)) && in xfs_bmapi_finish()
4292 bma->logflags &= ~xfs_ilog_fext(whichfork); in xfs_bmapi_finish()
4293 else if ((bma->logflags & xfs_ilog_fbroot(whichfork)) && in xfs_bmapi_finish()
4295 bma->logflags &= ~xfs_ilog_fbroot(whichfork); in xfs_bmapi_finish()
4326 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_write() local
4327 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_write()
4378 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmapi_write()
4386 bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork); in xfs_bmapi_write()
4444 if (whichfork == XFS_COW_FORK) in xfs_bmapi_write()
4479 whichfork); in xfs_bmapi_write()
4484 ifp->if_nextents > XFS_IFORK_MAXEXT(ip, whichfork)); in xfs_bmapi_write()
4485 xfs_bmapi_finish(&bma, whichfork, 0); in xfs_bmapi_write()
4490 xfs_bmapi_finish(&bma, whichfork, error); in xfs_bmapi_write()
4503 int whichfork, in xfs_bmapi_convert_delalloc() argument
4508 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_convert_delalloc()
4516 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4530 error = xfs_iext_count_may_overflow(ip, whichfork, in xfs_bmapi_convert_delalloc()
4544 WARN_ON_ONCE(whichfork != XFS_COW_FORK); in xfs_bmapi_convert_delalloc()
4564 bma.minleft = xfs_bmapi_minleft(tp, ip, whichfork); in xfs_bmapi_convert_delalloc()
4580 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4604 if (whichfork == XFS_COW_FORK) in xfs_bmapi_convert_delalloc()
4608 whichfork); in xfs_bmapi_convert_delalloc()
4612 xfs_bmapi_finish(&bma, whichfork, 0); in xfs_bmapi_convert_delalloc()
4618 xfs_bmapi_finish(&bma, whichfork, error); in xfs_bmapi_convert_delalloc()
4639 int whichfork = xfs_bmapi_whichfork(flags); in xfs_bmapi_remap() local
4642 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmapi_remap()
4659 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmapi_remap()
4673 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmapi_remap()
4685 error = xfs_bmap_add_extent_hole_real(tp, ip, whichfork, &icur, in xfs_bmapi_remap()
4690 error = xfs_bmap_btree_to_extents(tp, ip, cur, &logflags, whichfork); in xfs_bmapi_remap()
4793 int whichfork, in xfs_bmap_del_extent_delay() argument
4799 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_del_extent_delay()
4804 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_del_extent_delay()
4810 isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip); in xfs_bmap_del_extent_delay()
5001 int whichfork, /* data or attr fork */ in xfs_bmap_del_extent_real() argument
5018 int state = xfs_bmap_fork_to_state(whichfork); in xfs_bmap_del_extent_real()
5024 ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_del_extent_real()
5045 ifp->if_nextents >= XFS_IFORK_MAXEXT(ip, whichfork) && in xfs_bmap_del_extent_real()
5050 if (whichfork == XFS_DATA_FORK && XFS_IS_REALTIME_INODE(ip)) { in xfs_bmap_del_extent_real()
5106 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5125 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5139 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5163 error = xfs_iext_count_may_overflow(ip, whichfork, 1); in xfs_bmap_del_extent_real()
5166 whichfork == XFS_DATA_FORK); in xfs_bmap_del_extent_real()
5231 flags |= xfs_ilog_fext(whichfork); in xfs_bmap_del_extent_real()
5240 xfs_rmap_unmap_extent(tp, ip, whichfork, del); in xfs_bmap_del_extent_real()
5246 if (xfs_is_reflink_inode(ip) && whichfork == XFS_DATA_FORK) { in xfs_bmap_del_extent_real()
5299 int whichfork; /* data or attribute fork */ in __xfs_bunmapi() local
5309 whichfork = xfs_bmapi_whichfork(flags); in __xfs_bunmapi()
5310 ASSERT(whichfork != XFS_COW_FORK); in __xfs_bunmapi()
5311 ifp = XFS_IFORK_PTR(ip, whichfork); in __xfs_bunmapi()
5326 if (tp && xfs_is_reflink_inode(ip) && whichfork == XFS_DATA_FORK) in __xfs_bunmapi()
5331 error = xfs_iread_extents(tp, ip, whichfork); in __xfs_bunmapi()
5340 isrt = (whichfork == XFS_DATA_FORK) && XFS_IS_REALTIME_INODE(ip); in __xfs_bunmapi()
5352 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in __xfs_bunmapi()
5456 whichfork, &icur, &cur, &del, in __xfs_bunmapi()
5515 ip, whichfork, &icur, &cur, in __xfs_bunmapi()
5524 ip, whichfork, &icur, &cur, in __xfs_bunmapi()
5534 error = xfs_bmap_del_extent_delay(ip, whichfork, &icur, in __xfs_bunmapi()
5538 &del, &tmp_logflags, whichfork, in __xfs_bunmapi()
5570 if (xfs_bmap_needs_btree(ip, whichfork)) { in __xfs_bunmapi()
5573 &tmp_logflags, whichfork); in __xfs_bunmapi()
5577 whichfork); in __xfs_bunmapi()
5585 if ((logflags & xfs_ilog_fext(whichfork)) && in __xfs_bunmapi()
5587 logflags &= ~xfs_ilog_fext(whichfork); in __xfs_bunmapi()
5588 else if ((logflags & xfs_ilog_fbroot(whichfork)) && in __xfs_bunmapi()
5590 logflags &= ~xfs_ilog_fbroot(whichfork); in __xfs_bunmapi()
5663 int whichfork, in xfs_bmse_merge() argument
5671 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmse_merge()
5722 error = xfs_bmap_btree_to_extents(tp, ip, cur, logflags, whichfork); in xfs_bmse_merge()
5729 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur, in xfs_bmse_merge()
5733 xfs_rmap_unmap_extent(tp, ip, whichfork, got); in xfs_bmse_merge()
5736 xfs_rmap_map_extent(tp, ip, whichfork, &new); in xfs_bmse_merge()
5744 int whichfork, in xfs_bmap_shift_update_extent() argument
5773 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), icur, in xfs_bmap_shift_update_extent()
5777 xfs_rmap_unmap_extent(tp, ip, whichfork, &prev); in xfs_bmap_shift_update_extent()
5778 xfs_rmap_map_extent(tp, ip, whichfork, got); in xfs_bmap_shift_update_extent()
5790 int whichfork = XFS_DATA_FORK; in xfs_bmap_collapse_extents() local
5792 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_collapse_extents()
5810 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_collapse_extents()
5815 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_collapse_extents()
5836 error = xfs_bmse_merge(tp, ip, whichfork, in xfs_bmap_collapse_extents()
5850 error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got, in xfs_bmap_collapse_extents()
5905 int whichfork = XFS_DATA_FORK; in xfs_bmap_insert_extents() local
5907 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_insert_extents()
5925 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_insert_extents()
5930 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_insert_extents()
5974 error = xfs_bmap_shift_update_extent(tp, ip, whichfork, &icur, &got, in xfs_bmap_insert_extents()
6006 int whichfork = XFS_DATA_FORK; in xfs_bmap_split_extent() local
6007 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, whichfork); in xfs_bmap_split_extent()
6027 error = xfs_iread_extents(tp, ip, whichfork); in xfs_bmap_split_extent()
6045 cur = xfs_bmbt_init_cursor(mp, tp, ip, whichfork); in xfs_bmap_split_extent()
6057 xfs_iext_update_extent(ip, xfs_bmap_fork_to_state(whichfork), &icur, in xfs_bmap_split_extent()
6093 if (xfs_bmap_needs_btree(ip, whichfork)) { in xfs_bmap_split_extent()
6098 &tmp_logflags, whichfork); in xfs_bmap_split_extent()
6128 int whichfork, in __xfs_bmap_add() argument
6137 ip->i_ino, whichfork, in __xfs_bmap_add()
6146 bi->bi_whichfork = whichfork; in __xfs_bmap_add()
6188 int whichfork, in xfs_bmap_finish_one() argument
6201 ip->i_ino, whichfork, startoff, *blockcount, state); in xfs_bmap_finish_one()
6203 if (WARN_ON_ONCE(whichfork != XFS_DATA_FORK)) in xfs_bmap_finish_one()
6232 int whichfork, in xfs_bmap_validate_extent() argument
6240 if (XFS_IS_REALTIME_INODE(ip) && whichfork == XFS_DATA_FORK) { in xfs_bmap_validate_extent()
6249 if (irec->br_state != XFS_EXT_NORM && whichfork != XFS_DATA_FORK) in xfs_bmap_validate_extent()