Lines Matching refs:test
83 struct rb_node *test; in __tree_search() local
103 test = rb_next(prev); in __tree_search()
104 if (!test) in __tree_search()
106 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
111 prev = test; in __tree_search()
117 test = rb_prev(prev); in __tree_search()
118 if (!test) in __tree_search()
120 prev_entry = rb_entry(test, struct btrfs_ordered_extent, in __tree_search()
122 prev = test; in __tree_search()
969 struct btrfs_ordered_extent *test; in btrfs_ordered_update_i_size() local
1021 test = rb_entry(prev, struct btrfs_ordered_extent, in btrfs_ordered_update_i_size()
1023 BUG_ON(offset_in_entry(test, offset)); in btrfs_ordered_update_i_size()
1028 test = rb_entry(node, struct btrfs_ordered_extent, rb_node); in btrfs_ordered_update_i_size()
1031 if (test_bit(BTRFS_ORDERED_UPDATED_ISIZE, &test->flags)) in btrfs_ordered_update_i_size()
1033 if (test->file_offset + test->len <= disk_i_size) in btrfs_ordered_update_i_size()
1035 if (test->file_offset >= i_size) in btrfs_ordered_update_i_size()
1037 if (entry_end(test) > disk_i_size) { in btrfs_ordered_update_i_size()
1043 if (test->outstanding_isize < offset) in btrfs_ordered_update_i_size()
1044 test->outstanding_isize = offset; in btrfs_ordered_update_i_size()
1047 test->outstanding_isize) in btrfs_ordered_update_i_size()
1048 test->outstanding_isize = in btrfs_ordered_update_i_size()