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

12345678910

/illumos-gate/usr/src/man/man3pool/
H A DMakefile19 MANSECT= 3pool
21 MANFILES= pool_associate.3pool \
22 pool_component_info.3pool \
23 pool_component_to_elem.3pool \
24 pool_conf_alloc.3pool \
25 pool_dynamic_location.3pool \
26 pool_error.3pool \
27 pool_get_binding.3pool \
28 pool_get_pool.3pool \
29 pool_get_property.3pool \
[all...]
/illumos-gate/usr/src/lib/libpool/common/
H A Dllib-lpool31 #include <pool.h>
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_002_pos.ksh53 if poolexists $pool; then
54 log_must zpool destroy -f $pool
68 pool=pool.$$
76 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \
77 "status $pool" "upgrade $pool" "get delegation $pool" "se
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/blockfiles/
H A DMakefile23 zfs-pool-v1.dat.bz2 \
24 zfs-pool-v10.dat.bz2 \
25 zfs-pool-v11.dat.bz2 \
26 zfs-pool-v12.dat.bz2 \
27 zfs-pool-v13.dat.bz2 \
28 zfs-pool-v14.dat.bz2 \
29 zfs-pool-v15.dat.bz2 \
30 zfs-pool-v1mirror1.dat.bz2 \
31 zfs-pool-v1mirror2.dat.bz2 \
32 zfs-pool
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintpooldata.c17 void printpooldata(pool, opts)
18 ip_pool_t *pool;
23 if ((pool->ipo_flags & IPOOL_ANON) != 0)
24 PRINTF("# 'anonymous' tree %s\n", pool->ipo_name);
27 PRINTF("Name: %s", pool->ipo_name);
28 if ((pool->ipo_flags & IPOOL_ANON) == IPOOL_ANON)
34 switch (pool->ipo_unit)
61 PRINTF("unknown(%d)", pool->ipo_unit);
65 PRINTF(" type = tree number = %s\n", pool->ipo_name);
69 PRINTF("\tReferences: %d\tHits: %lu\n", pool
[all...]
H A Dremove_pool.c23 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 Dload_pool.c30 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...]
H A Dprintpool_live.c20 ip_pool_t *printpool_live(pool, fd, name, opts)
21 ip_pool_t *pool;
31 if ((name != NULL) && strncmp(name, pool->ipo_name, FR_GROUPLEN))
32 return pool->ipo_next;
34 printpooldata(pool, opts);
48 iter.ili_unit = pool->ipo_unit;
49 strncpy(iter.ili_name, pool->ipo_name, FR_GROUPLEN);
80 return pool->ipo_next;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount.kshlib45 # Create pool and ( fs | container | vol ) with the given parameters,
48 function setup_filesystem #disklist #pool #fs #mntpoint #type #vdev
51 typeset pool=$2
57 if [[ -z $pool || -z $fs || -z $mntpoint ]]; then
58 log_note "Missing parameter: (\"$pool\", \"$fs\", \"$mntpoint\")"
75 poolexists $pool || \
76 create_pool $pool $vdev $disklist
78 datasetexists $pool/$fs && \
79 log_must cleanup_filesystem $pool $fs
87 'ctr') log_must zfs create $pool/
[all...]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc.c54 * Each master transport is registered to exactly one thread pool.
68 * A pool represents a kernel RPC service (NFS, Lock Manager, etc.).
69 * Transports related to the service are registered to the service pool.
70 * Service threads can switch between different transports in the pool.
71 * Thus, each service has its own pool of service threads. The maximum
72 * number of threads in a pool is pool->p_maxthreads. This limit allows
80 * In addition, each pool contains a doubly-linked list of transports,
82 * the pool share some other parameters such as stack size and
89 * svc_do_run(), respectively. Once the pool ha
360 SVCPOOL *pool; local
399 svc_pool_cleanup(SVCPOOL *pool) argument
439 svc_pool_tryexit(SVCPOOL *pool) argument
477 SVCPOOL *pool; local
501 SVCPOOL *pool; local
535 svc_pool_unregister(struct svc_globals *svc, SVCPOOL *pool) argument
571 svc_pool_register(struct svc_globals *svc, SVCPOOL *pool, int id) argument
599 svc_pool_init(SVCPOOL *pool, uint_t maxthreads, uint_t redline, uint_t qsize, uint_t timeout, uint_t stksize, uint_t max_same_xprt) argument
682 SVCPOOL *pool; local
715 SVCPOOL *pool; local
789 SVCPOOL *pool; local
851 SVCPOOL *pool = xprt->xp_pool; local
883 svc_xprt_qdestroy(SVCPOOL *pool) argument
893 svc_xprt_qinit(SVCPOOL *pool, size_t qsize) argument
921 svc_xprt_qput(SVCPOOL *pool, SVCMASTERXPRT *xprt) argument
956 svc_xprt_qget(SVCPOOL *pool) argument
991 svc_xprt_qdelete(SVCPOOL *pool, SVCMASTERXPRT *xprt) argument
1584 svc_thread_exit(SVCPOOL *pool, SVCXPRT *clone_xprt) argument
1611 svc_thread_exitdetached(SVCPOOL *pool, SVCXPRT *clone_xprt) argument
1644 SVCPOOL *pool; local
1713 svc_thread_creator(SVCPOOL *pool) argument
1809 svc_creator_signal(SVCPOOL *pool) argument
1823 svc_creator_signalexit(SVCPOOL *pool) argument
1842 svc_poll(SVCPOOL *pool, SVCMASTERXPRT *xprt, SVCXPRT *clone_xprt) argument
2160 SVCPOOL *pool = xprt->xp_pool; local
2218 svc_run(SVCPOOL *pool) argument
2406 SVCPOOL *pool; local
2467 SVCPOOL *pool = xprt->xp_pool; local
2521 SVCPOOL *pool = xprt->xp_pool; local
2640 SVCPOOL *pool = clone_xprt->xp_master->xp_pool; local
2670 SVCPOOL *pool = clone_xprt->xp_master->xp_pool; local
2708 SVCPOOL *pool = xprt->xp_pool; local
2760 SVCPOOL *pool; local
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib71 # within the specified pool
73 # $1 The specified pool
78 typeset pool=$1
81 [[ -z $pool ]] && log_fail "No specified pool."
85 mntpnt=$(get_prop mountpoint $pool)
95 # Create test pool and fill with files and directories.
97 # $1 pool name
98 # $2 pool type
103 typeset pool
[all...]
/illumos-gate/usr/src/cmd/pools/poold/
H A Dsvc-poold33 if [ ! -x /usr/lib/pool/poold ]; then
34 echo "/usr/lib/pool/poold not found or not executable"
45 /usr/lib/pool/poold
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dcleanup.ksh37 for pool in "$TESTPOOL" "$TESTPOOL1"; do
38 datasetexists $pool/$TESTFS && \
39 log_must zfs destroy -Rf $pool/$TESTFS
40 destroy_pool "$pool"
H A Dzpool_import_012_pos.ksh38 # Once a pool has been exported, it should be recreated after a
43 # 1. Create the test pool and hierarchical filesystems.
44 # 2. Export the test pool, or destroy the test pool,
99 log_assert "Verify all mount & share status of sub-filesystems within a pool \
104 for pool in ${pools[@]} ; do
105 log_must zfs create $pool/$TESTFS/$TESTCTR
106 log_must zfs create $pool/$TESTFS/$TESTCTR/$TESTCTR1
107 log_must zfs set canmount=off $pool/$TESTFS/$TESTCTR
108 log_must zfs set canmount=off $pool/
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/vdev_zaps/
H A Dvdev_zaps.kshlib63 function assert_zap_common # pool vd lvl zapobj
65 typeset pool=$1
71 log_fail "$vd on $pool has no $lvl ZAP in config"
72 elif [[ -z "$(zdb -d $pool $zapobj | grep 'zap')" ]]; then
73 log_fail "$vd on $pool has no $lvl ZAP in MOS"
77 function assert_top_zap # pool vd conf
79 typeset pool=$1
84 assert_zap_common $pool "$vd" "top" $top_zap
87 function assert_leaf_zap # pool vd conf
89 typeset pool
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_002_pos.ksh40 # 1. Create pool, fs, volume, fsclone & volclone.
41 # 2. Get random user property name and set to the pool
42 # 3. Verify all dataset user property inherit from pool.
61 cleanup_user_prop $pool
97 pool=$TESTPOOL; fs=$pool/$TESTFS; vol=$pool/$TESTVOL
101 fsclone=$pool/fsclone; volclone=$pool/volclone
107 log_must eval "zfs set $prop_name='$value' $pool"
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_user/misc/
H A Dcleanup.ksh40 if poolexists v1-pool
42 log_must zpool destroy v1-pool
H A Dzpool_upgrade_001_neg.ksh42 # 1. Attempt to upgrade a pool
54 # Now try to upgrade our version 1 pool
55 log_mustnot zpool upgrade v1-pool
57 # if the pool has been upgraded, then v1-pool won't be listed in the output
59 RESULT=$(zpool upgrade | grep v1-pool)
62 log_fail "A pool was upgraded successfully!"
H A Dzpool_status_001_neg.ksh48 RESULT=$(grep "pool:" /tmp/pool-status.$$)
51 log_fail "No pool: string found in zpool status output!"
53 rm /tmp/pool-status.$$
60 log_must eval "zpool status > /tmp/pool-status.$$"
63 log_must eval "zpool status -v > /tmp/pool-status.$$"
66 log_must eval "zpool status $TESTPOOL> /tmp/pool-status.$$"
69 log_must eval "zpool status -v $TESTPOOL > /tmp/pool-status.$$"
73 log_must eval "zpool status -x $TESTPOOL.virt > /tmp/pool-status.$$"
/illumos-gate/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...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade.kshlib37 # files make up the pool, and what the pool name is.
40 # A function to import a pool from files we have stored in the test suite
41 # We import the pool, and create some random data in the pool.
42 # $1 a version number we can use to get information about the pool
57 # Put some random contents into the pool
65 # A function to check the contents of a pool, upgrade it to the current version
67 # not using "zpool status -x" to see if the pool is healthy, as it's possible
69 # $1 a version number we can use to get information about the pool
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache.kshlib44 # Try zpool status/iostat for given pool
46 # $1 pool
50 typeset pool=$1
53 zpool status -xv $pool > /dev/null 2>&1
59 typeset mntpnt=$(get_prop mountpoint $pool)
74 # $1 pool name
81 typeset pool=$1
86 if [[ -z $pool || -z $device || -z $status ]]; then
87 log_fail "Usage: verify_cache_device <pool> <device> " \
96 set -A dev_stat_tab $(zpool status -v $pool | naw
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/clean_mirror/
H A Dclean_mirror_common.kshlib40 # Synchronize all the data in pool
42 # $1 pool name
44 function sync_pool #pool
46 typeset pool=$1
50 # Flush all the pool data.
52 zpool scrub $pool >/dev/null 2>&1
55 log_fail "zpool scrub $pool failed."
57 while ! is_pool_scrubbed $pool; do
58 if is_pool_resilvered $pool ; then
59 log_fail "$pool shoul
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/slog/
H A Dslog.kshlib45 # Try zpool status/iostat for given pool
47 # $1 pool
51 typeset pool=$1
54 zpool status -xv $pool > /dev/null 2>&1
60 typeset mntpnt=$(get_prop mountpoint $pool)
75 # $1 pool name
82 typeset pool=$1
87 if [[ -z $pool || -z $device || -z $status ]]; then
88 log_fail "Usage: verify_slog_device <pool> <device> " \
97 set -A dev_stat_tab $(zpool status -v $pool | naw
[all...]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotManager.c144 * 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...]

Completed in 183 milliseconds

12345678910