Lines Matching refs:r_len
69 if (resv->r_len) in ocfs2_resv_end()
70 return resv->r_start + resv->r_len - 1; in ocfs2_resv_end()
76 return !!(resv->r_len == 0); in ocfs2_resv_empty()
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()
161 if (resv->r_len == 0) { in ocfs2_check_resmap()
240 resv->r_len = 0; in __ocfs2_resv_trunc()
324 trace_ocfs2_resv_insert(new->r_start, new->r_len); in ocfs2_resv_insert()
513 resv->r_len = clen; in __ocfs2_resv_find_window()
547 goal, next_resv->r_start, next_resv->r_len); in __ocfs2_resv_find_window()
625 resv->r_len = best_len; in __ocfs2_resv_find_window()
654 lru_resv->r_len, in ocfs2_cannibalize_resv()
661 if (lru_resv->r_len <= min_bits) { in ocfs2_cannibalize_resv()
668 resv->r_len = lru_resv->r_len; in ocfs2_cannibalize_resv()
676 shrink = lru_resv->r_len / 2; in ocfs2_cannibalize_resv()
678 lru_resv->r_len -= shrink; in ocfs2_cannibalize_resv()
681 resv->r_len = shrink; in ocfs2_cannibalize_resv()
685 resv->r_len, resv->r_last_start, in ocfs2_cannibalize_resv()
755 trace_ocfs2_resmap_resv_bits(resv->r_start, resv->r_len); in ocfs2_resmap_resv_bits()
761 *clen = resv->r_len; in ocfs2_resmap_resv_bits()
793 resv->r_len = old_end - resv->r_start + 1; in ocfs2_adjust_resv_from_alloc()
813 ocfs2_resv_end(resv), resv->r_len, in ocfs2_resmap_claimed_bits()
833 resv->r_len, resv->r_last_start, in ocfs2_resmap_claimed_bits()