/osnet-11/usr/src/lib/libast/common/sfio/ |
H A D | sfsync.c | 45 { /* 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 D | sfmode.c | 73 reg int pool; local 97 pool = f->mode&SF_POOL; 105 f->mode |= pool; 113 /* put into discrete pool */ 130 if(!(p = f->pool) ) 131 p = f->pool = &_Sfpool; 138 { if(p->s_sf == 0) /* initialize pool array */ 427 { /* move to head of pool */ 428 if(f == f->pool->sf[0] || (*_Sfpmove)(f,0) < 0 ) 441 if(!f->pool [all...] |
/osnet-11/usr/src/cmd/hal/tools/ |
H A D | hal-storage-zpool.c | 3 * 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/libpp/common/ |
H A D | pplex.c | 129 * <wait.h> is poison here so pool moved to the end 133 static void pool(void); 439 if (pp.pool.input) 443 pool(); 2374 * output pool status on exit 2380 error(ERROR_OUTPUT|0, pp.pool.output, "%d", error_info.errors != 0); 2388 pool(void) function 2394 if (!sfnew(sfstdin, NiL, SF_UNBOUND, pp.pool.input, SF_READ)) 2395 error(ERROR_SYSTEM|3, "cannot dup pool input"); 2407 pp.pool [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 515 register Sfio_t* pool; local 566 /* unlock output pool */ 568 if(!(pool=sfpool(NIL(Sfio_t*),shp->outpool,SF_WRITE))) 569 pool = shp->outpool; /* can't happen? */ 570 sfclrlock(pool); 573 sfpurge(pool);
|
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_svc.c | 385 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/lib/libpool/common/ |
H A D | pool_impl.h | 56 * provided by a driver, /dev/pool, and presents data retrieved from 69 * a pool element) with groups (or sets) of these instances available 112 * - pool_t, represents a single pool 126 struct pool struct
|
H A D | pool_commit.c | 29 * These functions implement the process of commitment for a pool 45 * system || pool || 76 #include <pool.h> 149 pool_t *pool; local 161 if ((pool = pool_create(conf, name)) == NULL) { 167 * Now copy the properties from the original pool to the 170 if (pool_walk_properties(TO_CONF(src), src, TO_ELEM(pool), 178 pool_set_pair(TO_ELEM(pool), src); 179 *e1 = TO_ELEM(pool); 245 pool_t *pool; local 1153 set_importance_cb(pool_conf_t *conf, pool_t *pool, void *unused) argument 1195 unset_importance_cb(pool_conf_t *conf, pool_t *pool, void *unused) argument [all...] |
H A D | pool.c | 41 #include <pool.h> 44 #include <sys/pool.h> 56 * pool.c implements (most of) the external interface to libpool 59 * pool.c are: 72 * defined in pool.h. Most functions in this file act as interceptors, 86 * pool_t - A pool inside a configuration 106 const char pool_info_location[] = "/dev/pool"; 178 * Bind idtype id to the pool name. 235 * pool_get_binding() returns the binding for a pid to a pool. If a 380 * A shallow display of a pool onl 498 pool_info(const pool_conf_t *conf, const pool_t *pool, int deep) argument 2571 pool_walk_pools(pool_conf_t *conf, void *arg, int (*callback)(pool_conf_t *conf, pool_t *pool, void *arg)) argument 2774 pool_associate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res) argument 2788 pool_dissociate(pool_conf_t *conf, pool_t *pool, const pool_resource_t *res) argument [all...] |
H A D | pool_internal.c | 27 #include <pool.h> 132 "pool", 178 { "pool.sys_id", POOL_VALUE_INITIALIZER, 180 { "pool.name", POOL_VALUE_INITIALIZER, 182 { "pool.res", POOL_VALUE_INITIALIZER, 184 { "pool.ref_id", POOL_VALUE_INITIALIZER, 186 { "pool.active", POOL_VALUE_INITIALIZER, PP_STORED | PP_INIT, 188 { "pool.default", POOL_VALUE_INITIALIZER, 190 { "pool.scheduler", POOL_VALUE_INITIALIZER, 193 { "pool 428 pool_t *pool; local [all...] |
H A D | pool_kernel.c | 33 #include <pool.h> 46 #include <sys/pool.h> 98 * Identifies a pool element with a processor set id 181 * XML support required to allow a pool kernel configuration to be 398 "pool.sys_id", 647 * However, don't rollback when we've done a temporary pool since the 648 * pool/resources haven't really been committed in this case. 993 * Now add pool details 1377 * the supplied pool is not the default pool attemp 1381 destroy_pool_cb(pool_conf_t *conf, pool_t *pool, void *unused) argument 1489 pool_t *pool; local 1984 pool_knl_pool_associate(pool_t *pool, const pool_resource_t *resource) argument 2038 pool_knl_pool_dissociate(pool_t *pool, const pool_resource_t *resource) argument [all...] |
/osnet-11/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotManager.c | 148 * 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/libsasl/lib/ |
H A D | saslutil.c | 90 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...] |
H A D | auxprop.c | 62 size_t unused; /* Space unused in this pool between end 74 char *data_end; /* Bottom of string area in current pool */ 75 char **list_end; /* Top of list area in current pool */ 114 /* Resize a proppool. Invalidates the unused value for this pool */ 115 static struct proppool *resize_proppool(struct proppool *pool, size_t size) argument 119 if(pool->size >= size) return pool; 121 ret = sasl_sun_REALLOC(pool, sizeof(struct proppool) + size); 123 ret = sasl_REALLOC(pool, sizeof(struct proppool) + size); 184 struct proppool *pool; local [all...] |
/osnet-11/usr/src/lib/libpower/common/ |
H A D | pm_suspend.c | 256 * a private interface to get the pool name. 269 /* Couldn't find pool, return. */ 362 "%s couldn't identify pool %s\n", __FUNCTION__, 372 "%s couldn't get pool children\n", __FUNCTION__); 583 char pool[MAXPATHLEN], *fs, *sep; local 586 /* On others, we need to find the pool the root is running. */ 588 /* Clear and add the leading '/' to the pool pathname. */ 589 (void) memset(pool, 0, MAXPATHLEN); 592 pool[0] = '/'; 599 * We have identified the mounted pool, extrac [all...] |
/osnet-11/usr/src/lib/libzfs/common/ |
H A D | libzfs_graph.c | 28 * walk all datasets in the pool, and construct a directed graph of the form: 40 * In order to construct this graph, we have to walk every dataset in the pool, 253 * datasets in the pool. 531 * Otherwise, start at the root of the pool and iterate over all datasets. 545 * Determine pool name and try again. 548 char *pool = zfs_alloc(hdl, len); local 550 if (pool == NULL) { 554 (void) strlcpy(pool, dataset, len); 556 if (iterate_children(hdl, zgp, pool) == -1 || 557 zfs_graph_add(hdl, zgp, pool, NUL [all...] |
H A D | libzfs_vdev.c | 58 * entire pool. 290 * not in use by another pool, and not in use by swap. 354 "for ZFS pool '%s'. Please see " 359 gettext("%s is part of %s ZFS pool " 627 * Go through and verify the replication level of the pool is consistent. 776 * Check the replication levels in the existing pool's config and report 830 "mismatched replication level: pool uses %s and new " 835 "mismatched replication level: pool uses %llu device " 840 "mismatched replication level: pool uses %llu-way %s " 859 replication_level_t *pool, replication_level_ 858 valid_replication(libzfs_handle_t *hdl, nvlist_t *nvroot, replication_level_t *pool, replication_level_t *slog, boolean_t fatal, boolean_t force) argument [all...] |
/osnet-11/usr/src/lib/libzfs_jni/common/ |
H A D | libzfs_jni_main.c | 172 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/libshell/common/bltins/ |
H A D | print.c | 280 Sfio_t *pool; local 288 pool=sfpool(sfstderr,NIL(Sfio_t*),SF_WRITE); 300 sfpool(sfstderr,pool,SF_WRITE);
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_cong.c | 84 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/pylibbe/common/ |
H A D | libbe_py.c | 150 * rpool - The pool to create the new BE in (optional) 1108 char *bename, *pool, *zerrdesc; local 1116 ret = be_find_zpool_by_bename(bename, &pool, &zerr, &zerrdesc); 1125 pyret = Py_BuildValue("s", pool); 1126 free(pool);
|
/osnet-11/usr/src/grub/grub2/grub-core/lib/libgcrypt/cipher/ |
H A D | primegen.c | 134 /* 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 D | primegen.c | 133 /* 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...] |
/osnet-11/usr/src/lib/libbe/common/ |
H A D | be_create.c | 86 * "pool" area. 255 * Verify that nbe_name doesn't already exist in some pool. 304 * "pool" area) exists. 322 * alternate "pool" area. If it does, and we've been passed 326 * existing "pool" area which has existing BEs, so we provide 652 * parent dataset between it and the pool dataset, we 934 * BE and the new BE are in the same pool, it uses zfs cloning to 1141 * that new BE name doesn't already exist in some pool. 1187 * pool is the original BE. 1190 be_print_err(gettext("be_copy: cannot specify pool " 1618 be_find_zpool_by_bename(char *bename, char **pool, int *zerr, char **zerrdesc) argument [all...] |
H A D | be_mount.c | 148 /* Get alternate "pool" */ 223 /* Get alternate "pool" area */ 260 * altpool - pointer to alternate "pool" area to find the BE. 296 /* Find which zpool obe_name lives in if alternate "pool" not provide */ 433 * altpool - pointer to alternate "pool" area to find the BE. 468 /* Find which zpool obe_name lives in if alternate "pool" not provide */ 1343 * processes the pool's "pool data" dataset, then uses 1344 * iter_shared_fs_callback to iterate through the pool's 1347 * zlp - zpool_handle_t pointer to the current pool bein 1418 char *pool; local [all...] |