/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/tests/ |
standalone_malloc_test.cc | 21 vector<pair<char *, size_t> > allocated; local in function:MallocThread 22 allocated.reserve(kNumIters); 36 allocated.push_back(make_pair(x, size)); 39 if (allocated.empty()) continue; 40 size_t slot = i % allocated.size(); 41 char *p = allocated[slot].first; 43 size_t size = allocated[slot].second; 45 swap(allocated[slot], allocated.back()); 46 allocated.pop_back() [all...] |
/src/lib/libc/gen/ |
getpass.c | 92 bool lnext, havetty, allocated, opentty, good; local in function:__weak_alias 119 allocated = buf == NULL; 143 if (allocated) { 253 if (allocated) { 315 if (allocated)
|
/src/sys/dev/raidframe/ |
rf_debugMem.c | 57 char allocated; member in struct:mh_struct 77 printf("%s,%d: %s: Debug address allocated\n", file, line, 106 if (!p->allocated) 171 p->allocated = 0; 173 if (p->allocated) { 176 printf("%s: last allocated @%s,%u\n", 183 p->allocated = 1; 196 printf("%s: ERROR: Freeing never-allocated address %p\n", 200 if (!p->allocated) { 210 " free for address %p. Allocated @%s,%u\n", __func__ [all...] |
/src/usr.sbin/altq/libaltq/ |
qop_cbq.h | 64 uint64_t allocated; /* bandwidth used by children */ member in struct:cbq_classinfo
|
/src/lib/libform/ |
internals.h | 90 unsigned allocated; member in struct:_formi_field_lines
|
form.h | 180 size_t allocated; member in struct:_form_string
|
/src/sys/external/bsd/compiler_rt/dist/lib/lsan/ |
lsan_allocator.h | 42 u8 allocated : 8; // Must be first. member in struct:__lsan::ChunkMetadata
|
lsan_allocator.cc | 239 if (!m->allocated) 257 bool LsanMetadata::allocated() const { function in class:__lsan::LsanMetadata 258 return reinterpret_cast<ChunkMetadata *>(metadata_)->allocated; 286 if (m->allocated && (uptr)p < (uptr)chunk + m->requested_size) {
|
lsan_interceptors.cc | 69 static uptr allocated; local in function:INTERCEPTOR 71 void *mem = (void*)&calloc_memory_for_dlsym[allocated]; 72 allocated += size_in_words; 73 CHECK(allocated < kCallocPoolSize);
|
/src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/ |
sanitizer_symbolizer_libbacktrace.cc | 45 uptr size, allocated; member in struct:__sanitizer::__anon591f2e6f0110::CplusV3DemangleData 52 if (needed > data->allocated) { 53 data->allocated *= 2; 54 if (needed > data->allocated) 55 data->allocated = needed; 56 char *buf = (char *)InternalAlloc(data->allocated); 73 data.allocated = 0; 76 if (data.size + 64 > data.allocated)
|
/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_buddy.c | 355 struct list_head allocated = LIST_HEAD_INIT(allocated); local in function:i915_buddy_alloc_range 405 list_add_tail(&block->link, &allocated); 419 list_splice_tail(&allocated, blocks); 426 * free the allocated blocks. 435 i915_buddy_free_list(mm, &allocated);
|
/src/tests/lib/libcurses/director/ |
returns.h | 63 size_t allocated; member in struct:__anon65b358240308
|
/src/sys/external/bsd/compiler_rt/dist/lib/asan/ |
asan_malloc_linux.cc | 53 // Hack: since glibc 2.27 dlsym no longer uses stack-allocated memory to store 77 uptr allocated = end_mem - alloc_memory_for_dlsym; local in function:PosixMemalignFromLocalPool 78 if (allocated >= kDlsymAllocPoolSize) 81 allocated_for_dlsym = allocated;
|
asan_allocator.cc | 54 // The memory chunk allocated from the underlying allocator looks like this: 104 // Every chunk of memory allocated by this allocator can be in one of 3 states: 105 // CHUNK_AVAILABLE: the chunk is in the free list and ready to be allocated. 106 // CHUNK_ALLOCATED: the chunk is allocated and not yet freed. 377 // Prefer an allocated chunk over freed chunk and freed chunk 420 // consecutive "new" calls must be different even if the allocated size 450 void *allocated; local in function:__asan::Allocator::Allocate 453 allocated = allocator.Allocate(cache, needed_size, 8); 457 allocated = allocator.Allocate(cache, needed_size, 8); 459 if (UNLIKELY(!allocated)) { 1023 bool LsanMetadata::allocated() const { function in class:__lsan::LsanMetadata [all...] |
/src/sys/external/bsd/drm2/dist/drm/radeon/ |
radeon_vce.c | 571 * @allocated: allocated a new handle? 577 uint32_t handle, bool *allocated) 581 *allocated = false; 599 *allocated = true; 617 bool destroyed = false, created = false, allocated = false; local in function:radeon_vce_cs_parse 642 &allocated); 653 if (!allocated) { 725 if (allocated && !created) { 731 if ((!r && destroyed) || (r && allocated)) { [all...] |
/src/sys/external/bsd/libfdt/dist/ |
fdt_rw.c | 117 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) 125 *allocated = 0; 137 *allocated = 1; 197 int allocated; local in function:fdt_add_property_ 202 namestroff = fdt_find_add_string_(fdt, name, &allocated); 211 if (allocated)
|
fdt_sw.c | 270 static int fdt_find_add_string_(void *fdt, const char *s, int *allocated) 276 *allocated = 0; 282 *allocated = 1; 291 int allocated; local in function:fdt_property_placeholder 297 allocated = 1; 300 nameoff = fdt_find_add_string_(fdt, name, &allocated); 307 if (allocated)
|
/src/usr.sbin/acpitools/aml/ |
aml_memman.h | 47 unsigned int allocated; /* number of allocated chunks */ member in struct:memman_block 116 size_t flex_mem_size_min; /* min size of allocated memory */ 117 size_t flex_mem_size_max; /* max size of allocated memory */
|
/src/common/lib/libc/rpc/ |
xdr.c | 597 * If *cpp is NULL maxsize bytes are allocated 604 bool_t ret, allocated = FALSE; local in function:xdr_bytes 634 allocated = TRUE; 645 if (allocated == TRUE) { 740 * storage is allocated. The last parameter is the max allowed length 750 bool_t ret, allocated = FALSE; local in function:xdr_string 793 allocated = TRUE; 805 if (allocated == TRUE) {
|
/src/sys/external/bsd/compiler_rt/dist/lib/msan/ |
msan_allocator.cc | 154 void *allocated; local in function:__msan::MsanAllocate 157 allocated = allocator.Allocate(cache, size, alignment); 161 allocated = allocator.Allocate(cache, size, alignment); 163 if (UNLIKELY(!allocated)) { 170 reinterpret_cast<Metadata *>(allocator.GetMetaData(allocated)); 173 __msan_clear_and_unpoison(allocated, size); 175 __msan_poison(allocated, size); 179 __msan_set_origin(allocated, size, o.raw_id()); 182 MSAN_MALLOC_HOOK(allocated, size); 183 return allocated; [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
amdgpu_vce.c | 682 * @allocated: allocated a new handle? 688 uint32_t handle, uint32_t *allocated) 708 *allocated |= 1 << i; 730 uint32_t allocated = 0; local in function:amdgpu_vce_ring_parse_cs 813 &allocated); 830 allocated |= 1 << session_idx; 832 } else if (!(allocated & (1 << session_idx))) { 932 if (allocated & ~created) { 942 /* Error during parsing, free all allocated handle slots * 965 uint32_t allocated = 0; local in function:amdgpu_vce_ring_parse_cs_vm [all...] |
/src/sys/dev/acpi/ |
qcomsmem.c | 38 uint32_t allocated; member in struct:qcsmem_global_entry 328 if (entry->allocated) 338 entry->allocated = 1; 461 if (!entry->allocated)
|
/src/sys/net/npf/ |
npf_tableset.c | 499 const unsigned allocated = t->t_allocated[aidx]; local in function:table_ifaddr_insert 505 if (allocated <= used) { 510 toalloc = roundup2(allocated + 1, NPF_IFADDR_STEP); 520 if (allocated) { 521 const size_t len = allocated * sizeof(npf_tblent_t *);
|
/src/lib/librefuse/ |
fuse.h | 218 int allocated; member in struct:fuse_args
|
/src/lib/libpthread/ |
pthread.c | 222 * yet allocated. 340 bool allocated; local in function:pthread__getstack 382 allocated = true; 384 allocated = false; 393 if (allocated && guardsize && 401 newthread->pt_stack_allocated = allocated;
|