Lines Matching refs:bitoff
827 int numfound = 0, bitoff, left, startoff;
834 bitoff = -1;
846 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) {
864 numfound = bitoff = startoff = 0;
866 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) {
867 if (bitoff == left) {
868 /* mlog(0, "bitoff (%d) == left", bitoff); */
871 /* mlog(0, "Found a zero: bitoff = %d, startoff = %d, "
872 "numfound = %d\n", bitoff, startoff, numfound);*/
876 if (bitoff == startoff) {
883 startoff = bitoff+1;
892 trace_ocfs2_local_alloc_find_clear_bits_search_bitmap(bitoff, numfound);
895 bitoff = startoff - numfound;
897 bitoff = -1;
905 bitoff, numfound);
907 return bitoff;