Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 266) sorted by relevance

1234567891011

/illumos-gate/usr/src/man/man3pool/
H A DMakefile19 MANSECT= 3pool
92 pool_create.3pool := LINKSRC = pool_associate.3pool
93 pool_destroy.3pool := LINKSRC = pool_associate.3pool
94 pool_dissociate.3pool := LINKSRC = pool_associate.3pool
95 pool_info.3pool := LINKSRC = pool_associate.3pool
104 pool_conf_close.3pool := LINKSRC = pool_conf_alloc.3pool
107 pool_conf_free.3pool := LINKSRC = pool_conf_alloc.3pool
108 pool_conf_info.3pool := LINKSRC = pool_conf_alloc.3pool
110 pool_conf_open.3pool := LINKSRC = pool_conf_alloc.3pool
123 pool_strerror.3pool := LINKSRC = pool_error.3pool
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc.c464 for (pool = svc->svc_pools; pool; pool = pool->p_next) in svc_pool_find()
528 pool->p_next = pool->p_prev = NULL; in svc_pool_unregister()
883 pool->p_qbody[pool->p_qsize-1].q_next = &(pool->p_qbody[0]); in svc_xprt_qinit()
884 pool->p_qtop = &(pool->p_qbody[0]); in svc_xprt_qinit()
885 pool->p_qend = &(pool->p_qbody[0]); in svc_xprt_qinit()
921 pool->p_qtop = pool->p_qtop->q_next; in svc_xprt_qput()
948 if (pool->p_qend == pool->p_qtop) { in svc_xprt_qget()
2313 if (!(pool->p_drowsy || pool->p_reqs <= pool->p_walkers || in svc_run()
2317 if (pool->p_drowsy || pool->p_reqs <= pool->p_walkers || in svc_run()
2564 if (pool->p_drowsy || pool->p_reqs <= pool->p_walkers || in svc_queuereq()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade.cfg43 zfs-pool-v1stripe2.dat zfs-pool-v1stripe3.dat"
91 zfs-pool-v3hotspare2.dat zfs-pool-v3hotspare3.dat"
94 # v4 pool
98 # v5 pool
102 # v6 pool
106 # v7 pool
110 # v8 pool
114 # v9 pool
118 # v10 pool
122 # v11 pool
[all …]
H A Dzpool_upgrade.kshlib110 typeset pool=$1
112 find /$pool -type f -exec cksum {} + > \
113 /$TESTPOOL/pool-checksums.$pool.$flag
114 echo /$TESTPOOL/pool-checksums.$pool.$flag
123 typeset pool=$1
128 actual=$(zdb -C $pool | sed -n 's/^.*version: \(.*\)$/\1/p')
130 log_fail "$pool: zdb reported version $actual, expected $vers"
134 actual=$(zpool upgrade | grep $pool$ | \
137 log_fail "$pool: zpool reported version $actual, expected $vers"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib78 typeset pool=$1
103 typeset pool=$1
149 typeset pool=$1
179 typeset pool=$1
197 typeset pool=$1
223 typeset pool=$1
250 typeset pool=$1
277 typeset pool=$1
297 sync_pool $pool
307 typeset pool=$1
[all …]
/illumos-gate/usr/src/pkg/manifests/
H A Dservice-resource-pools.p5m45 file path=usr/include/pool.h
108 link path=usr/share/man/man3pool/pool_create.3pool target=pool_associate.3pool
109 link path=usr/share/man/man3pool/pool_destroy.3pool target=pool_associate.3pool
111 target=pool_associate.3pool
120 target=pool_get_pool.3pool
125 link path=usr/share/man/man3pool/pool_info.3pool target=pool_associate.3pool
129 target=pool_get_pool.3pool
133 target=pool_get_pool.3pool
137 target=pool_get_pool.3pool
159 link path=usr/share/man/man3pool/pool_strerror.3pool target=pool_error.3pool
[all …]
/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" "set delegation=off $pool" \
78 "export $pool" "import -d $TESTDIR $pool" "offline $pool $vdev1" \
79 "online $pool $vdev1" "clear $pool" "detach $pool $vdev2" \
80 "attach $pool $vdev1 $vdev2" "replace $pool $vdev2 $vdev3" \
81 "scrub $pool" "destroy -f $pool"
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mmp/
H A Dmmp.kshlib34 typeset pool=${1:-$MMP_POOL}
198 if poolexists $pool; then
199 destroy_pool $pool
208 typeset pool=$1
223 typeset pool=$1
259 typeset pool=$1
265 zpool import $opts $pool
278 typeset pool=$1
283 zpool import $opts $pool
302 typeset pool=$1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_012_pos.ksh104 for pool in ${pools[@]} ; do
113 log_must zfs clone $pool/$TESTFS/$TESTFS1@snap $pool/$TESTCLONE1
129 pool=${pools[i]}
130 guid=$(get_pool_prop guid $pool)
141 log_must is_shared $pool
150 log_must zpool export $pool
152 log_must zpool destroy $pool
155 typeset target=$pool
179 log_must poolexists $pool
182 log_must ismounted $pool/$fs
[all …]
H A Dzpool_import.kshlib47 typeset pool=$1
50 typeset file="/$pool/tmpfile"
64 typeset pool=$1
67 typeset ds="$pool/fillerds"
91 typeset pool=$1
116 typeset pool=$1
125 typeset pool=$1
276 typeset pool=$1
279 status=$(zpool status $pool 2>&1)
302 typeset pool=$1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount.kshlib51 typeset pool=$2
57 if [[ -z $pool || -z $fs || -z $mntpoint ]]; then
75 poolexists $pool || \
76 create_pool $pool $vdev $disklist
78 datasetexists $pool/$fs && \
79 log_must cleanup_filesystem $pool $fs
101 typeset pool=$1
105 if [[ -z $pool || -z $fs ]]; then
110 if datasetexists "$pool/$fs" ; then
111 mtpt=$(get_prop mountpoint "$pool/$fs")
[all …]
/illumos-gate/usr/src/uts/common/io/idm/
H A Didm_impl.c657 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in idm_idpool_increment()
658 kmem_free(pool->id_pool, pool->id_size / 8); in idm_idpool_increment()
660 pool->id_free_counter += new_size - pool->id_size; in idm_idpool_increment()
661 pool->id_max_free_counter += new_size - pool->id_size; in idm_idpool_increment()
666 pool->id_pool[pool->id_idx_msk] = 0x80; in idm_idpool_increment()
716 ASSERT(pool->id_free_counter == pool->id_max_free_counter); in idm_idpool_destroy()
719 kmem_free(pool->id_pool, (size_t)(pool->id_size / 8)); in idm_idpool_destroy()
747 byte = pool->id_pool[pool->id_idx]; in idm_idpool_alloc()
754 pool->id_pool[pool->id_idx] |= bit; in idm_idpool_alloc()
765 pool->id_idx &= pool->id_idx_msk; in idm_idpool_alloc()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_004_pos.ksh59 poolexists $pool && \
60 log_must zpool destroy -f $pool
124 eval pool=\$TESTPOOL$i
127 eval pool=$TESTPOOL/\$TESTFS$i
128 log_must zfs create $pool
133 log_must zfs set $usrprop $pool
137 log_must zfs create $pool/$TESTFS
139 log_must zfs clone $pool/$TESTFS@$TESTSNAP $pool/$TESTCLONE
148 usrpropds="$usrpropds $pool/$TESTFS $pool/$TESTCLONE $pool/$TESTVOL"
149 allds="$allds $pool/$TESTFS $pool/$TESTCLONE $pool/$TESTVOL \
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_024_pos.ksh55 for pool in $child_pools; do
59 if poolexists $pool; then
60 destroy_pool $pool
77 typeset pool=$1
78 typeset vdev0="$TEST_BASE_DIR/$pool-vdev0.img"
79 typeset vdev1="$TEST_BASE_DIR/$pool-vdev1.img"
91 zpool create $pool $vdev0 $vdev1
103 zpool destroy $pool
135 for pool in $child_pools; do
139 if poolexists $pool; then
[all …]
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaSlotManager.c442 session_pool_t *pool; in meta_get_slot_session() local
451 pool = &slots[slotnum].session_pool; in meta_get_slot_session()
457 (void) pthread_mutex_lock(&pool->list_lock); in meta_get_slot_session()
459 if (pool->idle_list_head != NULL) { in meta_get_slot_session()
465 pool->num_idle_sessions--; in meta_get_slot_session()
471 if (pool->persist_list_head != NULL) { in meta_get_slot_session()
530 session_pool_t *pool; in meta_release_slot_session() local
537 if (pool->persist_list_head == NULL && in meta_release_slot_session()
538 pool->idle_list_head == NULL && in meta_release_slot_session()
539 pool->active_list_head->next == NULL) in meta_release_slot_session()
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintpooldata.c17 void printpooldata(pool, opts) in printpooldata() argument
18 ip_pool_t *pool; in printpooldata()
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);
70 pool->ipo_hits);
[all …]
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.ipo_name, opts);
63 pool.ipo_list = NULL;
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;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c234 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in smb_idpool_increment()
235 kmem_free(pool->id_pool, pool->id_size / 8); in smb_idpool_increment()
237 pool->id_free_counter += new_size - pool->id_size; in smb_idpool_increment()
238 pool->id_max_free_counter += new_size - pool->id_size; in smb_idpool_increment()
243 pool->id_pool[pool->id_idx_msk] = 0x80; in smb_idpool_increment()
293 ASSERT(pool->id_free_counter == pool->id_max_free_counter); in smb_idpool_destructor()
296 kmem_free(pool->id_pool, (size_t)(pool->id_size / 8)); in smb_idpool_destructor()
326 byte = pool->id_pool[pool->id_idx]; in smb_idpool_alloc()
333 pool->id_pool[pool->id_idx] |= bit; in smb_idpool_alloc()
346 pool->id_idx &= pool->id_idx_msk; in smb_idpool_alloc()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dpool.c359 for (pool = list_head(&pool_list); pool; in pool_lookup_pool_by_name()
360 pool = list_next(&pool_list, pool)) { in pool_lookup_pool_by_name()
374 for (pool = list_head(&pool_list); pool; in pool_lookup_pool_by_id()
375 pool = list_next(&pool_list, pool)) { in pool_lookup_pool_by_id()
389 for (pool = list_head(&pool_list); pool != NULL; in pool_lookup_pool_by_pset()
390 pool = list_next(&pool_list, pool)) { in pool_lookup_pool_by_pset()
404 pool_t *pool; in pool_pool_create() local
653 for (pool = list_head(&pool_list); pool != NULL; in pool_lookup_id_by_pset()
654 pool = list_next(&pool_list, pool)) { in pool_lookup_id_by_pset()
803 for (pool = list_head(&pool_list); pool; in pool_pool_pack()
[all …]
/illumos-gate/usr/src/test/zfs-tests/cmd/libzfs_input_check/
H A Dlibzfs_input_check.c329 test_create(const char *pool) in test_create() argument
772 test_pool_sync(pool); in zfs_ioc_input_tests()
774 test_pool_reopen(pool); in zfs_ioc_input_tests()
776 test_pool_checkpoint(pool); in zfs_ioc_input_tests()
778 test_log_history(pool); in zfs_ioc_input_tests()
795 test_hold(pool, snapshot); in zfs_ioc_input_tests()
807 test_channel_program(pool); in zfs_ioc_input_tests()
813 test_vdev_initialize(pool); in zfs_ioc_input_tests()
814 test_vdev_trim(pool); in zfs_ioc_input_tests()
816 test_set_bootenv(pool); in zfs_ioc_input_tests()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/trim/
H A Dtrim.kshlib36 typeset pool="${1-:$TESTPOOL}"
43 rval=$(zpool iostat -pr $pool | awk \
48 rval=$(zpool iostat -pr $pool | awk \
63 typeset pool="${1:-$TESTPOOL}"
68 ios=$(get_trim_io $pool $type)
71 log_note "Issued $ios $type trim IOs for pool $pool"
82 typeset pool="${1-:$TESTPOOL}"
99 typeset ios=$(get_trim_io $pool $type)
131 typeset pool="$1"
140 if [[ "$(trim_progress $pool $vdev)" -lt "100" ]]; then
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremoval.kshlib28 typeset pool=$1
31 while is_pool_removing $pool; do
41 log_must is_pool_removed $pool
60 typeset pool=$1
67 log_must zpool remove $pool $disk
74 log_must is_pool_removing $pool
82 log_must is_pool_removing $pool
86 log_must wait_for_removal $pool
87 log_mustnot vdevs_in_pool $pool $disk
93 typeset pool=$1
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib69 typeset pool=$1
73 log_must zfs snapshot $pool@psnap
74 log_must zfs clone $pool@psnap $pool/pclone
81 log_must zfs clone $pool/$FS/vol@vsnap $pool/$FS/vclone
85 log_must zfs clone $pool/$FS/fs1/fs2@fsnap $pool/$FS/fs1/fclone
88 log_must snapshot_tree $pool@snapA
117 typeset pool=$1
121 log_must zfs destroy -Rf $pool
125 if [[ $ds != $pool ]] ; then
134 if ! ismounted $pool ; then
[all …]
/illumos-gate/usr/src/cmd/availdevs/
H A Davaildevs.c128 xmlNodePtr pool; in add_pool_to_xml() local
144 set_uint64_prop(pool, ATTR_POOL_ID, guid); in add_pool_to_xml()
145 set_uint64_prop(pool, ATTR_POOL_VERSION, version); in add_pool_to_xml()
146 set_uint64_prop(pool, ATTR_POOL_USED, vs->vs_alloc); in add_pool_to_xml()
147 set_uint64_prop(pool, ATTR_POOL_SIZE, vs->vs_space); in add_pool_to_xml()
149 set_uint64_prop(pool, ATTR_POOL_READ_BYTES, in add_pool_to_xml()
151 set_uint64_prop(pool, ATTR_POOL_WRITE_BYTES, in add_pool_to_xml()
153 set_uint64_prop(pool, ATTR_POOL_READ_OPERATIONS, in add_pool_to_xml()
155 set_uint64_prop(pool, ATTR_POOL_WRITE_OPERATIONS, in add_pool_to_xml()
159 set_uint64_prop(pool, ATTR_POOL_CHECKSUM_ERRORS, in add_pool_to_xml()
[all …]

1234567891011