Lines Matching refs:r_start

59 		return resv->r_start + resv->r_len - 1;  in ocfs2_resv_end()
60 return resv->r_start; in ocfs2_resv_end()
90 "\tlast_len: %u\n", resv->r_start, in ocfs2_dump_resv()
103 "last_start: %u\tlast_len: %u\n", i, resv->r_start, in ocfs2_dump_resv()
117 unsigned int start = resv->r_start; in ocfs2_validate_resmap_bits()
144 if (i > 0 && resv->r_start <= off) { in ocfs2_check_resmap()
156 if (resv->r_start > ocfs2_resv_end(resv)) { in ocfs2_check_resmap()
230 resv->r_start = 0; in __ocfs2_resv_trunc()
313 trace_ocfs2_resv_insert(new->r_start, new->r_len); in ocfs2_resv_insert()
320 if (new->r_start < tmp->r_start) { in ocfs2_resv_insert()
327 BUG_ON(ocfs2_resv_end(new) >= tmp->r_start); in ocfs2_resv_insert()
328 } else if (new->r_start > ocfs2_resv_end(tmp)) { in ocfs2_resv_insert()
371 if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal) in ocfs2_find_resv_lhs()
375 if (resv->r_start > goal) { in ocfs2_find_resv_lhs()
478 trace_ocfs2_resv_find_window_begin(resv->r_start, ocfs2_resv_end(resv), in __ocfs2_resv_find_window()
501 resv->r_start = cstart; in __ocfs2_resv_find_window()
534 if (next_resv->r_start <= goal) { in __ocfs2_resv_find_window()
536 goal, next_resv->r_start, next_resv->r_len); in __ocfs2_resv_find_window()
542 next_resv->r_start - goal, in __ocfs2_resv_find_window()
555 trace_ocfs2_resv_find_window_prev(prev_resv->r_start, in __ocfs2_resv_find_window()
569 gap_end = next_resv->r_start - 1; in __ocfs2_resv_find_window()
582 trace_ocfs2_resv_find_window_next(next ? next_resv->r_start: -1, in __ocfs2_resv_find_window()
613 resv->r_start = best_start; in __ocfs2_resv_find_window()
642 trace_ocfs2_cannibalize_resv_begin(lru_resv->r_start, in ocfs2_cannibalize_resv()
656 resv->r_start = lru_resv->r_start; in ocfs2_cannibalize_resv()
669 resv->r_start = ocfs2_resv_end(lru_resv) + 1; in ocfs2_cannibalize_resv()
673 trace_ocfs2_cannibalize_resv_end(resv->r_start, ocfs2_resv_end(resv), in ocfs2_cannibalize_resv()
744 trace_ocfs2_resmap_resv_bits(resv->r_start, resv->r_len); in ocfs2_resmap_resv_bits()
749 *cstart = resv->r_start; in ocfs2_resmap_resv_bits()
764 BUG_ON(start != resv->r_start || old_end < end); in ocfs2_adjust_resv_from_alloc()
781 resv->r_start = end + 1; in ocfs2_adjust_resv_from_alloc()
782 resv->r_len = old_end - resv->r_start + 1; in ocfs2_adjust_resv_from_alloc()
797 BUG_ON(cstart != resv->r_start); in ocfs2_resmap_claimed_bits()
801 trace_ocfs2_resmap_claimed_bits_begin(cstart, cend, clen, resv->r_start, in ocfs2_resmap_claimed_bits()
806 BUG_ON(cstart < resv->r_start); in ocfs2_resmap_claimed_bits()
821 trace_ocfs2_resmap_claimed_bits_end(resv->r_start, ocfs2_resv_end(resv), in ocfs2_resmap_claimed_bits()