/netbsd/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 87 freelist._M_thread_freelist = __tr; in _M_destroy_thread_key() 552 = freelist._M_thread_freelist; in _M_initialize() 555 freelist._M_thread_freelist in _M_initialize() 563 next_id = freelist._M_max_threads; in _M_initialize() 643 freelist._M_thread_freelist in _M_get_thread_id() 747 = freelist._M_thread_freelist; in _M_initialize() 750 freelist._M_thread_freelist in _M_initialize() [all …]
|
/netbsd/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 87 freelist._M_thread_freelist = __tr; in _M_destroy_thread_key() 552 = freelist._M_thread_freelist; in _M_initialize() 555 freelist._M_thread_freelist in _M_initialize() 563 next_id = freelist._M_max_threads; in _M_initialize() 643 freelist._M_thread_freelist in _M_get_thread_id() 747 = freelist._M_thread_freelist; in _M_initialize() 750 freelist._M_thread_freelist in _M_initialize() [all …]
|
/netbsd/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/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 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() 587 chunk = sh.freelist[list]; in sh_malloc() 614 sh_add_to_list(&sh.freelist[list], ptr); in sh_free() [all …]
|
/netbsd/crypto/external/bsd/openssl/dist/crypto/ |
H A D | mem_sec.c | 293 ((char*)(p) >= (char*)sh.freelist && (char*)(p) < (char*)&sh.freelist[sh.freelist_size]) 308 char **freelist; member 458 OPENSSL_assert(sh.freelist != NULL); in sh_init() 459 if (sh.freelist == NULL) in sh_init() 520 sh_add_to_list(&sh.freelist[0], sh.arena); in sh_init() 574 OPENSSL_free(sh.freelist); in sh_done() 623 if (sh.freelist[slist] != NULL) in sh_malloc() 630 char *temp = sh.freelist[slist]; in sh_malloc() 658 chunk = sh.freelist[list]; in sh_malloc() 685 sh_add_to_list(&sh.freelist[list], ptr); in sh_free() [all …]
|
/netbsd/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/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/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/external/bsd/ntp/dist/libntp/ |
H A D | recvbuff.c | 314 recvbuf_t *freelist = NULL; in purge_recv_buffers_for_fd() local 338 rbufp->link = freelist; in purge_recv_buffers_for_fd() 339 freelist = rbufp; in purge_recv_buffers_for_fd() 345 while (freelist) { in purge_recv_buffers_for_fd() 346 next = freelist->link; in purge_recv_buffers_for_fd() 347 freerecvbuf(freelist); in purge_recv_buffers_for_fd() 348 freelist = next; in purge_recv_buffers_for_fd()
|
/netbsd/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/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/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/external/gpl3/gdb/dist/gdb/ |
H A D | dcache.c | 111 struct dcache_block *freelist; member 224 for_each_block (&dcache->freelist, free_block, NULL); in dcache_free() 239 append_block (&dcache->freelist, block); in invalidate_block() 258 for_each_block (&dcache->freelist, free_block, dcache); in dcache_invalidate() 259 dcache->freelist = NULL; in dcache_invalidate() 275 append_block (&dcache->freelist, db); in dcache_invalidate_line() 366 db = dcache->freelist; in dcache_alloc() 368 remove_block (&dcache->freelist, db); in dcache_alloc() 452 dcache->freelist = NULL; in dcache_init()
|
/netbsd/external/gpl3/gdb.old/dist/gdb/ |
H A D | dcache.c | 111 struct dcache_block *freelist; member 224 for_each_block (&dcache->freelist, free_block, NULL); in dcache_free() 239 append_block (&dcache->freelist, block); in invalidate_block() 258 for_each_block (&dcache->freelist, free_block, dcache); in dcache_invalidate() 259 dcache->freelist = NULL; in dcache_invalidate() 275 append_block (&dcache->freelist, db); in dcache_invalidate_line() 366 db = dcache->freelist; in dcache_alloc() 368 remove_block (&dcache->freelist, db); in dcache_alloc() 452 dcache->freelist = NULL; in dcache_init()
|
/netbsd/external/bsd/less/dist/ |
H A D | linenum.c | 65 static struct linenum_info *freelist; /* Anchor of the unused entries */ variable 93 freelist = pool; in clr_linenum() 151 if (freelist != NULL) 157 new = freelist; 158 freelist = freelist->next;
|
/netbsd/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/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() 1130 Thread!DataIndex* t = freelist; 1131 freelist = freelist.next; 1150 t.next = freelist; 1151 freelist = t; 1160 list.toe.next = freelist; [all …]
|
/netbsd/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/external/gpl3/gcc/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/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()
|
/netbsd/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/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/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() 1158 Thread!DataIndex* t = freelist; 1159 freelist = freelist.next; 1178 t.next = freelist; 1179 freelist = t; 1188 list.toe.next = freelist; [all …]
|
/netbsd/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()
|