| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/internal/gc/ |
| H A D | pooltable.d | 18 cstdlib.free(pools); in PoolTable() 19 pools = null; in PoolTable() 25 auto newpools = cast(Pool **)cstdlib.realloc(pools, (npools + 1) * pools[0].sizeof); in PoolTable() 29 pools = newpools; in PoolTable() 35 if (pool.baseAddr < pools[i].baseAddr) in PoolTable() 39 memmove(pools + i + 1, pools + i, (npools - i) * pools[0].sizeof); in PoolTable() 40 pools[i] = pool; in PoolTable() 45 pools[idx].ptIndex = idx; in PoolTable() 47 _minAddr = pools[0].baseAddr; in PoolTable() 48 _maxAddr = pools[npools - 1].topAddr; in PoolTable() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gc/ |
| H A D | pooltable.d | 19 cstdlib.free(pools); in PoolTable() 20 pools = null; in PoolTable() 26 auto newpools = cast(Pool **)cstdlib.realloc(pools, (npools + 1) * pools[0].sizeof); in PoolTable() 30 pools = newpools; in PoolTable() 36 if (pool.baseAddr < pools[i].baseAddr) in PoolTable() 40 memmove(pools + i + 1, pools + i, (npools - i) * pools[0].sizeof); in PoolTable() 41 pools[i] = pool; in PoolTable() 45 _minAddr = pools[0].baseAddr; in PoolTable() 46 _maxAddr = pools[npools - 1].topAddr; in PoolTable() 60 return pools[idx]; in PoolTable() [all …]
|
| /netbsd-src/sys/dev/raidframe/ |
| H A D | rf_callback.c | 62 pool_destroy(&raidPtr->pools.callbackf); in rf_ShutdownCallback() 63 pool_destroy(&raidPtr->pools.callbackv); in rf_ShutdownCallback() 71 …rf_pool_init(raidPtr, raidPtr->poolNames.callbackf, &raidPtr->pools.callbackf, sizeof(RF_CallbackF… in rf_ConfigureCallback() 73 …rf_pool_init(raidPtr, raidPtr->poolNames.callbackv, &raidPtr->pools.callbackv, sizeof(RF_CallbackV… in rf_ConfigureCallback() 83 return pool_get(&raidPtr->pools.callbackf, PR_WAITOK); in rf_AllocCallbackFuncDesc() 89 pool_put(&raidPtr->pools.callbackf, p); in rf_FreeCallbackFuncDesc() 95 return pool_get(&raidPtr->pools.callbackv, PR_WAITOK); in rf_AllocCallbackValueDesc() 101 pool_put(&raidPtr->pools.callbackv, p); in rf_FreeCallbackValueDesc()
|
| H A D | rf_map.c | 348 pool_destroy(&raidPtr->pools.asm_hdr); in rf_ShutdownMapModule() 349 pool_destroy(&raidPtr->pools.asmap); in rf_ShutdownMapModule() 350 pool_destroy(&raidPtr->pools.asmhle); in rf_ShutdownMapModule() 351 pool_destroy(&raidPtr->pools.pda); in rf_ShutdownMapModule() 352 pool_destroy(&raidPtr->pools.fss); in rf_ShutdownMapModule() 353 pool_destroy(&raidPtr->pools.vfple); in rf_ShutdownMapModule() 354 pool_destroy(&raidPtr->pools.vple); in rf_ShutdownMapModule() 362 …rf_pool_init(raidPtr, raidPtr->poolNames.asm_hdr, &raidPtr->pools.asm_hdr, sizeof(RF_AccessStripeM… in rf_ConfigureMapModule() 364 …rf_pool_init(raidPtr, raidPtr->poolNames.asmap, &raidPtr->pools.asmap, sizeof(RF_AccessStripeMap_t… in rf_ConfigureMapModule() 366 …rf_pool_init(raidPtr, raidPtr->poolNames.asmhle, &raidPtr->pools.asmhle, sizeof(RF_ASMHeaderListEl… in rf_ConfigureMapModule() [all …]
|
| H A D | rf_mcpair.c | 63 pool_destroy(&raidPtr->pools.mcpair); in rf_ShutdownMCPair() 71 rf_pool_init(raidPtr, raidPtr->poolNames.mcpair, &raidPtr->pools.mcpair, sizeof(RF_MCPair_t), in rf_ConfigureMCPair() 83 t = pool_get(&raidPtr->pools.mcpair, PR_WAITOK); in rf_AllocMCPair() 96 pool_put(&raidPtr->pools.mcpair, t); in rf_FreeMCPair()
|
| H A D | rf_diskqueue.c | 204 pool_destroy(&raidPtr->pools.dqd); in rf_ShutdownDiskQueueSystem() 205 pool_destroy(&raidPtr->pools.bufio); in rf_ShutdownDiskQueueSystem() 214 rf_pool_init(raidPtr, raidPtr->poolNames.dqd, &raidPtr->pools.dqd, sizeof(RF_DiskQueueData_t), in rf_ConfigureDiskQueueSystem() 216 rf_pool_init(raidPtr, raidPtr->poolNames.bufio, &raidPtr->pools.bufio, sizeof(buf_t), in rf_ConfigureDiskQueueSystem() 387 p = pool_get(&raidPtr->pools.dqd, PR_WAITOK | PR_ZERO); in rf_CreateDiskQueueData() 396 p->bp = pool_get(&raidPtr->pools.bufio, PR_WAITOK | PR_ZERO); in rf_CreateDiskQueueData() 429 pool_put(&p->raidPtr->pools.bufio, p->bp); in rf_FreeDiskQueueData() 430 pool_put(&p->raidPtr->pools.dqd, p); in rf_FreeDiskQueueData()
|
| H A D | rf_dagutils.c | 240 pool_destroy(&raidPtr->pools.dagh); in rf_ShutdownDAGs() 241 pool_destroy(&raidPtr->pools.dagnode); in rf_ShutdownDAGs() 242 pool_destroy(&raidPtr->pools.daglist); in rf_ShutdownDAGs() 243 pool_destroy(&raidPtr->pools.dagpcache); in rf_ShutdownDAGs() 244 pool_destroy(&raidPtr->pools.funclist); in rf_ShutdownDAGs() 252 rf_pool_init(raidPtr, raidPtr->poolNames.dagnode, &raidPtr->pools.dagnode, sizeof(RF_DagNode_t), in rf_ConfigureDAGs() 254 rf_pool_init(raidPtr, raidPtr->poolNames.dagh, &raidPtr->pools.dagh, sizeof(RF_DagHeader_t), in rf_ConfigureDAGs() 256 rf_pool_init(raidPtr, raidPtr->poolNames.daglist, &raidPtr->pools.daglist, sizeof(RF_DagList_t), in rf_ConfigureDAGs() 258 rf_pool_init(raidPtr, raidPtr->poolNames.dagpcache, &raidPtr->pools.dagpcache, RF_DAGPCACHE_SIZE, in rf_ConfigureDAGs() 260 rf_pool_init(raidPtr, raidPtr->poolNames.funclist, &raidPtr->pools.funclist, sizeof(RF_FuncList_t), in rf_ConfigureDAGs() [all …]
|
| H A D | rf_revent.c | 62 pool_destroy(&raidPtr->pools.revent); in rf_ShutdownReconEvent() 70 rf_pool_init(raidPtr, raidPtr->poolNames.revent, &raidPtr->pools.revent, sizeof(RF_ReconEvent_t), in rf_ConfigureReconEvent() 192 t = pool_get(&raidPtr->pools.revent, PR_WAITOK); in GetReconEventDesc() 228 pool_put(&raidPtr->pools.revent, event); in rf_FreeReconEventDesc()
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/ |
| H A D | stringtable.c | 30 pools = (uint8_t **)mem.xrealloc(pools, ++npools * sizeof(pools[0])); in allocValue() 31 pools[npools - 1] = (uint8_t *)mem.xmalloc(nbytes > POOL_SIZE ? nbytes : POOL_SIZE); in allocValue() 35 StringValue *sv = (StringValue *)&pools[npools - 1][nfill]; in allocValue() 52 return (StringValue *)&pools[idx][off]; in getValue() 71 pools = NULL; in _init() 79 mem.xfree(pools[i]); in reset() 82 mem.xfree(pools); in reset() 84 pools = NULL; in reset() 91 mem.xfree(pools[i]); in ~StringTable() 94 mem.xfree(pools); in ~StringTable() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libgomp/config/rtems/ |
| H A D | proc.c | 55 struct gomp_thread_pool *pools; in allocate_thread_pool_reservoir() local 62 size = sizeof (*res) + count * (sizeof(pools) + sizeof(*pools)); in allocate_thread_pool_reservoir() 63 pools = gomp_malloc (size); in allocate_thread_pool_reservoir() 64 memset (pools, 0, size); in allocate_thread_pool_reservoir() 65 res = (struct gomp_thread_pool_reservoir *) (pools + count); in allocate_thread_pool_reservoir() 71 res->pools[i] = &pools[i]; in allocate_thread_pool_reservoir()
|
| /netbsd-src/external/gpl3/gcc/dist/libgomp/config/rtems/ |
| H A D | proc.c | 55 struct gomp_thread_pool *pools; in allocate_thread_pool_reservoir() local 62 size = sizeof (*res) + count * (sizeof(pools) + sizeof(*pools)); in allocate_thread_pool_reservoir() 63 pools = gomp_malloc (size); in allocate_thread_pool_reservoir() 64 memset (pools, 0, size); in allocate_thread_pool_reservoir() 65 res = (struct gomp_thread_pool_reservoir *) (pools + count); in allocate_thread_pool_reservoir() 71 res->pools[i] = &pools[i]; in allocate_thread_pool_reservoir()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/root/ |
| H A D | stringtable.d | 89 ubyte*[] pools; 102 pools = null; 245 foreach (pool; pools) 248 mem.xfree(pools.ptr); 250 pools = null; 257 if (!pools.length || nfill + nbytes > POOL_SIZE) 259 …pools = (cast(ubyte**) mem.xrealloc(pools.ptr, (pools.length + 1) * (pools[0]).sizeof))[0 .. pools… 260 pools[$-1] = cast(ubyte*) mem.xmalloc(nbytes > POOL_SIZE ? nbytes : POOL_SIZE); 262 memset(pools[$ - 1], 0xff, POOL_SIZE); // 0xff less likely to produce GC pointer 265 StringValue!(T)* sv = cast(StringValue!(T)*)&pools[$ - 1][nfill]; [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/src/c++17/ |
| H A D | memory_resource.cc | 1113 : owner(owner), pools(owner._M_impl._M_alloc_pools()) in _TPools() 1116 __glibcxx_assert(pools); in _TPools() 1122 __glibcxx_assert(pools); in ~_TPools() 1123 if (pools) in ~_TPools() 1127 pools[i].release(r); in ~_TPools() 1128 std::destroy_n(pools, owner._M_impl._M_npools); in ~_TPools() 1130 a.deallocate(pools, owner._M_impl._M_npools); in ~_TPools() 1141 __glibcxx_assert(pools); in move_nonempty_chunks() 1143 if (!pools) in move_nonempty_chunks() 1146 auto* const shared = owner._M_tpools->pools; in move_nonempty_chunks() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/src/c++17/ |
| H A D | memory_resource.cc | 1080 : owner(owner), pools(owner._M_impl._M_alloc_pools()) in _TPools() 1083 __glibcxx_assert(pools); in _TPools() 1089 __glibcxx_assert(pools); in ~_TPools() 1090 if (pools) in ~_TPools() 1094 pools[i].release(r); in ~_TPools() 1095 std::destroy_n(pools, owner._M_impl._M_npools); in ~_TPools() 1097 a.deallocate(pools, owner._M_impl._M_npools); in ~_TPools() 1108 __glibcxx_assert(pools); in move_nonempty_chunks() 1110 if (!pools) in move_nonempty_chunks() 1113 auto* const shared = owner._M_tpools->pools; in move_nonempty_chunks() [all …]
|
| /netbsd-src/sys/external/bsd/drm2/dist/drm/ttm/ |
| H A D | ttm_page_alloc_dma.c | 102 struct list_head pools; /* The 'struct device->dma_pools link */ member 153 struct list_head pools; member 169 struct list_head pools; member 511 list_for_each_entry_reverse(p, &_manager->pools, pools) { in ttm_dma_free_pool() 518 list_del(&p->pools); in ttm_dma_free_pool() 523 list_for_each_entry_reverse(pool, &dev->dma_pools, pools) { in ttm_dma_free_pool() 534 list_del(&pool->pools); in ttm_dma_free_pool() 588 INIT_LIST_HEAD(&sec_pool->pools); in ttm_dma_pool_init() 593 INIT_LIST_HEAD(&pool->pools); in ttm_dma_pool_init() 623 list_add(&sec_pool->pools, &_manager->pools); in ttm_dma_pool_init() [all …]
|
| /netbsd-src/external/mpl/dhcp/dist/keama/tests/ |
| H A D | sharepools4.out | 2 # DHCPv4 two pools and subnets shared-network declaration config 29 "pools": [ 30 # pools at shared-network level 40 "pools": [
|
| H A D | optiondatapool6.out | 11 "pools": [ 17 # for a silly reason option-data is not allowed in DHCPv4 pools 18 # but allowed in DHCPv6 pools
|
| /netbsd-src/external/mpl/dhcp/dist/keama/ |
| H A D | confparse.c | 1153 struct element *pools; in parse_pool_statement() local 1225 pools = mapGet(cfile->stack[cfile->stack_top], "pools"); in parse_pool_statement() 1226 if (pools == NULL) { in parse_pool_statement() 1227 pools = createList(); in parse_pool_statement() 1228 pools->kind = POOL_DECL; in parse_pool_statement() 1229 mapSet(cfile->stack[cfile->stack_top], pools, "pools"); in parse_pool_statement() 1239 listPush(pools, pool); in parse_pool_statement() 1265 listPush(pools, first); in parse_pool_statement() 1268 listPush(pools, pool); in parse_pool_statement() 2181 struct element *pools; in parse_shared_net_declaration() local [all …]
|
| /netbsd-src/usr.bin/xlint/lint1/ |
| H A D | mem1.c | 161 struct memory_pool *pools; member 254 mpools.pools = xrealloc(mpools.pools, in mpool_at() 255 sizeof(*mpools.pools) * mpools.cap); in mpool_at() 257 mpools.pools[i] = (memory_pool){ NULL, 0, 0 }; in mpool_at() 259 return mpools.pools + level; in mpool_at()
|
| /netbsd-src/tests/ipf/expected/ |
| H A D | n4 | 19 List of configured pools 50 List of configured pools 82 List of configured pools 113 List of configured pools 145 List of configured pools 178 List of configured pools
|
| H A D | n4_6 | 19 List of configured pools 50 List of configured pools 82 List of configured pools 113 List of configured pools 145 List of configured pools 178 List of configured pools
|
| H A D | n6_6 | 23 List of configured pools 58 List of configured pools 92 List of configured pools 127 List of configured pools 161 List of configured pools
|
| H A D | n6 | 23 List of configured pools 58 List of configured pools 92 List of configured pools 127 List of configured pools 161 List of configured pools
|
| /netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/ |
| H A D | libzfs_import.c | 98 pool_entry_t *pools; member 278 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in add_config() 289 pe->pe_next = pl->pools; in add_config() 290 pl->pools = pe; in add_config() 470 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in get_configs() 1173 pool_list_t pools = { 0 }; in zpool_find_import_impl() local 1369 if (add_config(hdl, &pools, path, in zpool_find_import_impl() 1385 ret = get_configs(hdl, &pools, iarg->can_be_active); in zpool_find_import_impl() 1388 for (pe = pools.pools; pe != NULL; pe = penext) { in zpool_find_import_impl() 1402 for (ne = pools.names; ne != NULL; ne = nenext) { in zpool_find_import_impl() [all …]
|
| /netbsd-src/regress/sys/kern/ipf/expected/ |
| H A D | n18 | 25 List of configured pools 54 List of configured pools 83 List of configured pools
|