Lines Matching refs:ocfs2_resv_end
67 static inline unsigned int ocfs2_resv_end(struct ocfs2_alloc_reservation *resv)
102 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start,
115 ocfs2_resv_end(resv), resv->r_len, resv->r_last_start,
129 unsigned int end = ocfs2_resv_end(resv);
167 if (resv->r_start > ocfs2_resv_end(resv)) {
173 if (ocfs2_resv_end(resv) >= resmap->m_bitmap_len) {
182 off = ocfs2_resv_end(resv);
339 BUG_ON(ocfs2_resv_end(new) >= tmp->r_start);
340 } else if (new->r_start > ocfs2_resv_end(tmp)) {
383 if (resv->r_start <= goal && ocfs2_resv_end(resv) >= goal)
492 resv->r_start, ocfs2_resv_end(resv), goal, wanted);
584 gap_start = ocfs2_resv_end(prev_resv) + 1;
594 gap_start = ocfs2_resv_end(prev_resv) + 1;
658 lru_resv->r_len, ocfs2_resv_end(lru_resv));
683 resv->r_start = ocfs2_resv_end(lru_resv) + 1;
689 resv->r_start, ocfs2_resv_end(resv), resv->r_len,
777 unsigned int old_end = ocfs2_resv_end(resv);
818 cstart, cend, clen, resv->r_start, ocfs2_resv_end(resv),
822 BUG_ON(cstart > ocfs2_resv_end(resv));
823 BUG_ON(cend > ocfs2_resv_end(resv));
838 resv->r_start, ocfs2_resv_end(resv), resv->r_len,