Lines Matching refs:bitoff
829 int numfound = 0, bitoff, left, startoff;
836 bitoff = -1;
848 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) {
866 numfound = bitoff = startoff = 0;
868 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) {
869 if (bitoff == left) {
870 /* mlog(0, "bitoff (%d) == left", bitoff); */
873 /* mlog(0, "Found a zero: bitoff = %d, startoff = %d, "
874 "numfound = %d\n", bitoff, startoff, numfound);*/
878 if (bitoff == startoff) {
885 startoff = bitoff+1;
894 trace_ocfs2_local_alloc_find_clear_bits_search_bitmap(bitoff, numfound);
897 bitoff = startoff - numfound;
899 bitoff = -1;
907 bitoff, numfound);
909 return bitoff;