Lines Matching defs:bits
279 char *bits, *hold_bits;
297 if ((bits = malloc((nchunks + 7) / 8)) == NULL) {
298 tst_brkm(TBROK, NULL, "\tmalloc failed(bits)");
351 * zap bits array
373 memset(bits, 0, (nchunks + 7) / 8);
410 bits[chunk / 8] |= (1 << (chunk % 8));
412 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) {
437 ft_dumpbits(bits,
439 ft_orbits(hold_bits, bits,
447 bits[chunk / 8] |= (1 << (chunk % 8));
475 ft_dumpbits(bits,
477 ft_orbits(hold_bits, bits,
515 ft_orbits(hold_bits, bits, (nchunks + 7) / 8);
516 domisc(me, fd, bits);
540 static void domisc(int me, int fd, char *bits)
577 bits[chunk / 8] &= ~(1 << (chunk % 8));
579 bits[chunk / 8] = 0;