Searched refs:pool (Results 1 - 25 of 179) sorted by relevance

12345678

/freebsd-9.3-release/contrib/ipfilter/rules/
H A Dpool.conf2 pool 0 = { !10.0.0.0 - 10.255.255.255, 10.1.0.0 - 10.1.255.255,
/freebsd-9.3-release/sys/contrib/ia64/libuwx/src/
H A Duwx_str.c42 * pool for the unwind environment. We preallocate enough
47 * The string pool is reused with each call to step(),
53 int uwx_init_str_pool(struct uwx_env *env, struct uwx_str_pool *pool) argument
55 if (pool == 0)
58 pool->next = 0;
59 pool->size = STRPOOLSIZE;
60 pool->used = 0;
62 env->string_pool = pool;
69 struct uwx_str_pool *pool; local
72 /* The first pool i
89 struct uwx_str_pool *pool; local
124 struct uwx_str_pool *pool; local
[all...]
H A Duwx_str.h31 char pool[STRPOOLSIZE]; member in struct:uwx_str_pool
34 extern int uwx_init_str_pool(struct uwx_env *env, struct uwx_str_pool *pool);
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dpool.c27 #include <isc/pool.h>
40 void ** pool; member in struct:isc_pool
49 isc_pool_t *pool; local
51 pool = isc_mem_get(mctx, sizeof(*pool));
52 if (pool == NULL)
54 pool->count = count;
55 pool->free = NULL;
56 pool->init = NULL;
57 pool
77 isc_pool_t *pool = NULL; local
106 isc_pool_get(isc_pool_t *pool) argument
113 isc_pool_count(isc_pool_t *pool) argument
123 isc_pool_t *pool; local
169 isc_pool_t *pool = *poolp; local
[all...]
H A Dtaskpool.c49 isc_taskpool_t *pool; local
52 pool = isc_mem_get(mctx, sizeof(*pool));
53 if (pool == NULL)
56 pool->mctx = NULL;
57 isc_mem_attach(mctx, &pool->mctx);
58 pool->ntasks = ntasks;
59 pool->quantum = quantum;
60 pool->tmgr = tmgr;
61 pool
79 isc_taskpool_t *pool = NULL; local
104 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp) argument
111 isc_taskpool_size(isc_taskpool_t *pool) argument
121 isc_taskpool_t *pool; local
166 isc_taskpool_t *pool = *poolp; local
178 isc_taskpool_setprivilege(isc_taskpool_t *pool, isc_boolean_t priv) argument
[all...]
/freebsd-9.3-release/sys/mips/cavium/octe/
H A Dethernet-mem.h31 int cvm_oct_mem_fill_fpa(int pool, int size, int elements);
32 void cvm_oct_mem_empty_fpa(int pool, int size, int elements);
H A Dethernet-mem.c48 * Fill the supplied hardware pool with mbufs
50 * @param pool Pool to allocate an mbuf for
51 * @param size Size of the buffer needed for the pool
54 int cvm_oct_mem_fill_fpa(int pool, int size, int elements) argument
62 printf("Failed to allocate mbuf for hardware pool %d\n", pool);
68 cvmx_fpa_free(m->m_data, pool, DONT_WRITEBACK(size/128));
76 * Free the supplied hardware pool of mbufs
78 * @param pool Pool to allocate an mbuf for
79 * @param size Size of the buffer needed for the pool
82 cvm_oct_mem_empty_fpa(int pool, int size, int elements) argument
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dtaskpool.c49 isc_taskpool_t *pool; local
52 pool = isc_mem_get(mctx, sizeof(*pool));
53 if (pool == NULL)
55 pool->mctx = mctx;
56 pool->ntasks = ntasks;
57 pool->quantum = quantum;
58 pool->tmgr = tmgr;
59 pool->tasks = isc_mem_get(mctx, ntasks * sizeof(isc_task_t *));
60 if (pool
77 isc_taskpool_t *pool = NULL; local
102 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp) argument
109 isc_taskpool_size(isc_taskpool_t *pool) argument
119 isc_taskpool_t *pool; local
164 isc_taskpool_t *pool = *poolp; local
176 isc_taskpool_setprivilege(isc_taskpool_t *pool, isc_boolean_t priv) argument
[all...]
/freebsd-9.3-release/cddl/compat/opensolaris/include/
H A Dthread_pool.h35 #define tpool_dispatch(pool, func, arg) func(arg)
36 #define tpool_wait(pool) do { } while (0)
37 #define tpool_destroy(pool) do { } while (0)
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-fpa.c62 * Setup a FPA pool to control a new block of memory. The
65 * @param pool Pool to initialize
66 * 0 <= pool < 8
67 * @param name Constant character string to name this pool.
77 int cvmx_fpa_setup_pool(uint64_t pool, const char *name, void *buffer, argument
86 if (pool >= CVMX_FPA_NUM_POOLS)
88 cvmx_dprintf("ERROR: cvmx_fpa_setup_pool: Illegal pool!\n");
104 cvmx_fpa_pool_info[pool].name = name;
105 cvmx_fpa_pool_info[pool].size = block_size;
106 cvmx_fpa_pool_info[pool]
133 cvmx_fpa_shutdown_pool(uint64_t pool) argument
184 cvmx_fpa_get_block_size(uint64_t pool) argument
[all...]
H A Dcvmx-fpa.h82 * Structure describing the current state of a FPA pool.
89 uint64_t starting_element_count; /**< The number of elements in the pool at creation */
101 * Return the name of the pool
103 * @param pool Pool to get the name of
106 static inline const char *cvmx_fpa_get_name(uint64_t pool) argument
108 return cvmx_fpa_pool_info[pool].name;
112 * Return the base of the pool
114 * @param pool Pool to get the base of
117 static inline void *cvmx_fpa_get_base(uint64_t pool) argument
119 return cvmx_fpa_pool_info[pool]
131 cvmx_fpa_is_member(uint64_t pool, void *ptr) argument
175 cvmx_fpa_alloc(uint64_t pool) argument
203 cvmx_fpa_async_alloc(uint64_t scr_addr, uint64_t pool) argument
228 cvmx_fpa_async_alloc_finish(uint64_t scr_addr, uint64_t pool) argument
250 cvmx_fpa_free_nosync(void *ptr, uint64_t pool, uint64_t num_cache_lines) argument
269 cvmx_fpa_free(void *ptr, uint64_t pool, uint64_t num_cache_lines) argument
[all...]
/freebsd-9.3-release/etc/periodic/daily/
H A D800.scrub-zfs30 for pool in ${daily_scrub_zfs_pools}; do
32 _status=$(zpool list "${pool}" 2> /dev/null)
35 echo " WARNING: pool '${pool}' specified in"
44 echo "Skipping faulted pool: ${pool}"
49 eval _pool_threshold=\${daily_scrub_zfs_$(echo "${pool}"|tr ".:-" "_")_threshold}
54 _last_scrub=$(zpool history ${pool} | \
55 egrep "^[0-9\.\:\-]{19} zpool scrub ${pool}\$" | tail -1 |\
58 # creation time of the pool i
[all...]
/freebsd-9.3-release/contrib/ipfilter/lib/
H A Dprintpooldata.c12 void printpooldata(pool, opts)
13 ip_pool_t *pool;
18 if ((pool->ipo_flags & IPOOL_ANON) != 0)
19 PRINTF("# 'anonymous' tree %s\n", pool->ipo_name);
20 if ((pool->ipo_flags & IPOOL_DELETE) != 0)
24 if ((pool->ipo_flags & IPOOL_DELETE) != 0)
27 isdigit(*pool->ipo_name) ? "Number" : "Name",
28 pool->ipo_name);
29 if ((pool->ipo_flags & IPOOL_ANON) == IPOOL_ANON)
35 switch (pool
[all...]
H A Dremove_pool.c25 ip_pool_t pool; local
35 op.iplo_size = sizeof(pool);
36 op.iplo_struct = &pool;
38 bzero((char *)&pool, sizeof(pool));
39 pool.ipo_unit = poolp->ipo_unit;
40 strncpy(pool.ipo_name, poolp->ipo_name, sizeof(pool.ipo_name));
41 pool.ipo_flags = poolp->ipo_flags;
H A Dload_pool.c26 ip_pool_t pool; local
37 op.iplo_size = sizeof(pool);
38 op.iplo_struct = &pool;
39 bzero((char *)&pool, sizeof(pool));
40 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name));
53 strncpy(pool.ipo_name, op.iplo_name, sizeof(pool.ipo_name));
56 pool
[all...]
H A Dprintpool_live.c15 ip_pool_t *printpool_live(pool, fd, name, opts)
16 ip_pool_t *pool;
26 if ((name != NULL) && strncmp(name, pool->ipo_name, FR_GROUPLEN))
27 return pool->ipo_next;
29 printpooldata(pool, opts);
31 if ((pool->ipo_flags & IPOOL_DELETE) != 0)
45 iter.ili_unit = pool->ipo_unit;
46 strncpy(iter.ili_name, pool->ipo_name, FR_GROUPLEN);
82 return pool->ipo_next;
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/
H A Dfmr_pool.c56 * its pool's free_list (if the FMR can be mapped again; that is,
57 * remap_count < pool->max_remaps) or its pool's dirty_list (if the
94 void (*flush_function)(struct ib_fmr_pool *pool,
113 static inline struct ib_pool_fmr *ib_fmr_cache_lookup(struct ib_fmr_pool *pool, argument
122 if (!pool->cache_bucket)
125 bucket = pool->cache_bucket + ib_fmr_hash(*page_list);
137 static void ib_fmr_batch_release(struct ib_fmr_pool *pool) argument
144 spin_lock_irq(&pool->pool_lock);
146 list_for_each_entry(fmr, &pool
179 struct ib_fmr_pool *pool = pool_ptr; local
214 struct ib_fmr_pool *pool; local
358 ib_destroy_fmr_pool(struct ib_fmr_pool *pool) argument
396 ib_flush_fmr_pool(struct ib_fmr_pool *pool) argument
439 struct ib_fmr_pool *pool = pool_handle; local
514 struct ib_fmr_pool *pool; local
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dalloc-pool.c1 /* Functions to support a pool of allocatable objects.
25 #include "alloc-pool.h"
34 /* The ID of alloc pool which the object was allocated from. */
116 /* Create a pool of things of size SIZE, with NUM in each block we
122 alloc_pool pool; local
145 /* Find the size of the pool structure, and the name. */
149 pool = xmalloc (pool_size);
151 /* Now init the various pieces of our pool structure. */
152 pool->name = /*xstrdup (name)*/name;
157 pool
185 free_alloc_pool(alloc_pool pool) argument
212 free_alloc_pool_if_empty(alloc_pool *pool) argument
223 pool_alloc(alloc_pool pool) argument
288 pool_free(alloc_pool pool, void *ptr) argument
[all...]
/freebsd-9.3-release/sys/rpc/
H A Dsvc.c71 static struct svc_callout *svc_find(SVCPOOL *pool, rpcprog_t, rpcvers_t,
73 static void svc_new_thread(SVCPOOL *pool);
75 static void svc_change_space_used(SVCPOOL *pool, int delta);
76 static bool_t svc_request_space_available(SVCPOOL *pool);
86 SVCPOOL *pool; local
88 pool = malloc(sizeof(SVCPOOL), M_RPC, M_WAITOK|M_ZERO);
90 mtx_init(&pool->sp_lock, "sp_lock", NULL, MTX_DEF);
91 pool->sp_name = name;
92 pool->sp_state = SVCPOOL_INIT;
93 pool
159 svcpool_destroy(SVCPOOL *pool) argument
201 svcpool_active(SVCPOOL *pool) argument
216 SVCPOOL *pool; local
252 SVCPOOL *pool; local
285 SVCPOOL *pool = xprt->xp_pool; local
303 SVCPOOL *pool = xprt->xp_pool; local
316 SVCPOOL *pool = xprt->xp_pool; local
336 SVCPOOL *pool = xprt->xp_pool; local
370 SVCPOOL *pool = xprt->xp_pool; local
398 SVCPOOL *pool = xprt->xp_pool; local
411 SVCPOOL *pool = xprt->xp_pool; local
441 SVCPOOL *pool = xprt->xp_pool; local
505 svc_unreg(SVCPOOL *pool, const rpcprog_t prog, const rpcvers_t vers) argument
528 SVCPOOL *pool = xprt->xp_pool; local
555 svc_loss_unreg(SVCPOOL *pool, void (*dispatch)(SVCXPRT *)) argument
577 svc_find(SVCPOOL *pool, rpcprog_t prog, rpcvers_t vers, char *netid) argument
860 SVCPOOL *pool = xprt->xp_pool; local
955 SVCPOOL *pool = xprt->xp_pool; local
997 svc_checkidle(SVCPOOL *pool) argument
1028 svc_assign_waiting_sockets(SVCPOOL *pool) argument
1043 svc_change_space_used(SVCPOOL *pool, int delta) argument
1064 svc_request_space_available(SVCPOOL *pool) argument
1073 svc_run_internal(SVCPOOL *pool, bool_t ismaster) argument
1294 svc_new_thread(SVCPOOL *pool) argument
1305 svc_run(SVCPOOL *pool) argument
1333 svc_exit(SVCPOOL *pool) argument
1383 SVCPOOL *pool; local
[all...]
/freebsd-9.3-release/sys/ofed/include/linux/
H A Ddmapool.h46 struct dma_pool *pool; local
48 pool = kmalloc(sizeof(*pool), GFP_KERNEL);
54 pool->pool_zone = uma_zcreate(name, size, NULL, NULL, NULL, NULL,
57 return (pool);
61 dma_pool_destroy(struct dma_pool *pool) argument
63 uma_zdestroy(pool->pool_zone);
64 kfree(pool);
68 dma_pool_alloc(struct dma_pool *pool, gfp_t mem_flags, dma_addr_t *handle) argument
72 vaddr = uma_zalloc(pool
79 dma_pool_free(struct dma_pool *pool, void *vaddr, dma_addr_t addr) argument
[all...]
/freebsd-9.3-release/sys/kern/
H A Dkern_mtxpool.c26 /* Mutex pool routines. These routines are designed to be used as short
28 * calling msleep()). They operate using a shared pool. A mutex is chosen
29 * from the pool based on the supplied pointer (which may or may not be
42 * - pool/pool dependancy ordering cannot be depended on.
59 static MALLOC_DEFINE(M_MTXPOOL, "mtx_pool", "mutex pool");
103 * Return the (shared) pool mutex associated with the specified address.
109 mtx_pool_find(struct mtx_pool *pool, void *ptr) argument
113 KASSERT(pool != NULL, ("_mtx_pool_find(): null pool"));
124 mtx_pool_initialize(struct mtx_pool *pool, const char *mtx_name, int pool_size, int opts) argument
142 struct mtx_pool *pool; local
160 struct mtx_pool *pool = *poolp; local
190 mtx_pool_alloc(struct mtx_pool *pool) argument
[all...]
/freebsd-9.3-release/sys/dev/drm2/ttm/
H A Dttm_page_alloc_dma.c27 * A simple DMA pool losely based on dmapool.c. It has certain advantages
79 * The pool structure. There are usually six pools:
87 * @type: Type of the pool
89 * used with irqsave/irqrestore variants because pool allocator maybe called
98 * @nfrees: Stats when pool is shrinking.
99 * @nrefills: Stats when the pool is grown.
101 * @name: Name of the pool.
138 * Limits for the pool. They are handled without locks because only place where
153 * @dev: The 'struct device' associated with the 'pool'
154 * @pool
159 struct dma_pool *pool; member in struct:device_pools
308 ttm_set_pages_caching(struct dma_pool *pool, struct page **pages, unsigned cpages) argument
328 __ttm_dma_free_page(struct dma_pool *pool, struct dma_page *d_page) argument
336 __ttm_dma_alloc_page(struct dma_pool *pool) argument
371 ttm_pool_update_free_locked(struct dma_pool *pool, unsigned freed_pages) argument
380 ttm_dma_pages_put(struct dma_pool *pool, struct list_head *d_pages, struct page *pages[], unsigned npages) argument
397 ttm_dma_page_put(struct dma_pool *pool, struct dma_page *d_page) argument
417 ttm_dma_page_pool_free(struct dma_pool *pool, unsigned nr_free) argument
513 struct dma_pool *pool; local
554 struct dma_pool *pool = *(struct dma_pool **)res; local
571 struct dma_pool *pool = NULL, **ptr; local
644 struct dma_pool *pool, *tmp, *found = NULL; local
674 ttm_dma_handle_caching_state_failure(struct dma_pool *pool, struct list_head *d_pages, struct page **failed_pages, unsigned cpages) argument
707 ttm_dma_pool_alloc_new_pages(struct dma_pool *pool, struct list_head *d_pages, unsigned count) argument
791 ttm_dma_page_pool_fill_locked(struct dma_pool *pool, unsigned long *irq_flags) argument
838 ttm_dma_pool_get_pages(struct dma_pool *pool, struct ttm_dma_tt *ttm_dma, unsigned index) argument
870 struct dma_pool *pool; local
941 struct dma_pool *pool; local
1109 struct dma_pool *pool = NULL; local
[all...]
/freebsd-9.3-release/etc/
H A Dntp.conf16 # See http://www.pool.ntp.org/ for details. Note, the pool encourages
18 # to the pool. See http://www.pool.ntp.org/join.html if you are interested.
22 server 0.freebsd.pool.ntp.org iburst
23 server 1.freebsd.pool.ntp.org iburst
24 server 2.freebsd.pool.ntp.org iburst
25 #server 3.freebsd.pool.ntp.org iburst
33 # server 0.CC.pool.ntp.org iburst
34 # server 1.CC.pool
[all...]
/freebsd-9.3-release/sys/dev/random/
H A Dyarrow.h48 u_int slowoverthresh; /* slow pool overthreshhold reseed count */
49 struct pool { struct in struct:random_state
55 u_int thresh; /* pool reseed threshhold */
57 } pool[2]; /* pool[0] is fast, pool[1] is slow */ member in struct:random_state
58 u_int which; /* toggle - sets the current insertion pool */
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Dtaskpool.h28 * \brief A task pool is a mechanism for sharing a small number of tasks
64 * Create a task pool of "ntasks" tasks, each with quantum
77 *\li On success, '*taskp' points to the new task pool.
87 isc_taskpool_gettask(isc_taskpool_t *pool, isc_task_t **targetp);
89 * Attach to a task from the pool. Currently the next task is chosen
90 * from the pool at random. (This may be changed in the future to
95 isc_taskpool_size(isc_taskpool_t *pool);
97 * Returns the number of tasks in the task pool 'pool'.
105 * If 'size' is larger than the number of tasks in the pool pointe
[all...]

Completed in 103 milliseconds

12345678