Lines Matching refs:br_state
622 if (prev.br_state != XFS_EXT_UNWRITTEN && in xfs_bmap_add_extent()
632 } else if (new->br_state == XFS_EXT_NORM) { in xfs_bmap_add_extent()
633 ASSERT(new->br_state == XFS_EXT_NORM); in xfs_bmap_add_extent()
638 ASSERT(new->br_state == XFS_EXT_UNWRITTEN); in xfs_bmap_add_extent()
787 LEFT.br_state == new->br_state && in xfs_bmap_add_extent_delay_real()
805 new->br_state == RIGHT.br_state && in xfs_bmap_add_extent_delay_real()
853 RIGHT.br_blockcount, LEFT.br_state))) in xfs_bmap_add_extent_delay_real()
886 PREV.br_blockcount, LEFT.br_state))) in xfs_bmap_add_extent_delay_real()
920 RIGHT.br_blockcount, PREV.br_state))) in xfs_bmap_add_extent_delay_real()
948 cur->bc_rec.b.br_state = XFS_EXT_NORM; in xfs_bmap_add_extent_delay_real()
987 LEFT.br_state))) in xfs_bmap_add_extent_delay_real()
1021 cur->bc_rec.b.br_state = XFS_EXT_NORM; in xfs_bmap_add_extent_delay_real()
1059 RIGHT.br_state); in xfs_bmap_add_extent_delay_real()
1076 RIGHT.br_state))) in xfs_bmap_add_extent_delay_real()
1109 cur->bc_rec.b.br_state = XFS_EXT_NORM; in xfs_bmap_add_extent_delay_real()
1160 cur->bc_rec.b.br_state = XFS_EXT_NORM; in xfs_bmap_add_extent_delay_real()
1300 newext = new->br_state; in xfs_bmap_add_extent_unwritten_real()
1303 ASSERT(PREV.br_state == oldext); in xfs_bmap_add_extent_unwritten_real()
1326 LEFT.br_state == newext && in xfs_bmap_add_extent_unwritten_real()
1344 newext == RIGHT.br_state && in xfs_bmap_add_extent_unwritten_real()
1396 RIGHT.br_blockcount, LEFT.br_state))) in xfs_bmap_add_extent_unwritten_real()
1435 LEFT.br_state))) in xfs_bmap_add_extent_unwritten_real()
1550 LEFT.br_state)) in xfs_bmap_add_extent_unwritten_real()
1670 cur->bc_rec.b.br_state = XFS_EXT_NORM; in xfs_bmap_add_extent_unwritten_real()
1692 r[1].br_state = oldext; in xfs_bmap_add_extent_unwritten_real()
1710 r[1].br_state))) in xfs_bmap_add_extent_unwritten_real()
1894 NULLSTARTBLOCK((int)newlen), temp, right.br_state); in xfs_bmap_add_extent_hole_delay()
1996 left.br_state == new->br_state && in xfs_bmap_add_extent_hole_real()
2003 new->br_state == right.br_state && in xfs_bmap_add_extent_hole_real()
2051 right.br_blockcount, left.br_state); in xfs_bmap_add_extent_hole_real()
2077 left.br_state); in xfs_bmap_add_extent_hole_real()
2089 right.br_state); in xfs_bmap_add_extent_hole_real()
2104 right.br_state); in xfs_bmap_add_extent_hole_real()
2128 cur->bc_rec.b.br_state = new->br_state; in xfs_bmap_add_extent_hole_real()
2958 got.br_state))) in xfs_bmap_del_extent()
2987 got.br_state))) in xfs_bmap_del_extent()
3001 new.br_state = got.br_state; in xfs_bmap_del_extent()
3009 got.br_state))) in xfs_bmap_del_extent()
3042 got.br_state))) in xfs_bmap_del_extent()
3436 got.br_state = XFS_EXT_INVALID; in xfs_bmap_do_search_extents()
3484 got.br_state = xfs_bmbt_get_state(ep); in xfs_bmap_do_search_extents()
3496 got.br_state = xfs_bmbt_get_state(ep); in xfs_bmap_do_search_extents()
3514 got.br_state = xfs_bmbt_get_state(ep); in xfs_bmap_do_search_extents()
3560 gotp->br_blockcount,gotp->br_state); in xfs_bmap_search_extents()
4497 ASSERT(mval[i].br_state == XFS_EXT_NORM || in xfs_bmap_validate_ret()
4498 mval[i].br_state == XFS_EXT_UNWRITTEN); in xfs_bmap_validate_ret()
4846 got.br_state = XFS_EXT_NORM; /* assume normal */ in xfs_bmapi()
4854 got.br_state = XFS_EXT_UNWRITTEN; in xfs_bmapi()
4874 ASSERT(got.br_state == XFS_EXT_NORM || in xfs_bmapi()
4875 got.br_state == XFS_EXT_UNWRITTEN); in xfs_bmapi()
4888 mval->br_state = XFS_EXT_NORM; in xfs_bmapi()
4923 mval->br_state = got.br_state; in xfs_bmapi()
4937 if (wr && mval->br_state == XFS_EXT_UNWRITTEN && in xfs_bmapi()
4951 mval->br_state = XFS_EXT_NORM; in xfs_bmapi()
4980 ASSERT(mval->br_state == mval[-1].br_state); in xfs_bmapi()
4982 mval[-1].br_state = mval->br_state; in xfs_bmapi()
4988 (stateless || mval[-1].br_state == mval->br_state)) { in xfs_bmapi()
4998 mval[-1].br_state = mval->br_state; in xfs_bmapi()
5277 if (del.br_state == XFS_EXT_UNWRITTEN || in xfs_bunmapi()
5296 ASSERT(del.br_state == XFS_EXT_NORM); in xfs_bunmapi()
5307 del.br_state = XFS_EXT_UNWRITTEN; in xfs_bunmapi()
5326 (del.br_state == XFS_EXT_UNWRITTEN || in xfs_bunmapi()
5340 } else if (del.br_state == XFS_EXT_UNWRITTEN) { in xfs_bunmapi()
5349 ASSERT(prev.br_state == XFS_EXT_NORM); in xfs_bunmapi()
5359 prev.br_state = XFS_EXT_UNWRITTEN; in xfs_bunmapi()
5367 ASSERT(del.br_state == XFS_EXT_NORM); in xfs_bunmapi()
5368 del.br_state = XFS_EXT_UNWRITTEN; in xfs_bunmapi()
5651 oflags = (map[i].br_state == XFS_EXT_UNWRITTEN) ? in xfs_getbmap()