Lines Matching refs:ocfs2_resv_end

67 static inline unsigned int ocfs2_resv_end(struct ocfs2_alloc_reservation *resv)  in ocfs2_resv_end()  function
102 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start, in ocfs2_dump_resv()
115 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start, in ocfs2_dump_resv()
129 unsigned int end = ocfs2_resv_end(resv); in ocfs2_validate_resmap_bits()
167 if (resv->r_start > ocfs2_resv_end(resv)) { in ocfs2_check_resmap()
173 if (ocfs2_resv_end(resv) >= resmap->m_bitmap_len) { in ocfs2_check_resmap()
182 off = ocfs2_resv_end(resv); in ocfs2_check_resmap()
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()
489 trace_ocfs2_resv_find_window_begin(resv->r_start, ocfs2_resv_end(resv), in __ocfs2_resv_find_window()
567 ocfs2_resv_end(prev_resv)); in __ocfs2_resv_find_window()
579 gap_start = ocfs2_resv_end(prev_resv) + 1; in __ocfs2_resv_find_window()
588 gap_start = ocfs2_resv_end(prev_resv) + 1; in __ocfs2_resv_find_window()
594 next ? ocfs2_resv_end(next_resv) : -1); in __ocfs2_resv_find_window()
655 ocfs2_resv_end(lru_resv)); 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()
773 unsigned int old_end = ocfs2_resv_end(resv); in ocfs2_adjust_resv_from_alloc()
813 ocfs2_resv_end(resv), resv->r_len, in ocfs2_resmap_claimed_bits()
818 BUG_ON(cstart > ocfs2_resv_end(resv)); in ocfs2_resmap_claimed_bits()
819 BUG_ON(cend > ocfs2_resv_end(resv)); in ocfs2_resmap_claimed_bits()
832 trace_ocfs2_resmap_claimed_bits_end(resv->r_start, ocfs2_resv_end(resv), in ocfs2_resmap_claimed_bits()