Lines Matching refs:bitoff
817 int numfound, bitoff, left, startoff, lastzero;
827 bitoff = -1;
839 if (ocfs2_resmap_resv_bits(resmap, resv, &bitoff, &numfound) == 0) {
857 numfound = bitoff = startoff = 0;
860 while ((bitoff = ocfs2_find_next_zero_bit(bitmap, left, startoff)) != -1) {
861 if (bitoff == left) {
862 /* mlog(0, "bitoff (%d) == left", bitoff); */
865 /* mlog(0, "Found a zero: bitoff = %d, startoff = %d, "
866 "numfound = %d\n", bitoff, startoff, numfound);*/
870 if (bitoff == startoff) {
877 startoff = bitoff+1;
886 mlog(0, "Exiting loop, bitoff = %d, numfound = %d\n", bitoff,
890 bitoff = startoff - numfound;
892 bitoff = -1;
898 mlog_exit(bitoff);
899 return bitoff;