Searched refs:chunks (Results 1 - 12 of 12) sorted by relevance

/haiku-fatelf/src/bin/gdb/libiberty/
H A Dobjalloc.c97 ret->chunks = (PTR) malloc (CHUNK_SIZE);
98 if (ret->chunks == NULL)
104 chunk = (struct objalloc_chunk *) ret->chunks;
145 chunk->next = (struct objalloc_chunk *) o->chunks;
148 o->chunks = (PTR) chunk;
159 chunk->next = (struct objalloc_chunk *) o->chunks;
165 o->chunks = (PTR) chunk;
179 l = (struct objalloc_chunk *) o->chunks;
206 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next)
233 any chunks containin
[all...]
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dbon_io.h26 int chunks() const { return m_total_chunks; } function in class:CFileOp
H A Dbon_io.cpp43 int num_chunks = file->chunks();
/haiku-fatelf/src/bin/gdb/include/
H A Dobjalloc.h48 PTR chunks; member in struct:objalloc
/haiku-fatelf/src/system/kernel/slab/
H A DMemoryManager.h91 Chunk chunks[SLAB_SMALL_CHUNKS_PER_META_CHUNK]; member in struct:MemoryManager::MetaChunk
287 + (chunk - metaChunk->chunks) * metaChunk->chunkSize;
295 || (chunk->next >= metaChunk->chunks
296 && chunk->next < metaChunk->chunks + metaChunk->chunkCount);
H A DMemoryManager.cpp292 fChunk(chunk - metaChunk->chunks)
320 fChunk(chunk - metaChunk->chunks)
327 out.Print("slab memory manager alloc chunks: size: %" B_PRIuSIZE
346 fChunk(chunk - metaChunk->chunks)
498 "If \"-c\" is given, the chunks of all meta chunks area printed as "
510 "List all non-full slab meta chunks",
512 "Lists all non-full slab meta chunks.\n"
513 "If \"-c\" is given, the chunks of all meta chunks are
[all...]
/haiku-fatelf/src/tests/kits/midi/synth_file_reader/
H A DSynthFileReader.h57 bool ReadHeader(uint32& version, uint32& chunks, uint32& nextChunk);
H A DSynthFileReader.cpp121 bool SSynthFileReader::ReadHeader(uint32& version, uint32& chunks, uint32& nextChunk) { argument
124 if (Read(tag) && TagEquals(tag, "IREZ") && Read(version) && Read(chunks)) {
163 uint32 chunks; local
167 if (ReadHeader(version, chunks, nextChunk)) {
168 for (uint32 chunk = 0; chunk < chunks; chunk ++) {
/haiku-fatelf/src/add-ons/kernel/generic/locked_pool/
H A Dlocked_pool.c61 struct chunk_header *chunks;// list of chunks member in struct:locked_pool
176 chunk->next = pool->chunks;
177 pool->chunks = chunk;
243 /*! Free all chunks belonging to pool */
249 for (chunk = pool->chunks; chunk; chunk = next) {
267 pool->chunks = NULL;
468 pool->chunks = NULL;
/haiku-fatelf/src/system/libroot/posix/malloc/
H A Dwrapper.cpp517 int chunks = 0; local
524 chunks++;
531 stats.chunks_used = chunks;
533 stats.chunks_free = hoardHeap::SIZE_CLASSES - chunks;
/haiku-fatelf/src/add-ons/kernel/debugger/qrencode/
H A Dqrinput.c1005 int payload, size, chunks, remain, maxsize; local
1010 chunks = payload / 10;
1011 remain = payload - chunks * 10;
1012 size = chunks * 3;
1020 chunks = payload / 11;
1021 remain = payload - chunks * 11;
1022 size = chunks * 2;
/haiku-fatelf/src/bin/network/tcpdump/libpcap/
H A Dgencode.c147 * We divy out chunks of memory rather than call malloc each time so
161 static struct chunk chunks[NCHUNKS]; variable in typeref:struct:chunk
259 cp = &chunks[cur_chunk];
284 if (chunks[i].m != NULL) {
285 free(chunks[i].m);
286 chunks[i].m = NULL;

Completed in 106 milliseconds