Lines Matching refs:ocfs2_resv_end
56 static inline unsigned int ocfs2_resv_end(struct ocfs2_alloc_reservation *resv)
91 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start,
104 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start,
118 unsigned int end = ocfs2_resv_end(resv);
156 if (resv->r_start > ocfs2_resv_end(resv)) {
162 if (ocfs2_resv_end(resv) >= resmap->m_bitmap_len) {
171 off = ocfs2_resv_end(resv);
327 BUG_ON(ocfs2_resv_end(new) >= tmp->r_start);
328 } else if (new->r_start > ocfs2_resv_end(tmp)) {
371 if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal)
478 trace_ocfs2_resv_find_window_begin(resv->r_start, ocfs2_resv_end(resv),
556 ocfs2_resv_end(prev_resv));
568 gap_start = ocfs2_resv_end(prev_resv) + 1;
577 gap_start = ocfs2_resv_end(prev_resv) + 1;
583 next ? ocfs2_resv_end(next_resv) : -1);
644 ocfs2_resv_end(lru_resv));
669 resv->r_start = ocfs2_resv_end(lru_resv) + 1;
673 trace_ocfs2_cannibalize_resv_end(resv->r_start, ocfs2_resv_end(resv),
762 unsigned int old_end = ocfs2_resv_end(resv);
802 ocfs2_resv_end(resv), resv->r_len,
807 BUG_ON(cstart > ocfs2_resv_end(resv));
808 BUG_ON(cend > ocfs2_resv_end(resv));
821 trace_ocfs2_resmap_claimed_bits_end(resv->r_start, ocfs2_resv_end(resv),