Lines Matching defs:bits
260 char *bits, *hold_bits, *buf, *val_buf, *zero_buf;
266 if ((bits = calloc((nchunks + 7) / 8, 1)) == NULL) {
267 perror("\tmalloc (bits)");
298 * zap bits array
319 memset(bits, 0, (nchunks + 7) / 8);
347 bits[chunk / 8] |= (1 << (chunk % 8));
349 } else if ((bits[chunk / 8] & (1 << (chunk % 8))) == 0) {
369 ft_dumpbits(bits, (nchunks + 7) / 8);
370 ft_orbits(hold_bits, bits,
377 bits[chunk / 8] |= (1 << (chunk % 8));
400 ft_dumpbits(bits, (nchunks + 7) / 8);
401 ft_orbits(hold_bits, bits,
436 ft_orbits(hold_bits, bits, (nchunks + 7) / 8);
437 domisc(me, fd, bits);
462 static void domisc(int me, int fd, char *bits)
496 bits[chunk / 8] &= ~(1 << (chunk % 8));
498 bits[chunk / 8] = 0;