Lines Matching defs:MALLOC_BITS
217 #define MALLOC_BITS (NBBY * sizeof(u_short))
231 #define CHUNK_FREE(i, n) ((i)->bits[(n) / MALLOC_BITS] & \
232 (1U << ((n) % MALLOC_BITS)))
984 p->offset = howmany(p->total, MALLOC_BITS);
989 memset(p->bits, 0xff, sizeof(p->bits[0]) * (i / MALLOC_BITS));
990 p->bits[i / MALLOC_BITS] = (2U << (i % MALLOC_BITS)) - 1;
1005 size = howmany(count, MALLOC_BITS);
1200 j = i % MALLOC_BITS;
1201 i /= MALLOC_BITS;
1225 k += i * MALLOC_BITS;
1301 info->bits[chunknum / MALLOC_BITS] |= 1U << (chunknum % MALLOC_BITS);