HomeSort by: relevance | last modified time | path
    Searched defs:pool (Results 1 - 25 of 97) sorted by relevancy

1 2 3 4

  /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.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/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/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/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/external/gpl3/gcc.old/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;
  /src/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/
eh_alloc.cc 84 class pool class in namespace:__anon12237
87 pool();
117 pool::pool() function in class:__anon12237::pool
126 // If the allocation failed go without an emergency pool.
139 void *pool::allocate (std::size_t size)
191 void pool::free (void *data)
255 bool pool::in_pool (void *ptr)
262 pool emergency_pool;
  /src/regress/sys/kern/allocfree/
allocfree.c 60 static struct pool pool; variable in typeref:struct:pool
114 p = pool_get(&pool, PR_WAITOK);
117 pool_put(&pool, p);
262 pool_init(&pool, sz, 0, 0, 0, "tpool",
267 pool_destroy(&pool);
  /src/sys/fs/nfs/common/
nfs_fha.c 234 SVCPOOL *pool; local
238 pool = *softc->pool;
298 SVCPOOL *pool; local
302 pool = *softc->pool;
426 * Grab the pool lock here to not let chosen thread go away before
478 SVCPOOL *pool; local
482 pool = NULL;
484 if (!*softc->pool) {
    [all...]
nfs_fha.h 106 SVCPOOL **pool; member in struct:fha_params
  /src/tests/kernel/threadpool_tester/
threadpool_tester.c 70 struct threadpool *pool, *opool = NULL; local
86 error = threadpool_get(&pool, val);
95 ctx->ctx_unbound[pri_to_idx(val)] = pool;
101 /* Should have gotten reference to existing pool. */
102 TP_LOG(("%s: found existing unbound pool for pri %d (%s)\n",
103 __func__, val, opool == pool ? "match" : "NO MATCH"));
104 KASSERT(opool == pool);
105 threadpool_put(pool, val);
108 TP_LOG(("%s: created unbound pool for pri %d\n",
119 struct threadpool *pool; local
158 struct threadpool *pool; local
284 struct threadpool *pool; local
450 struct threadpool *pool = local
    [all...]
  /src/tests/modules/threadpool_tester/
threadpool_tester.c 70 struct threadpool *pool, *opool = NULL; local
86 error = threadpool_get(&pool, val);
95 ctx->ctx_unbound[pri_to_idx(val)] = pool;
101 /* Should have gotten reference to existing pool. */
102 TP_LOG(("%s: found existing unbound pool for pri %d (%s)\n",
103 __func__, val, opool == pool ? "match" : "NO MATCH"));
104 KASSERT(opool == pool);
105 threadpool_put(pool, val);
108 TP_LOG(("%s: created unbound pool for pri %d\n",
119 struct threadpool *pool; local
158 struct threadpool *pool; local
284 struct threadpool *pool; local
450 struct threadpool *pool = local
    [all...]
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/
benchmark_runner.cc 137 pool(b.threads - 1),
182 std::vector<std::thread> pool; member in class:benchmark::internal::__anon1341::BenchmarkRunner
200 for (std::size_t ti = 0; ti < pool.size(); ++ti) {
201 pool[ti] = std::thread(&RunInThread, &b, iters, static_cast<int>(ti + 1),
211 for (std::thread& thread : pool) thread.join();
  /src/external/bsd/less/dist/
linenum.c 60 #define NPOOL 200 /* Size of line number pool */
66 static struct linenum_info pool[NPOOL]; /* The pool itself */ variable in typeref:struct:linenum_info
88 for (p = pool; p < &pool[NPOOL-2]; p++)
90 pool[NPOOL-2].next = NULL;
91 freelist = pool;
93 spare = &pool[NPOOL-1];
  /src/external/bsd/openldap/dist/servers/slapd/back-sql/rdbms_depend/timesten/dnreverse/
dnreverse.cpp 19 TTConnectionPool pool; variable
  /src/external/bsd/zstd/dist/contrib/seekable_format/examples/
parallel_processing.c 12 * seekable decompression and the zstd thread pool
30 #include "pool.h" // use zstd thread pool for demo
140 POOL_ctx* pool = POOL_create(nbThreads, nbThreads); local
141 if (pool == NULL) { fprintf(stderr, "POOL_create() error \n"); exit(9); }
157 POOL_add(pool, sumFrame, &jobs[fnb]);
169 POOL_free(pool);
  /src/external/bsd/zstd/dist/examples/
streaming_compression_thread_pool.c 25 ZSTD_threadPool *pool; member in struct:compress_args
52 size_t r = ZSTD_CCtx_refThreadPool(cctx, args->pool);
150 ZSTD_threadPool *pool = ZSTD_createThreadPool (pool_size); local
151 CHECK(pool != NULL, "ZSTD_createThreadPool() failed!");
152 fprintf (stderr, "Using shared thread pool of size %d\n", pool_size);
154 fprintf (stderr, "All threads use its own thread pool\n");
166 args[i].pool = pool;
176 ZSTD_freeThreadPool (pool);
  /src/sys/dev/dm/
dm_target_delay.c 43 #include <sys/pool.h>
83 static struct pool pool; variable in typeref:struct:pool
302 dp = pool_get(&pool, PR_WAITOK);
364 pool_put(&pool, dp);
499 pool_init(&pool, sizeof(struct dm_delay_buf), 0, 0, 0,
502 aprint_debug("Delay target pool initialized\n");
511 pool_destroy(&pool);
513 aprint_debug("Delay target pool destroyed\n");
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/
amdgpu_dcn10_hw_sequencer_debug.c 117 struct resource_pool *pool = dc->res_pool; local
138 for (i = 0; i < pool->pipe_count; i++) {
139 struct hubp *hubp = pool->hubps[i];
195 struct resource_pool *pool = dc->res_pool; local
208 for (i = 0; i < pool->pipe_count; i++) {
209 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(pool->hubps[i])->state);
217 pool->hubps[i]->inst, rq_regs->drq_expansion_mode, rq_regs->prq_expansion_mode, rq_regs->mrq_expansion_mode,
237 struct resource_pool *pool = dc->res_pool; local
253 for (i = 0; i < pool->pipe_count; i++) {
254 struct dcn_hubp_state *s = &(TO_DCN10_HUBP(pool->hubps[i])->state)
294 struct resource_pool *pool = dc->res_pool; local
334 struct resource_pool *pool = dc->res_pool; local
389 struct resource_pool *pool = dc->res_pool; local
420 struct resource_pool *pool = dc->res_pool; local
495 struct resource_pool *pool = dc->res_pool; local
511 struct resource_pool *pool = dc->res_pool; local
    [all...]

Completed in 41 milliseconds

1 2 3 4