Lines Matching refs:bit
353 #define ubh_blkmap(ubh,begin,bit) \ argument
354 …((*ubh_get_addr(ubh, (begin) + ((bit) >> 3)) >> ((bit) & 7)) & (0xff >> (UFS_MAXFRAG - uspi->s_fpb…
386 #define ubh_setbit(ubh,begin,bit) \ argument
387 (*ubh_get_addr(ubh, (begin) + ((bit) >> 3)) |= (1 << ((bit) & 7)))
389 #define ubh_clrbit(ubh,begin,bit) \ argument
390 (*ubh_get_addr (ubh, (begin) + ((bit) >> 3)) &= ~(1 << ((bit) & 7)))
392 #define ubh_isset(ubh,begin,bit) \ argument
393 (*ubh_get_addr (ubh, (begin) + ((bit) >> 3)) & (1 << ((bit) & 7)))
395 #define ubh_isclr(ubh,begin,bit) (!ubh_isset(ubh,begin,bit)) argument
426 unsigned bit, i; in find_last_zero_bit() local
432 bit = 1 << (size & 7); in find_last_zero_bit()
434 if ((map & bit) == 0) in find_last_zero_bit()
437 bit >>= 1; in find_last_zero_bit()
440 bit = 1 << 7; in find_last_zero_bit()