| /src/external/bsd/ipf/dist/lib/ |
| load_pool.c | 25 ip_pool_t pool; local 34 op.iplo_size = sizeof(pool); 35 op.iplo_struct = &pool; 36 bzero((char *)&pool, sizeof(pool)); 37 pool.ipo_unit = plp->ipo_unit; 38 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name)); 52 strncpy(pool.ipo_name, op.iplo_name, sizeof(pool.ipo_name)) [all...] |
| remove_pool.c | 24 ip_pool_t pool; local 32 op.iplo_size = sizeof(pool); 33 op.iplo_struct = &pool; 35 bzero((char *)&pool, sizeof(pool)); 36 pool.ipo_unit = poolp->ipo_unit; 37 strncpy(pool.ipo_name, poolp->ipo_name, sizeof(pool.ipo_name)); 38 pool.ipo_flags = poolp->ipo_flags; 43 "delete lookup pool"); [all...] |
| /src/external/gpl3/gcc/dist/libgomp/config/posix/ |
| pool.h | 26 /* This is the default implementation of the thread pool management 34 /* Get the thread pool, allocate and initialize it on demand. */ 39 struct gomp_thread_pool *pool = thr->thread_pool; local 40 if (__builtin_expect (pool == NULL, 0)) 42 pool = gomp_malloc (sizeof (*pool)); 43 pool->threads = NULL; 44 pool->threads_size = 0; 45 pool->threads_used = 0; 46 pool->last_team = NULL [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/posix/ |
| pool.h | 26 /* This is the default implementation of the thread pool management 34 /* Get the thread pool, allocate and initialize it on demand. */ 39 struct gomp_thread_pool *pool = thr->thread_pool; local 40 if (__builtin_expect (pool == NULL, 0)) 42 pool = gomp_malloc (sizeof (*pool)); 43 pool->threads = NULL; 44 pool->threads_size = 0; 45 pool->threads_used = 0; 46 pool->last_team = NULL [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/rand/ |
| prov_seed.c | 21 RAND_POOL *pool; local 23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); 24 if (pool == NULL) { 30 entropy_available = ossl_pool_acquire_entropy(pool); 33 ret = ossl_rand_pool_length(pool); 34 *pout = ossl_rand_pool_detach(pool); 37 ossl_rand_pool_free(pool); 52 RAND_POOL *pool; local 54 pool = ossl_rand_pool_new(0, 0, min_len, max_len); 55 if (pool == NULL) [all...] |
| rand_pool.c | 20 * Allocate memory and initialize a new random pool 25 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); local 28 if (pool == NULL) { 33 pool->min_len = min_len; 34 pool->max_len = (max_len > RAND_POOL_MAX_LENGTH) ? 36 pool->alloc_len = min_len < min_alloc_size ? min_alloc_size : min_len; 37 if (pool->alloc_len > pool->max_len) 38 pool->alloc_len = pool->max_len 68 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); local [all...] |
| /src/sys/external/bsd/drm2/dist/drm/i915/gt/ |
| intel_engine_pool_types.h | 28 struct intel_engine_pool *pool; member in struct:intel_engine_pool_node
|
| intel_engine_pool.c | 18 static struct intel_engine_cs *to_engine(struct intel_engine_pool *pool) 20 return container_of(pool, struct intel_engine_cs, pool); 24 bucket_for_size(struct intel_engine_pool *pool, size_t sz) 34 if (n >= ARRAY_SIZE(pool->cache_list)) 35 n = ARRAY_SIZE(pool->cache_list) - 1; 37 return &pool->cache_list[n]; 74 struct intel_engine_pool *pool = node->pool; local 75 struct list_head *list = bucket_for_size(pool, node->obj->base.size) 130 struct intel_engine_pool *pool = lookup_pool(engine); local [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/rand/ |
| prov_seed.c | 24 RAND_POOL *pool; local 26 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); 27 if (pool == NULL) { 33 entropy_available = ossl_pool_acquire_entropy(pool); 36 ret = ossl_rand_pool_length(pool); 37 *pout = ossl_rand_pool_detach(pool); 40 ossl_rand_pool_free(pool); 80 RAND_POOL *pool; local 82 pool = ossl_rand_pool_new(0, 0, min_len, max_len); 83 if (pool == NULL) [all...] |
| rand_pool.c | 20 * Allocate memory and initialize a new random pool 25 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); local 28 if (pool == NULL) 31 pool->min_len = min_len; 32 pool->max_len = (max_len > RAND_POOL_MAX_LENGTH) ? RAND_POOL_MAX_LENGTH : max_len; 33 pool->alloc_len = min_len < min_alloc_size ? min_alloc_size : min_len; 34 if (pool->alloc_len > pool->max_len) 35 pool->alloc_len = pool->max_len 63 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); local [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/nvptx/ |
| team.c | 41 sets up a per-team thread pool and transfers control by calling FN (FN_DATA) 66 struct gomp_thread_pool *pool = alloca (sizeof (*pool)); local 67 pool->threads = alloca (ntids * sizeof (*pool->threads)); 69 pool->threads[tid] = nvptx_thrs + tid; 70 pool->threads_size = ntids; 71 pool->threads_used = ntids; 72 pool->threads_busy = 1; 73 pool->last_team = NULL 128 struct gomp_thread_pool *pool; local [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/ |
| pool.c | 1 /* $NetBSD: pool.c,v 1.1 2024/02/18 20:57:50 christos Exp $ */ 21 #include <isc/pool.h> 35 void **pool; member in struct:isc_pool 44 isc_pool_t *pool; local 46 pool = isc_mem_get(mctx, sizeof(*pool)); 47 pool->count = count; 48 pool->free = NULL; 49 pool->init = NULL; 50 pool->initarg = NULL 64 isc_pool_t *pool = NULL; local 108 isc_pool_t *pool; local 156 isc_pool_t *pool = *poolp; local [all...] |
| taskpool.c | 44 isc_taskpool_t *pool; local 47 pool = isc_mem_get(mctx, sizeof(*pool)); 49 pool->mctx = NULL; 50 isc_mem_attach(mctx, &pool->mctx); 51 pool->ntasks = ntasks; 52 pool->quantum = quantum; 53 pool->tmgr = tmgr; 54 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *)); 56 pool->tasks[i] = NULL 66 isc_taskpool_t *pool = NULL; local 103 isc_taskpool_t *pool; local 149 isc_taskpool_t *pool = *poolp; local [all...] |
| /src/external/gpl3/gcc/dist/libgomp/config/nvptx/ |
| team.c | 48 sets up a per-team thread pool and transfers control by calling FN (FN_DATA) 91 /* Initialize the thread pool. */ 92 struct gomp_thread_pool *pool = alloca (sizeof (*pool)); local 93 pool->threads = alloca (ntids * sizeof (*pool->threads)); 95 pool->threads[tid] = nvptx_thrs + tid; 96 pool->threads_size = ntids; 97 pool->threads_used = ntids; 98 pool->threads_busy = 1 154 struct gomp_thread_pool *pool; local [all...] |
| /src/external/gpl3/gcc/dist/libgomp/config/rtems/ |
| pool.h | 26 /* This is the RTEMS implementation of the thread pool management 36 /* For each scheduler instance there may be a thread pool reservoir 76 struct gomp_thread_pool *pool = thr->thread_pool; local 77 if (__builtin_expect (pool == NULL, 0)) 79 pool = gomp_malloc_cleared (sizeof (*pool)); 80 pool->threads_busy = nthreads; 81 thr->thread_pool = pool; 83 return pool; 89 struct gomp_thread_pool *pool; local [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/gcn/ |
| team.c | 35 sets up a per-team thread pool and transfers control by returning to 77 /* Allocate and initialize a pool of threads in the team. 80 struct gomp_thread_pool *pool = team_malloc (sizeof (*pool)); local 81 pool->threads = team_malloc (sizeof (void *) * numthreads); 83 pool->threads[tid] = &thrs[tid]; 84 pool->threads_size = numthreads; 85 pool->threads_used = numthreads; 86 pool->threads_busy = 1; 87 pool->last_team = NULL 159 struct gomp_thread_pool *pool; local [all...] |
| /src/external/gpl3/gcc.old/dist/libgomp/config/rtems/ |
| pool.h | 26 /* This is the RTEMS implementation of the thread pool management 36 /* For each scheduler instance there may be a thread pool reservoir 76 struct gomp_thread_pool *pool = thr->thread_pool; local 77 if (__builtin_expect (pool == NULL, 0)) 79 pool = gomp_malloc_cleared (sizeof (*pool)); 80 pool->threads_busy = nthreads; 81 thr->thread_pool = pool; 83 return pool; 89 struct gomp_thread_pool *pool; local [all...] |
| /src/distrib/utils/more/ |
| linenum.c | 94 #define NPOOL 50 /* Size of line number pool */ 102 static struct linenum pool[NPOOL]; /* The pool itself */ variable in typeref:struct:linenum 119 for (p = pool; p < &pool[NPOOL-2]; p++) 121 pool[NPOOL-2].next = NULL; 122 freelist = pool; 124 spare = &pool[NPOOL-1];
|
| /src/sys/external/bsd/drm2/dist/drm/i915/gem/ |
| i915_gem_object_blt.c | 26 struct intel_engine_pool_node *pool; local 41 pool = intel_engine_get_pool(ce->engine, size); 42 if (IS_ERR(pool)) { 43 err = PTR_ERR(pool); 47 cmd = i915_gem_object_pin_map(pool->obj, I915_MAP_WC); 88 i915_gem_object_unpin_map(pool->obj); 90 batch = i915_vma_instance(pool->obj, ce->vm, NULL); 100 batch->private = pool; 104 intel_engine_pool_put(pool); 210 struct intel_engine_pool_node *pool; local [all...] |
| /src/tests/rump/kernspace/ |
| threadpool.c | 158 struct threadpool *pool; local 161 error = threadpool_get(&pool, PRI_NONE); 168 threadpool_schedule_job(pool, &data.job); 176 threadpool_put(pool, PRI_NONE); 184 struct threadpool *pool; local 190 pool = threadpool_percpu_ref(pcpu); 196 threadpool_schedule_job(pool, &data.job); 211 struct threadpool *pool; local 215 error = threadpool_get(&pool, PRI_NONE); 221 threadpool_schedule_job(pool, &data.job) 247 struct threadpool *pool; local [all...] |
| /src/crypto/external/apache2/openssl/dist/providers/implementations/rands/ |
| seed_src.c | 96 RAND_POOL *pool; local 105 pool = ossl_rand_pool_new(strength, 1, outlen, outlen); 106 if (pool == NULL) { 112 entropy_available = ossl_pool_acquire_entropy(pool); 115 if (!ossl_rand_pool_adin_mix_in(pool, adin, adin_len)) { 116 ossl_rand_pool_free(pool); 119 memcpy(out, ossl_rand_pool_buffer(pool), ossl_rand_pool_length(pool)); 122 ossl_rand_pool_free(pool); 187 RAND_POOL *pool; local [all...] |
| /src/crypto/external/bsd/heimdal/dist/kdc/ |
| process.c | 204 heim_auto_release_t pool = heim_auto_release_create(); local 217 heim_release(pool); 222 heim_release(pool);
|
| /src/crypto/external/bsd/openssl/dist/providers/implementations/rands/ |
| seed_src.c | 98 RAND_POOL *pool; local 107 pool = ossl_rand_pool_new(strength, 1, outlen, outlen); 108 if (pool == NULL) { 114 entropy_available = ossl_pool_acquire_entropy(pool); 117 memcpy(out, ossl_rand_pool_buffer(pool), ossl_rand_pool_length(pool)); 119 ossl_rand_pool_free(pool);
|
| /src/external/gpl3/gcc/dist/libgomp/config/gcn/ |
| team.c | 42 sets up a per-team thread pool and transfers control by returning to 96 /* Allocate and initialize a pool of threads in the team. 99 struct gomp_thread_pool *pool = team_malloc (sizeof (*pool)); local 100 pool->threads = team_malloc (sizeof (void *) * numthreads); 102 pool->threads[tid] = &thrs[tid]; 103 pool->threads_size = numthreads; 104 pool->threads_used = numthreads; 105 pool->threads_busy = 1; 106 pool->last_team = NULL 178 struct gomp_thread_pool *pool; local [all...] |
| /src/external/gpl3/gcc/dist/libgomp/ |
| parallel.c | 45 struct gomp_thread_pool *pool; local 94 pool = thr->thread_pool; 95 if (thr->ts.team == NULL || pool == NULL) 100 if (pool) 101 pool->threads_busy = num_threads; 108 busy = pool->threads_busy; 113 while (__sync_val_compare_and_swap (&pool->threads_busy, 119 busy = pool->threads_busy; 122 pool->threads_busy += num_threads - 1;
|