/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++98/ |
H A D | mt_allocator.cc | 64 static __freelist freelist; in get_freelist() local 65 return freelist; in get_freelist() 79 __freelist& freelist = get_freelist(); in _M_destroy_thread_key() local 85 _Thread_record* __tr = &freelist._M_thread_freelist_array[_M_id - 1]; in _M_destroy_thread_key() 86 __tr->_M_next = freelist._M_thread_freelist; in _M_destroy_thread_key() 87 freelist._M_thread_freelist = __tr; in _M_destroy_thread_key() 515 __freelist& freelist = get_freelist(); in _M_initialize() local 519 if (!freelist._M_thread_freelist_array in _M_initialize() 520 || freelist._M_max_threads < _M_options._M_max_threads) in _M_initialize() 541 if (!freelist._M_thread_freelist_array) in _M_initialize() [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++98/ |
H A D | mt_allocator.cc | 64 static __freelist freelist; in get_freelist() local 65 return freelist; in get_freelist() 79 __freelist& freelist = get_freelist(); in _M_destroy_thread_key() local 85 _Thread_record* __tr = &freelist._M_thread_freelist_array[_M_id - 1]; in _M_destroy_thread_key() 86 __tr->_M_next = freelist._M_thread_freelist; in _M_destroy_thread_key() 87 freelist._M_thread_freelist = __tr; in _M_destroy_thread_key() 515 __freelist& freelist = get_freelist(); in _M_initialize() local 519 if (!freelist._M_thread_freelist_array in _M_initialize() 520 || freelist._M_max_threads < _M_options._M_max_threads) in _M_initialize() 541 if (!freelist._M_thread_freelist_array) in _M_initialize() [all …]
|
/netbsd-src/bin/ksh/ |
H A D | alloc.c | 44 ap->freelist = NULL; in ainit() 53 for (l = ap->freelist; l != NULL; l = l2) { in afreeall() 57 ap->freelist = NULL; in afreeall() 72 l->next = ap->freelist; in alloc() 74 if (ap->freelist) in alloc() 75 ap->freelist->prev = l; in alloc() 76 ap->freelist = l; in alloc() 101 ap->freelist = l2; in aresize() 122 ap->freelist = l->next; in afree()
|
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/ |
H A D | mem_sec.c | 271 ((char*)(p) >= (char*)sh.freelist && (char*)(p) < (char*)&sh.freelist[sh.freelist_size]) 286 char **freelist; member 416 sh.freelist = OPENSSL_zalloc(sh.freelist_size * sizeof(char *)); in sh_init() 417 OPENSSL_assert(sh.freelist != NULL); in sh_init() 418 if (sh.freelist == NULL) in sh_init() 467 sh_add_to_list(&sh.freelist[0], sh.arena); in sh_init() 508 OPENSSL_free(sh.freelist); in sh_done() 552 if (sh.freelist[slist] != NULL) in sh_malloc() 559 char *temp = sh.freelist[slist]; in sh_malloc() 565 OPENSSL_assert(temp != sh.freelist[slist]); in sh_malloc() [all …]
|
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/ |
H A D | mem_sec.c | 299 ((char*)(p) >= (char*)sh.freelist && (char*)(p) < (char*)&sh.freelist[sh.freelist_size]) 314 char **freelist; member 463 sh.freelist = OPENSSL_zalloc(sh.freelist_size * sizeof(char *)); in sh_init() 464 OPENSSL_assert(sh.freelist != NULL); in sh_init() 465 if (sh.freelist == NULL) in sh_init() 526 sh_add_to_list(&sh.freelist[0], sh.arena); in sh_init() 580 OPENSSL_free(sh.freelist); in sh_done() 629 if (sh.freelist[slist] != NULL) in sh_malloc() 636 char *temp = sh.freelist[slist]; in sh_malloc() 642 OPENSSL_assert(temp != sh.freelist[slist]); in sh_malloc() [all …]
|
/netbsd-src/sys/arch/shark/stand/ofwboot/ |
H A D | alloc.c | 117 LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist); 144 for (f = freelist.lh_first; f != NULL && (size_t)f->size < size; in alloc() 152 f = freelist.lh_first; in alloc() 224 LIST_INSERT_HEAD(&freelist, a, list); in dealloc() 233 while ((m = freelist.lh_first) != NULL) { in freeall()
|
/netbsd-src/sys/arch/sparc/stand/ofwboot/ |
H A D | alloc.c | 117 LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist); 144 for (f = freelist.lh_first; f != NULL && (size_t)f->size < size; in alloc() 152 f = freelist.lh_first; in alloc() 224 LIST_INSERT_HEAD(&freelist, a, list); in dealloc() 234 while ((m = freelist.lh_first) != NULL) { in freeall()
|
/netbsd-src/sys/arch/macppc/stand/ofwboot/ |
H A D | alloc.c | 116 LIST_HEAD(, ml) freelist = LIST_HEAD_INITIALIZER(freelist); 143 for (f = freelist.lh_first; f != NULL && (size_t)f->size < size; in alloc() 151 f = freelist.lh_first; in alloc() 223 LIST_INSERT_HEAD(&freelist, a, list); in dealloc() 233 while ((m = freelist.lh_first) != NULL) { in freeall()
|
/netbsd-src/distrib/utils/more/ |
H A D | linenum.c | 101 static struct linenum *freelist; /* Anchor of the unused entries */ variable 122 freelist = pool; in clr_linenum() 180 if (freelist != NULL) 186 new = freelist; 187 freelist = freelist->next;
|
/netbsd-src/usr.sbin/isibootd/ |
H A D | isibootd.c | 92 } *activelist, *freelist; variable 286 if (freelist == NULL) in search() 288 cp = freelist; in search() 289 freelist = cp->next; in search() 314 cp->next = freelist; in closedown() 315 freelist = cp; in closedown() 329 freelist = calloc(NEWPOOL, sizeof(struct session)); in makepool() 330 if (freelist == NULL) in makepool() 332 cp = freelist; in makepool()
|
/netbsd-src/sys/lib/libsa/ |
H A D | alloc.c | 143 } *freelist; variable 166 struct fl **f = &freelist, **bestf = NULL; in alloc() 240 f->next = freelist; in dealloc() 241 freelist = f; in dealloc()
|
/netbsd-src/external/bsd/less/dist/ |
H A D | linenum.c | 65 static struct linenum_info *freelist; /* Anchor of the unused entries */ variable 91 freelist = pool; in clr_linenum() 144 if (freelist != NULL) in add_lnum() 150 new = freelist; in add_lnum() 151 freelist = freelist->next; in add_lnum()
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/src/ |
H A D | write-qt.c | 523 struct list_cell *freelist; in write_qm() local 529 freelist = list_memory; in write_qm() 549 freelist->context = context; in write_qm() 550 freelist->next = NULL; in write_qm() 551 *buckets[i].tail = freelist; in write_qm() 552 buckets[i].tail = &freelist->next; in write_qm() 553 freelist++; in write_qm()
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/ |
H A D | thompson.d | 526 freelist = matcher.freelist; in with() 554 freelist = matcher.freelist; in with() 725 Thread!DataIndex* freelist; 861 freelist = matcher.freelist; in this() 877 freelist = matcher.freelist; in this() 1129 assert(freelist, "not enough preallocated memory"); 1130 Thread!DataIndex* t = freelist; 1131 freelist = freelist.next; 1140 freelist = cast(Thread!DataIndex*)&mem[0]; in prepareFreeList() 1150 t.next = freelist; [all …]
|
/netbsd-src/sbin/restore/ |
H A D | symtab.c | 214 static struct entry *freelist = NULL; variable 224 if (freelist == NULL) { in addentry() 230 np->e_next = freelist; in addentry() 231 freelist = np; in addentry() 234 np = freelist; in addentry() 235 freelist = np->e_next; in addentry() 308 ep->e_next = freelist; in freeentry() 309 freelist = ep; in freeentry()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
H A D | tokens.c | 22 Token *Token::freelist = NULL; 28 if (Token::freelist) in alloc() 30 Token *t = freelist; in alloc() 31 freelist = t->next; in alloc() 41 next = freelist; in free() 42 freelist = this; in free()
|
H A D | dscope.c | 29 Scope *Scope::freelist = NULL; 47 if (freelist) in alloc() 49 Scope *s = freelist; in alloc() 50 freelist = s->enclosing; in alloc() 198 enclosing = freelist; in pop() 199 freelist = this; in pop()
|
/netbsd-src/external/gpl3/gcc.old/dist/libbacktrace/ |
H A D | mmap.c | 86 for (pp = &state->freelist; *pp != NULL; pp = &(*pp)->next) in backtrace_free_locked() 100 p->next = state->freelist; in backtrace_free_locked() 102 state->freelist = p; in backtrace_free_locked() 135 for (pp = &state->freelist; *pp != NULL; pp = &(*pp)->next) in backtrace_alloc()
|
/netbsd-src/external/gpl3/gcc/dist/libbacktrace/ |
H A D | mmap.c | 90 for (pp = &state->freelist; *pp != NULL; pp = &(*pp)->next) in backtrace_free_locked() 104 p->next = state->freelist; in backtrace_free_locked() 106 state->freelist = p; in backtrace_free_locked() 139 for (pp = &state->freelist; *pp != NULL; pp = &(*pp)->next) in backtrace_alloc()
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/ |
H A D | thompson.d | 525 freelist = matcher.freelist; in with() 552 freelist = matcher.freelist; in with() 723 Thread!DataIndex* freelist; 883 freelist = matcher.freelist; in this() 901 freelist = matcher.freelist; in this() 1157 assert(freelist, "not enough preallocated memory"); 1158 Thread!DataIndex* t = freelist; 1159 freelist = freelist.next; 1168 freelist = cast(Thread!DataIndex*)&mem[0]; in prepareFreeList() 1178 t.next = freelist; [all …]
|
/netbsd-src/usr.sbin/lockstat/ |
H A D | main.c | 132 static locklist_t freelist; variable 369 TAILQ_INIT(&freelist); in main() 579 TAILQ_INSERT_TAIL(&freelist, lp, chain); in morelocks() 620 TAILQ_CONCAT(&freelist, &locklist, chain); in makelists() 643 if ((l = TAILQ_FIRST(&freelist)) == NULL) in makelists() 645 TAILQ_REMOVE(&freelist, l, chain); in makelists()
|
/netbsd-src/external/bsd/top/dist/machine/ |
H A D | m_linuxthr.c | 265 static struct top_proc *freelist = NULL; variable 274 if (freelist) in new_proc() 276 p = freelist; in new_proc() 277 freelist = freelist->next; in new_proc() 307 proc->next = freelist; in free_proc() 308 freelist = proc; in free_proc()
|
H A D | m_linux.c | 292 static struct top_proc *freelist = NULL; variable 301 if (freelist) in new_proc() 303 p = freelist; in new_proc() 304 freelist = freelist->next; in new_proc() 334 proc->next = freelist; in free_proc() 335 freelist = proc; in free_proc()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
H A D | dscope.d | 147 extern (D) __gshared Scope* freelist; 151 if (freelist) in alloc() 153 Scope* s = freelist; in alloc() 154 freelist = s.enclosing; in alloc() 242 enclosing = freelist; in pop() 243 freelist = &this; in pop()
|
/netbsd-src/sys/uvm/ |
H A D | uvm_aobj.c | 521 uao_set_pgfl(struct uvm_object *uobj, int freelist) in uao_set_pgfl() argument 525 KASSERTMSG((0 <= freelist), "invalid freelist %d", freelist); in uao_set_pgfl() 526 KASSERTMSG((freelist <= VM_NFREELIST), "invalid freelist %d", in uao_set_pgfl() 527 freelist); in uao_set_pgfl() 529 aobj->u_freelist = freelist; in uao_set_pgfl()
|