Lines Matching refs:r_start

70 		return resv->r_start + resv->r_len - 1;  in ocfs2_resv_end()
71 return resv->r_start; in ocfs2_resv_end()
101 "\tlast_len: %u\n", resv->r_start, in ocfs2_dump_resv()
114 "last_start: %u\tlast_len: %u\n", i, resv->r_start, in ocfs2_dump_resv()
128 unsigned int start = resv->r_start; in ocfs2_validate_resmap_bits()
155 if (i > 0 && resv->r_start <= off) { in ocfs2_check_resmap()
167 if (resv->r_start > ocfs2_resv_end(resv)) { in ocfs2_check_resmap()
241 resv->r_start = 0; in __ocfs2_resv_trunc()
324 trace_ocfs2_resv_insert(new->r_start, new->r_len); in ocfs2_resv_insert()
331 if (new->r_start < tmp->r_start) { in ocfs2_resv_insert()
338 BUG_ON(ocfs2_resv_end(new) >= tmp->r_start); in ocfs2_resv_insert()
339 } else if (new->r_start > ocfs2_resv_end(tmp)) { in ocfs2_resv_insert()
382 if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal) in ocfs2_find_resv_lhs()
386 if (resv->r_start > goal) { in ocfs2_find_resv_lhs()
489 trace_ocfs2_resv_find_window_begin(resv->r_start, ocfs2_resv_end(resv), in __ocfs2_resv_find_window()
512 resv->r_start = cstart; in __ocfs2_resv_find_window()
545 if (next_resv->r_start <= goal) { in __ocfs2_resv_find_window()
547 goal, next_resv->r_start, next_resv->r_len); in __ocfs2_resv_find_window()
553 next_resv->r_start - goal, in __ocfs2_resv_find_window()
566 trace_ocfs2_resv_find_window_prev(prev_resv->r_start, in __ocfs2_resv_find_window()
580 gap_end = next_resv->r_start - 1; in __ocfs2_resv_find_window()
593 trace_ocfs2_resv_find_window_next(next ? next_resv->r_start: -1, in __ocfs2_resv_find_window()
624 resv->r_start = best_start; in __ocfs2_resv_find_window()
653 trace_ocfs2_cannibalize_resv_begin(lru_resv->r_start, in ocfs2_cannibalize_resv()
667 resv->r_start = lru_resv->r_start; in ocfs2_cannibalize_resv()
680 resv->r_start = ocfs2_resv_end(lru_resv) + 1; in ocfs2_cannibalize_resv()
684 trace_ocfs2_cannibalize_resv_end(resv->r_start, ocfs2_resv_end(resv), in ocfs2_cannibalize_resv()
755 trace_ocfs2_resmap_resv_bits(resv->r_start, resv->r_len); in ocfs2_resmap_resv_bits()
760 *cstart = resv->r_start; in ocfs2_resmap_resv_bits()
775 BUG_ON(start != resv->r_start || old_end < end); in ocfs2_adjust_resv_from_alloc()
792 resv->r_start = end + 1; in ocfs2_adjust_resv_from_alloc()
793 resv->r_len = old_end - resv->r_start + 1; in ocfs2_adjust_resv_from_alloc()
808 BUG_ON(cstart != resv->r_start); in ocfs2_resmap_claimed_bits()
812 trace_ocfs2_resmap_claimed_bits_begin(cstart, cend, clen, resv->r_start, in ocfs2_resmap_claimed_bits()
817 BUG_ON(cstart < resv->r_start); in ocfs2_resmap_claimed_bits()
832 trace_ocfs2_resmap_claimed_bits_end(resv->r_start, ocfs2_resv_end(resv), in ocfs2_resmap_claimed_bits()