• Home
  • Raw
  • Download

Lines Matching refs:clen

284 			  unsigned int clen, char *disk_bitmap)  in ocfs2_resmap_restart()  argument
292 resmap->m_bitmap_len = clen; in ocfs2_resmap_restart()
467 unsigned int cstart, clen; in __ocfs2_resv_find_window() local
488 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
490 &cstart, &clen); in __ocfs2_resv_find_window()
496 BUG_ON(goal == 0 && clen == 0); in __ocfs2_resv_find_window()
498 if (clen == 0) in __ocfs2_resv_find_window()
502 resv->r_len = clen; in __ocfs2_resv_find_window()
541 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
543 &cstart, &clen); in __ocfs2_resv_find_window()
544 if (clen) { in __ocfs2_resv_find_window()
545 best_len = clen; in __ocfs2_resv_find_window()
591 clen = ocfs2_resmap_find_free_bits(resmap, wanted, gap_start, in __ocfs2_resv_find_window()
592 gap_len, &cstart, &clen); in __ocfs2_resv_find_window()
593 if (clen == wanted) { in __ocfs2_resv_find_window()
594 best_len = clen; in __ocfs2_resv_find_window()
597 } else if (clen > best_len) { in __ocfs2_resv_find_window()
598 best_len = clen; in __ocfs2_resv_find_window()
718 int *cstart, int *clen) in ocfs2_resmap_resv_bits() argument
733 if ((resv->r_flags & OCFS2_RESV_FLAG_TMP) || wanted < *clen) in ocfs2_resmap_resv_bits()
734 wanted = *clen; in ocfs2_resmap_resv_bits()
750 *clen = resv->r_len; in ocfs2_resmap_resv_bits()
787 u32 cstart, u32 clen) in ocfs2_resmap_claimed_bits() argument
789 unsigned int cend = cstart + clen - 1; in ocfs2_resmap_claimed_bits()
801 trace_ocfs2_resmap_claimed_bits_begin(cstart, cend, clen, resv->r_start, in ocfs2_resmap_claimed_bits()
812 resv->r_last_len = clen; in ocfs2_resmap_claimed_bits()