Lines Matching refs:ocfs2_resv_end
54 static inline unsigned int ocfs2_resv_end(struct ocfs2_alloc_reservation *resv)
89 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start,
102 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start,
116 unsigned int end = ocfs2_resv_end(resv);
154 if (resv->r_start > ocfs2_resv_end(resv)) {
160 if (ocfs2_resv_end(resv) >= resmap->m_bitmap_len) {
169 off = ocfs2_resv_end(resv);
323 BUG_ON(ocfs2_resv_end(new) >= tmp->r_start);
324 } else if (new->r_start > ocfs2_resv_end(tmp)) {
367 if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal)
474 trace_ocfs2_resv_find_window_begin(resv->r_start, ocfs2_resv_end(resv),
552 ocfs2_resv_end(prev_resv));
564 gap_start = ocfs2_resv_end(prev_resv) + 1;
573 gap_start = ocfs2_resv_end(prev_resv) + 1;
579 next ? ocfs2_resv_end(next_resv) : -1);
640 ocfs2_resv_end(lru_resv));
665 resv->r_start = ocfs2_resv_end(lru_resv) + 1;
669 trace_ocfs2_cannibalize_resv_end(resv->r_start, ocfs2_resv_end(resv),
758 unsigned int old_end = ocfs2_resv_end(resv);
798 ocfs2_resv_end(resv), resv->r_len,
803 BUG_ON(cstart > ocfs2_resv_end(resv));
804 BUG_ON(cend > ocfs2_resv_end(resv));
817 trace_ocfs2_resmap_claimed_bits_end(resv->r_start, ocfs2_resv_end(resv),