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

123

/osnet-11/usr/src/lib/libpool/common/
H A Dllib-lpool31 #include <pool.h>
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfstack.c73 if(f1->pool && f1->pool != &_Sfpool && f1->pool != f2->pool &&
74 f1 == f1->pool->sf[0])
75 { /* get something else to pool front since f1 will be locked */
76 for(n = 1; n < f1->pool->n_sf; ++n)
77 { if(SFFROZEN(f1->pool->sf[n]) )
79 (*_Sfpmove)(f1->pool->sf[n],0);
85 if(f2->pool
[all...]
H A Dsfswap.c76 if(!f1->pool)
78 else for(f1pool = f1->pool->n_sf-1; f1pool >= 0; --f1pool)
79 if(f1->pool->sf[f1pool] == f1)
81 if(!f2->pool)
83 else for(f2pool = f2->pool->n_sf-1; f2pool >= 0; --f2pool)
84 if(f2->pool->sf[f2pool] == f2)
90 /* swap image and pool entries */
95 f1->pool->sf[f2pool] = f1;
97 f2->pool->sf[f1pool] = f2;
H A Dsfpool.c26 ** otherwise, f is isolated from its pool. flag can be one of
32 /* Note that we do not free the space for a pool once it is allocated.
33 ** This is to prevent memory faults in calls such as sfsync(NULL) that walk the pool
62 /* look to see if there is a free pool */
102 Sfpool_t* p; /* the pool */
104 int n; /* current position in pool */
127 else /* shared pool of write-streams, data can be moved among streams */
168 /* delete a stream from its pool */
173 Sfpool_t* p; /* the pool */
175 int n; /* position in pool */
[all...]
H A Dsfsync.c45 { /* find the next legitimate pool */
130 { /* sync the buffer, make sure pool don't move */
131 reg int pool = f->mode&SF_POOL; local
141 f->mode |= pool;
168 if(!local && f && (f->mode&SF_POOL) && f->pool && f != f->pool->sf[0])
169 SFSYNC(f->pool->sf[0]);
H A Dsfclose.c77 if(!local && f->pool)
78 { /* remove from pool */
79 if(f->pool == &_Sfpool)
102 f->pool = NIL(Sfpool_t*);
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotManager.c148 * No need to lock pool, we assume all meta sessions are closed.
447 session_pool_t *pool; local
456 pool = &slots[slotnum].session_pool;
462 (void) pthread_mutex_lock(&pool->list_lock);
464 if (pool->idle_list_head != NULL) {
465 tmp_session = get_session(&(pool->idle_list_head), flags);
468 INSERT_INTO_LIST(pool->active_list_head, tmp_session);
470 pool->num_idle_sessions--;
471 (void) pthread_mutex_unlock(&pool->list_lock);
476 if (pool
535 session_pool_t *pool; local
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_cookie.c45 * To support this feature, a pool of memory is allocated up front large
54 * Each cookie store its index in this memory pool.
151 buffer->pool = dapl_os_alloc(size * sizeof (DAPL_COOKIE));
152 if (NULL != buffer->pool) {
158 buffer->pool[i].index = i;
159 buffer->pool[i].queue_type = type;
161 buffer->pool[i].queue.ep = queue;
163 buffer->pool[i].queue.srq = queue;
215 curr_buffer->pool[0].queue.ptr, curr_buffer->pool[
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/t/
H A Dblessed.t79 # Construct a pool of objects
80 my @pool;
83 push(@pool, SHORT_NAME->make);
84 push(@pool, SHORT_NAME_WITH_HOOK->make);
85 push(@pool, $name->make);
86 push(@pool, "${name}_WITH_HOOK"->make);
89 my $x = freeze \@pool;
94 ok 5, @{$y} == @pool;
H A Dcompat06.t66 my @pool;
68 push(@pool, SIMPLE->make($i));
70 $self->{obj} = \@pool;
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-zpool.c3 * hal-storage-zpool.c : ZFS pool methods
55 int result, const char *auth_used, const char *pool, const char *device)
72 event->adt_pool_export.pool = (char *)pool;
77 event->adt_pool_import.pool = (char *)pool;
104 char *subcmd, const char *pool, const char *device,
120 printf ("pool = %s\n", pool);
134 args[na++] = (char *) pool;
54 audit_pool(const adt_export_data_t *imported_state, au_event_t event_id, int result, const char *auth_used, const char *pool, const char *device) argument
100 handle_zpool(LibHalContext *hal_ctx, LibPolKitContext *pol_ctx, char *subcmd, const char *pool, const char *device, const char *invoked_by_uid, const char *invoked_by_syscon_name, DBusConnection *system_bus) argument
[all...]
/osnet-11/usr/src/lib/libipadm/common/
H A Dipadm_cong.c84 i_ipadm_cong_free_list(uu_list_t *list, uu_list_pool_t *pool) argument
93 uu_list_node_fini(ent, &(ent->node), pool);
104 i_ipadm_cong_enlist_alg(const char *name, uu_list_t *list, uu_list_pool_t *pool) argument
114 uu_list_node_init(ent, &(ent->node), pool);
126 uu_list_pool_t *pool)
141 uu_list_node_init(ent, &ent->node, pool);
288 boolean_t *is_enabled, uu_list_t *prop_list, uu_list_pool_t *pool)
325 status = i_ipadm_cong_enlist_prop(pname, vstr, prop_list, pool);
362 uu_list_pool_t *pool; local
374 pool
125 i_ipadm_cong_enlist_prop(const char *name, char *value, uu_list_t *list, uu_list_pool_t *pool) argument
287 i_ipadm_cong_collect_props(scf_handle_t *h, scf_instance_t *inst, boolean_t *is_enabled, uu_list_t *prop_list, uu_list_pool_t *pool) argument
449 i_ipadm_cong_get_algs_common(uu_list_pool_t **pool, uu_list_t **alg_list, uint_t proto, boolean_t enabled) argument
513 uu_list_pool_t *pool = NULL; local
912 uu_list_pool_t *pool = NULL; local
[all...]
/osnet-11/usr/src/lib/libpool/
H A DMakefile.com29 pool.o \
/osnet-11/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_main.c172 jobject pool = zjni_get_Dataset(env, poolUTF, ZFS_TYPE_FILESYSTEM); local
175 if (pool != NULL) {
179 jboolean is_pool = (*env)->IsInstanceOf(env, pool, class);
182 pool = NULL;
185 return (pool);
331 const char *pool = (*env)->GetStringUTFChars(env, poolUTF, local
333 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool);
334 (*env)->ReleaseStringUTFChars(env, poolUTF, pool);
368 const char *pool = (*env)->GetStringUTFChars(env, poolUTF, local
370 zpool_handle_t *zhp = zpool_open_canfail(g_zfs, pool);
405 const char *pool = (*env)->GetStringUTFChars(env, local
[all...]
/osnet-11/usr/src/lib/libast/amd64/include/ast/
H A Dsfio_t.h42 struct _sfpool_s* pool; /* the pool containing this */ \
83 (struct _sfpool_s*)0, /* pool */ \
111 (f)->pool = (struct _sfpool_s*)0, /* pool */ \
/osnet-11/usr/src/lib/libast/common/include/
H A Dsfio_t.h42 struct _sfpool_s* pool; /* the pool containing this */ \
83 (struct _sfpool_s*)0, /* pool */ \
111 (f)->pool = (struct _sfpool_s*)0, /* pool */ \
/osnet-11/usr/src/lib/libast/i386/include/ast/
H A Dsfio_t.h42 struct _sfpool_s* pool; /* the pool containing this */ \
83 (struct _sfpool_s*)0, /* pool */ \
111 (f)->pool = (struct _sfpool_s*)0, /* pool */ \
/osnet-11/usr/src/lib/libast/sparc/include/ast/
H A Dsfio_t.h42 struct _sfpool_s* pool; /* the pool containing this */ \
83 (struct _sfpool_s*)0, /* pool */ \
111 (f)->pool = (struct _sfpool_s*)0, /* pool */ \
/osnet-11/usr/src/lib/libast/sparcv9/include/ast/
H A Dsfio_t.h42 struct _sfpool_s* pool; /* the pool containing this */ \
83 (struct _sfpool_s*)0, /* pool */ \
111 (f)->pool = (struct _sfpool_s*)0, /* pool */ \
/osnet-11/usr/src/lib/libsasl/lib/
H A Dsaslutil.c90 unsigned short pool[RPOOL_SIZE]; member in struct:sasl_rand_s
249 sasl_rand_t *pool = NULL; local
280 ret = sasl_randcreate(&pool);
283 sasl_rand(pool, (char *)&randnum, sizeof(randnum));
284 sasl_randfree(&pool);
446 rpool->pool[lup/2] = (seed[lup] << 8) + seed[lup + 1];
454 getranddata(rpool->pool);
460 unsigned int *foo = (unsigned int *)rpool->pool;
484 buf[lup] = (char) (jrand48(rpool->pool) >> 8);
505 rpool->pool[lu
[all...]
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmpool.c32 /* Method for pool allocation.
33 ** All elements in a pool have the same size.
35 ** pool: size of a block.
57 if(size != vd->pool)
58 { if(vd->pool <= 0)
59 vd->pool = size;
117 (*_Vmtrace)(vm,NIL(Vmuchar_t*),(Vmuchar_t*)tp,vd->pool,0);
159 size = ROUND(vd->pool,ALIGN);
197 if(ISLOCK(vd, local) || vd->pool <= 0)
218 (*_Vmtrace)(vm, (Vmuchar_t*)data, NIL(Vmuchar_t*), vd->pool,
[all...]
H A Dvmstat.c70 else if((vd->mode&VM_MTPOOL) && (s = vd->pool) > 0)
129 st->s_busy = (st->m_busy = vd->pool)*st->n_busy;
131 st->s_free = (st->m_free = vd->pool)*st->n_free;
/osnet-11/usr/src/lib/libndr/common/
H A Dndr_svc.c385 ndr_svc_binding_pool_init(ndr_binding_t **headpp, ndr_binding_t pool[], argument
392 pool[ix].next = head;
393 pool[ix].service = NULL;
394 pool[ix].p_cont_id = 0xffff;
395 pool[ix].instance_specific = 0;
396 head = &pool[ix];
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/
H A Dprimegen.c134 /* An object and a list to build up a global pool of primes. See
197 /* Return a prime for the prime pool or NULL if none has been found.
308 gcry_random_level_t poolrandomlevel; /* Random level used for pool primes. */
309 gcry_mpi_t *pool = NULL; /* Pool of primes. */
315 unsigned int m = 0; /* Number of primes in pool. */
387 /* Allocate an array to track pool usage. */
397 /* Make a pool of 3n+5 primes (this is an arbitrary value). We
400 Fixme: We need to research the best formula for sizing the pool.
407 pool = gcry_calloc (m , sizeof (*pool));
307 gcry_mpi_t *pool = NULL; /* Pool of primes. */ local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt-grub/cipher/
H A Dprimegen.c133 /* An object and a list to build up a global pool of primes. See
196 /* Return a prime for the prime pool or NULL if none has been found.
307 gcry_random_level_t poolrandomlevel; /* Random level used for pool primes. */
308 gcry_mpi_t *pool = NULL; /* Pool of primes. */
314 unsigned int m = 0; /* Number of primes in pool. */
386 /* Allocate an array to track pool usage. */
396 /* Make a pool of 3n+5 primes (this is an arbitrary value). We
399 Fixme: We need to research the best formula for sizing the pool.
406 pool = gcry_calloc (m , sizeof (*pool));
306 gcry_mpi_t *pool = NULL; /* Pool of primes. */ local
[all...]

Completed in 273 milliseconds

123