/haiku/src/system/libroot/posix/unistd/ |
H A D | directory.c | 33 bool allocated = false; local 43 allocated = true; 48 if (allocated)
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | dlist.cpp | 42 vol->dlist.allocated = DLIST_ENTRY_QUANTUM; 43 vol->dlist.vnid_list = (ino_t *)malloc(sizeof(ino_t) * vol->dlist.allocated); 45 vol->dlist.allocated = 0; 61 vol->dlist.entries = vol->dlist.allocated = 0; 74 vol->dlist.allocated, allocate)); 76 ASSERT(allocate != vol->dlist.allocated); 88 vol->dlist.allocated = allocate; 103 if (vol->dlist.entries == vol->dlist.allocated) { 104 if (dlist_realloc(vol, vol->dlist.allocated + DLIST_ENTRY_QUANTUM) < 0) 130 if (vol->dlist.allocated [all...] |
H A D | dosfs.h | 137 uint32 last_allocated; // last allocated cluster 156 uint32 allocated; member in struct:_nspace::__anon4
|
/haiku/src/add-ons/kernel/drivers/graphics/common/ |
H A D | memory_manager.c | 32 // allocated memory block 38 bool allocated; member in struct:mem_block 78 block->allocated = false; 81 if (prev && !prev->allocated) { 88 if (next && !next->allocated) 151 first->allocated = false; 204 if (!current->allocated && current->size >= size) 225 newEntry->allocated = false; 236 current->allocated = true; 279 if (!block->allocated || bloc [all...] |
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | BlockAllocator.cpp | 205 uint64 allocated; local 207 allocated); 211 if (allocated < count) 242 Might allocate fewer block than requested. If no block could be allocated 254 blocks actually allocated. 255 \return \c B_OK, if one or more blocks could be allocated, another error 276 uint32 allocated; local 278 transaction, _allocatedBase, allocated); 282 if (allocated == toAllocate) { 283 _allocatedCount = allocated; 309 uint32 allocated; local 384 uint32 allocated; local 439 uint32 allocated; local [all...] |
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | vasprintf.c | 48 _IO_size_t allocated; local 68 magnitude then the memory we allocated. */ 70 allocated = sf._sbf._f._IO_write_end - sf._sbf._f._IO_write_base; 71 if ((allocated << 1) <= needed)
|
/haiku/src/system/runtime_loader/ |
H A D | heap.cpp | 29 When memory is allocated, the smallest free chunk that contains 37 size 0 that can't be allocated. 100 static FreeChunk* SetToAllocated(void* allocated); 184 /*! Returns the amount of bytes that can be allocated 257 FreeChunk::SetToAllocated(void* allocated) argument 259 return static_cast<FreeChunk*>((FreeChunkData*)allocated); 416 free(void* allocated) argument 418 if (allocated == NULL) 423 TRACE(("free(%p)\n", allocated)); 426 FreeChunk* freedChunk = FreeChunk::SetToAllocated(allocated); [all...] |
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_opt.h | 73 * If the format is "%s", memory is allocated for the string unlike 115 /** Is 'argv' allocated? */ 116 int allocated; member in struct:fuse_args
|
/haiku/src/kits/media/ |
H A D | RealtimeAlloc.cpp | 51 static FreeChunk* SetToAllocated(void* allocated); 90 /*! Returns the amount of bytes that can be allocated 199 FreeChunk::SetToAllocated(void* allocated) argument 201 return (FreeChunk*)((addr_t)allocated - FreeChunk::NextOffset()); 217 rtm_pool::Free(void* allocated) argument 219 FreeChunk* freedChunk = FreeChunk::SetToAllocated(allocated); 397 rtm_free(void* allocated) argument 399 if (allocated == NULL) 402 TRACE("rtm_free(%p)\n", allocated); 405 rtm_pool* pool = pool_for(allocated); [all...] |
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | BlockAllocator.h | 50 bool allocated = true, 54 bool allocated = true);
|
/haiku/src/tools/hvif2png/ |
H A D | hvif2png.cpp | 40 size_t allocated; member in struct:h2p_hvif_buffer 184 result->allocated = SIZE_HVIF_BUFFER_STEP; 193 if (result->used == result->allocated) { 195 result->allocated + SIZE_HVIF_BUFFER_STEP); 202 result->allocated += SIZE_HVIF_BUFFER_STEP; 206 result->allocated - result->used, in);
|
/haiku/src/system/boot/loader/ |
H A D | heap.cpp | 35 When memory is allocated, the smallest free chunk that contains 43 size 0 that can't be allocated. 56 // allocations of this size or larger are allocated via 106 static FreeChunk* SetToAllocated(void* allocated); 302 /*! Returns the amount of bytes that can be allocated 375 FreeChunk::SetToAllocated(void* allocated) argument 377 return static_cast<FreeChunk*>((FreeChunkData*)allocated); 563 free(void* allocated) argument 565 if (allocated == NULL) 568 TRACE("free(%p)\n", allocated); [all...] |
/haiku/src/add-ons/kernel/network/devices/ethernet/ |
H A D | ethernet.cpp | 290 net_buffer *allocated = NULL; 307 allocated = gBufferModule->duplicate(original); 308 if (allocated == NULL) 311 buffer = allocated; 313 if (gBufferModule->count_iovecs(allocated) > 1) { 315 gBufferModule->free(allocated); 330 if (allocated) 331 gBufferModule->free(allocated); 336 if (allocated) 337 gBufferModule->free(allocated); [all...] |
/haiku/src/libs/libfdt/ |
H A D | fdt_sw.c | 276 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) argument 282 *allocated = 0; 288 *allocated = 1; 297 int allocated; local 303 allocated = 1; 306 nameoff = fdt_find_add_string_(fdt, name, &allocated); 313 if (allocated)
|
H A D | fdt_rw.c | 123 * @allocated: Set to 0 if the string was found, 1 if not found and so 124 * allocated. Ignored if can_assume(NO_ROLLBACK) 127 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) argument 136 *allocated = 0; 149 *allocated = 1; 209 int allocated; local 214 namestroff = fdt_find_add_string_(fdt, name, &allocated); 224 if (!can_assume(NO_ROLLBACK) && allocated)
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | ExtentStream.cpp | 162 uint32 allocated = 0; local 169 if (allocated == 0) { 172 allocated); 207 && (last.Length() + allocated) <= EXT2_EXTENT_MAX_LENGTH) { 215 .SetLength(last.Length() + allocated); 217 fNumBlocks += allocated; 218 allocated = 0; 372 stream->extent_entries[index].SetLength(allocated); 379 fNumBlocks += allocated; 380 allocated [all...] |
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/ |
H A D | fuse_opt.c | 32 if (args->argv && args->allocated) { 40 args->allocated = 0; 55 assert(!args->argv || args->allocated); 63 args->allocated = 1;
|
/haiku/src/system/libroot/posix/malloc_hoard2/ |
H A D | heap.cpp | 424 int inUse, allocated; local 425 getStats(sizeclass, inUse, allocated); 426 if ((inUse < allocated - getReleaseThreshold(sizeclass)) 428 EMPTY_FRACTION * allocated - allocated)) {
|
H A D | wrapper.cpp | 132 puts("allocated:\n"); 594 int allocated = 0; local 605 allocated += classAllocated; 609 stats.bytes_total = allocated; 613 stats.bytes_free = allocated - used;
|
/haiku/src/system/kernel/events/ |
H A D | wait_for_objects.cpp | 101 uint8* allocated = (uint8*)alloc_tracing_buffer(bytes * sets); local 102 if (allocated != NULL) { 104 fReadSet = (fd_set*)allocated; 106 allocated += bytes; 109 fWriteSet = (fd_set*)allocated; 111 allocated += bytes; 114 fErrorSet = (fd_set*)allocated;
|
/haiku/src/build/libgnuregex/ |
H A D | regex.h | 276 the pattern compiler, the fields `buffer', `allocated', `fastmap', 290 unsigned long allocated; 462 allocated with malloc, and must each be at least `NUM_REGS * sizeof 287 unsigned long allocated; member in struct:re_pattern_buffer
|
H A D | regex.c | 175 not functions -- `alloca'-allocated space disappears at the end of the 731 printf ("%d bytes used/%d bytes allocated.\n", bufp->used, bufp->allocated); 880 /* If the buffer isn't allocated when it comes in, use this. */ 885 while (b - bufp->buffer + (n) > bufp->allocated) \ 946 if (bufp->allocated == MAX_BUF_SIZE) \ 948 bufp->allocated <<= 1; \ 949 if (bufp->allocated > MAX_BUF_SIZE) \ 950 bufp->allocated = MAX_BUF_SIZE; \ 951 bufp->buffer = (unsigned char *) realloc (bufp->buffer, bufp->allocated);\ [all...] |
/haiku/src/add-ons/kernel/partitioning_systems/intel/ |
H A D | write_support.cpp | 1046 returns pointer to the buffer (it's size is: blockSize * allocated) 1050 allocate_buffer(uint32 blockSize, int32 tryAlloc, int32* allocated) argument 1056 *allocated = i; 1060 *allocated = 0; 1151 int32 allocated; 1153 &allocated); 1162 buffer, allocated * partition->block_size, job); 2021 int32 allocated; local 2023 &allocated); 2034 allocated * partitio [all...] |
/haiku/src/kits/debugger/dwarf/ |
H A D | DebugInfoEntry.h | 140 DECLARE_DEBUG_INFO_ENTRY_ATTR_SETTER(allocated)
|
/haiku/headers/posix/ |
H A D | regex.h | 331 the pattern compiler, the fields `buffer', `allocated', `fastmap', 357 unsigned long int __REPB_PREFIX(allocated); 506 allocated with malloc, and must each be at least `NUM_REGS * sizeof
|