/illumos-gate/usr/src/cmd/ipf/lib/common/ |
H A D | remove_pool.c | 23 ip_pool_t pool; local 33 op.iplo_size = sizeof(pool); 34 op.iplo_struct = &pool; 36 bzero((char *)&pool, sizeof(pool)); 37 pool.ipo_unit = poolp->ipo_unit; 38 strncpy(pool.ipo_name, poolp->ipo_name, sizeof(pool.ipo_name)); 39 pool.ipo_flags = poolp->ipo_flags;
|
H A D | load_pool.c | 30 ip_pool_t pool; local 45 op.iplo_size = sizeof(pool); 46 op.iplo_struct = &pool; 47 bzero((char *)&pool, sizeof(pool)); 48 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name)); 61 pool.ipo_list = plp->ipo_list; 62 printpool(&pool, bcopywrap, pool [all...] |
/illumos-gate/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; 104 f->mode |= pool; 112 /* put into discrete pool */ 129 if(!(p = f->pool) ) 130 p = f->pool = &_Sfpool; 137 { if(p->s_sf == 0) /* initialize pool array */ 426 { /* move to head of pool */ 427 if(f == f->pool->sf[0] || (*_Sfpmove)(f,0) < 0 ) 440 if(!f->pool [all...] |
/illumos-gate/usr/src/boot/lib/libstand/zfs/ |
H A D | libzfs.h | 45 uint64_t pool; member in struct:zfs_boot_args
|
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/ |
H A D | Pool.java | 45 * The key of the pool. 51 * @param conf The configuration to which this pool belongs. 52 * @param pool The pointer to the native pool which this object wraps. 55 Pool(Configuration conf, long pool) throws PoolsException argument 58 Value val = getProperty("pool.name", pool); 61 key = "pool." + name; 65 * Returns a pointer to the native pool represented by this 66 * pool objec [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | irm.c | 89 return (list_walk_init_named(wsp, "interrupt pools", "pool")); 104 ddi_irm_pool_t pool; local 130 if (mdb_vread(&pool, sizeof (pool), addr) != sizeof (pool)) { 131 mdb_warn("couldn't read interrupt pool at %p", addr); 136 (uintptr_t)pool.ipool_owner) != sizeof (dev)) { 137 mdb_warn("couldn't read dev_info at %p", pool.ipool_owner); 141 mdb_devinfo2driver((uintptr_t)pool.ipool_owner, driver, 156 irm_get_type(pool [all...] |
/illumos-gate/usr/src/uts/common/sys/ |
H A D | pool.h | 39 #define POOL_DEFAULT 0 /* default pool's ID */ 40 #define POOL_MAXID 999999 /* maximum possible pool ID */ 51 typedef struct pool { struct 52 poolid_t pool_id; /* pool ID */ 53 uint32_t pool_ref; /* # of procs in this pool */ 55 nvlist_t *pool_props; /* pool properties */ 56 struct pool_pset *pool_pset; /* pool's pset */ 72 extern pool_t *pool_default; /* default pool pointer */
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/ |
H A D | nvlist_to_lua.c | 28 const char *pool; variable 95 int err = lzc_channel_program(pool, progstr, 294 (void) printf("usage: %s <pool>\n", 298 pool = argv[1];
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_namecheck.c | 340 * For pool names, we have the same set of valid characters as described in 341 * dataset names, with the additional restriction that the pool name must begin 342 * with a letter. The pool names 'raidz' and 'mirror' are also reserved names 348 pool_namecheck(const char *pool, namecheck_err_t *why, char *what) argument 354 * If we're creating a pool with version >= SPA_VERSION_DSL_SCRUB (v11) 357 * Play it safe and enforce this limit even if the pool version is < 11 360 if (strlen(pool) >= (ZFS_MAX_DATASET_NAME_LEN - 2 - 367 c = pool; 379 if (!(*pool >= 'a' && *pool < [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_synctask.c | 43 dsl_sync_task_common(const char *pool, dsl_checkfunc_t *checkfunc, argument 53 err = spa_open(pool, &spa, FTAG); 120 * A dataset or pool name can be passed as the first argument. Typically, 128 dsl_sync_task(const char *pool, dsl_checkfunc_t *checkfunc, argument 132 return (dsl_sync_task_common(pool, checkfunc, syncfunc, NULL, arg, 150 dsl_early_sync_task(const char *pool, dsl_checkfunc_t *checkfunc, argument 154 return (dsl_sync_task_common(pool, checkfunc, syncfunc, NULL, arg, 163 dsl_sync_task_sig(const char *pool, dsl_checkfunc_t *checkfunc, argument 167 return (dsl_sync_task_common(pool, checkfunc, syncfunc, sigfunc, arg,
|
H A D | spa_checkpoint.c | 29 * A storage pool checkpoint can be thought of as a pool-wide snapshot or 32 * state of the storage pool (e.g. snapshots, dataset names, etc..) from the 35 * zpool on-disk features. If a pool has a checkpoint that is no longer 40 * - The pool has a new feature flag and a new entry in the MOS. The feature 44 * references the state of the pool when we take the checkpoint. The entry 48 * - Each vdev contains a vdev-wide space map while the pool has a checkpoint, 50 * contains entries that have been freed in the current state of the pool 115 * current uberblock for the pool by writing it to disk with an updated 132 * vdev removal and attach/detach, mirror splitting, and pool regui 532 spa_checkpoint(const char *pool) argument 609 spa_checkpoint_discard(const char *pool) argument [all...] |
/illumos-gate/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...] |
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/ |
H A D | vmxnet3_rx.c | 78 * Return a rxBuf to the pool. The init argument, when B_TRUE, indicates 79 * that we're being called for the purpose of pool initialization, and 80 * therefore, we should place the buffer in the pool even if the device 84 * B_TRUE if the buffer was returned to the pool, or B_FALSE if it 109 * Return a rxBuf to the pool or free it. 121 * Get an unused rxBuf from the pool. 124 * A rxBuf or NULL if there are no buffers in the pool. 175 * Populate a Rx descriptor with a new rxBuf. If the pool argument is B_TRUE, 176 * then try to take a buffer from rxPool. If the pool is empty and the 177 * dp->alloc_ok is true, then fall back to dynamic allocation. If pool i 185 vmxnet3_rx_populate(vmxnet3_softc_t *dp, vmxnet3_rxqueue_t *rxq, uint16_t idx, boolean_t canSleep, boolean_t pool) argument [all...] |
/illumos-gate/usr/src/cmd/availdevs/ |
H A D | availdevs.c | 128 xmlNodePtr pool; local 141 pool = xmlNewChild(importable, NULL, (xmlChar *)ELEMENT_POOL, NULL); 142 (void) xmlSetProp(pool, (xmlChar *)ATTR_POOL_NAME, (xmlChar *)name); 144 set_uint64_prop(pool, ATTR_POOL_ID, guid); 145 set_uint64_prop(pool, ATTR_POOL_VERSION, version); 146 set_uint64_prop(pool, ATTR_POOL_USED, vs->vs_alloc); 147 set_uint64_prop(pool, ATTR_POOL_SIZE, vs->vs_space); 148 set_uint64_prop(pool, ATTR_POOL_REPLACEMENT_SIZE, vs->vs_rsize); 149 set_uint64_prop(pool, ATTR_POOL_READ_BYTES, 151 set_uint64_prop(pool, ATTR_POOL_WRITE_BYTE [all...] |
/illumos-gate/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
|
/illumos-gate/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...] |
/illumos-gate/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 504 register Sfio_t* pool; local 553 /* unlock output pool */ 555 if(!(pool=sfpool(NIL(Sfio_t*),shp->outpool,SF_WRITE))) 556 pool = shp->outpool; /* can't happen? */ 557 sfclrlock(pool); 560 sfpurge(pool);
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSlotManager.c | 144 * No need to lock pool, we assume all meta sessions are closed. 442 session_pool_t *pool; local 451 pool = &slots[slotnum].session_pool; 457 (void) pthread_mutex_lock(&pool->list_lock); 459 if (pool->idle_list_head != NULL) { 460 tmp_session = get_session(&(pool->idle_list_head), flags); 463 INSERT_INTO_LIST(pool->active_list_head, tmp_session); 465 pool->num_idle_sessions--; 466 (void) pthread_mutex_unlock(&pool->list_lock); 471 if (pool 530 session_pool_t *pool; local [all...] |
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_q_mem.h | 93 cpqary3_cmdpvt_t *pool; member in struct:cpqary3_cmdmemlist
|
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ippool.c | 226 ip_pool_t pool; local 234 bzero((char *)&pool, sizeof(pool)); 284 fprintf(stderr, "poolname not given with add/remove pool\n"); 293 strncpy(pool.ipo_name, poolname, sizeof(pool.ipo_name)); 294 pool.ipo_name[sizeof(pool.ipo_name) - 1] = '\0'; 295 pool.ipo_unit = role; 305 err = load_pool(&pool, ioct 614 ip_pool_t pool; local [all...] |
/illumos-gate/usr/src/lib/libmlrpc/common/ |
H A D | ndr_svc.c | 386 ndr_svc_binding_pool_init(ndr_binding_t **headpp, ndr_binding_t pool[], argument 393 pool[ix].next = head; 394 pool[ix].service = NULL; 395 pool[ix].p_cont_id = 0xffff; 396 pool[ix].instance_specific = 0; 397 head = &pool[ix];
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdsib_buf.c | 285 /* Initialize data pool */ 308 /* Initialize ctrl pool */ 336 rds_bufpool_t *pool; local 340 pool = &ep->ep_sndpool; 342 mutex_enter(&pool->pool_lock); 343 if (pool->pool_memp == NULL) { 344 mutex_exit(&pool->pool_lock); 376 kmem_free(pool->pool_memp, pool->pool_memsize); 377 kmem_free(pool 660 rds_bufpool_t *pool; local 712 rds_free_buf(rds_bufpool_t *pool, rds_buf_t *bp, uint_t nbuf) argument 757 rds_get_buf(rds_bufpool_t *pool, uint_t nbuf, uint_t *nret) argument [all...] |
/illumos-gate/usr/src/cmd/zinject/ |
H A D | translate.c | 413 * Copy the pool name 447 translate_device(const char *pool, const char *device, err_type_t label_type, argument 459 if ((zhp = zpool_open(g_zfs, pool)) == NULL) 468 "pool '%s'\n", device, pool);
|
/illumos-gate/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...] |