Home
last modified time | relevance | path

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

12345678910

/titanic_44/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 …]
/titanic_44/usr/src/uts/common/rpc/
H A Dsvc.c358 SVCPOOL *pool; in svc_zoneshutdown() local
361 while ((pool = svc->svc_pools) != NULL) { in svc_zoneshutdown()
362 svc_pool_unregister(svc, pool); in svc_zoneshutdown()
397 svc_pool_cleanup(SVCPOOL *pool) in svc_pool_cleanup() argument
399 ASSERT(pool->p_threads + pool->p_detached_threads == 0); in svc_pool_cleanup()
400 ASSERT(pool->p_lcount == 0); in svc_pool_cleanup()
401 ASSERT(pool->p_closing); in svc_pool_cleanup()
408 if (pool->p_shutdown != NULL) in svc_pool_cleanup()
409 (pool->p_shutdown)(); in svc_pool_cleanup()
412 svc_xprt_qdestroy(pool); in svc_pool_cleanup()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
H A Dzpool_upgrade.cfg34 # in the test directory which can be used to construct a pool of a given
36 # ZPOOL_VERSION_$var_FILES describes the files the pool is made from, and
37 # ZPOOL_VERSION_$var_NAME describes the pool name.
40 export ZPOOL_VERSION_1_FILES="zfs-pool-v1.dat"
41 export ZPOOL_VERSION_1_NAME="v1-pool"
43 export ZPOOL_VERSION_1stripe_FILES="zfs-pool-v1stripe1.dat \
44 zfs-pool-v1stripe2.dat zfs-pool-v1stripe3.dat"
45 export ZPOOL_VERSION_1stripe_NAME="pool-v1stripe"
47 export ZPOOL_VERSION_1raidz_FILES="zfs-pool-v1raidz1.dat zfs-pool-v1raidz2.dat \
48 zfs-pool-v1raidz3.dat"
[all …]
/titanic_44/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-v1mirror3.dat.bz2 \
[all …]
/titanic_44/usr/src/pkg/manifests/
H A Dservice-resource-pools.mf57 dir path=var/adm/pool group=sys variant.opensolaris.zone=global
58 dir path=var/log/pool group=sys variant.opensolaris.zone=global
59 driver name=pool perms="pool 0666 root sys" perms="poolctl 0666 root sys"
67 file path=usr/include/pool.h
68 file path=usr/kernel/drv/$(ARCH64)/pool group=sys
69 file path=usr/kernel/drv/pool.conf group=sys
85 file path=usr/share/man/man3pool/pool_associate.3pool
86 file path=usr/share/man/man3pool/pool_component_info.3pool
87 file path=usr/share/man/man3pool/pool_component_to_elem.3pool
88 file path=usr/share/man/man3pool/pool_conf_alloc.3pool
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/redundancy/
H A Dredundancy.kshlib78 typeset pool=$1
81 [[ -z $pool ]] && log_fail "No specified pool."
85 mntpnt=$(get_prop mountpoint $pool)
103 typeset pool=$1
118 if poolexists $pool ; then
119 destroy_pool $pool
124 log_must $ZPOOL create -m $TESTDIR $pool $keyword $vdevs
149 typeset pool=$1
151 typeset healthy_output="pool '$pool' is healthy"
152 typeset real_output=$($ZPOOL status -x $pool)
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool/
H A Dzpool_002_pos.ksh48 if poolexists $pool; then
49 log_must $ZPOOL destroy -f $pool
63 pool=pool.$$
71 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \
72 "status $pool" "upgrade $pool" "get delegation $pool" "set delegation=off $pool" \
73 "export $pool" "import -d $TESTDIR $pool" "offline $pool $vdev1" \
74 "online $pool $vdev1" "clear $pool" "detach $pool $vdev2" \
75 "attach $pool $vdev1 $vdev2" "replace $pool $vdev2 $vdev3" \
76 "scrub $pool" "destroy -f $pool"
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount.kshlib47 typeset pool=$2
53 if [[ -z $pool || -z $fs || -z $mntpoint ]]; then
54 log_note "Missing parameter: (\"$pool\", \"$fs\", \"$mntpoint\")"
71 poolexists $pool || \
72 create_pool $pool $vdev $disklist
74 datasetexists $pool/$fs && \
75 log_must cleanup_filesystem $pool $fs
83 'ctr') log_must $ZFS create $pool/$fs
84 log_must $ZFS set mountpoint=$mntpoint $pool/$fs
86 'vol') log_must $ZFS create -V $VOLSIZE $pool/$fs
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_012_pos.ksh104 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/$TESTFS/$TESTCTR/$TESTCTR1
109 log_must $ZFS create $pool/$TESTFS/$TESTCTR/$TESTFS1
110 log_must $ZFS create $pool/$TESTFS/$TESTCTR/$TESTCTR1/$TESTFS1
111 log_must $ZFS create $pool/$TESTFS/$TESTFS1
112 log_must $ZFS snapshot $pool/$TESTFS/$TESTFS1@snap
113 log_must $ZFS clone $pool/$TESTFS/$TESTFS1@snap $pool/$TESTCLONE1
[all …]
/titanic_44/usr/src/uts/common/io/idm/
H A Didm_impl.c645 idm_idpool_t *pool) in idm_idpool_increment() argument
650 ASSERT(pool->id_magic == IDM_IDPOOL_MAGIC); in idm_idpool_increment()
652 new_size = pool->id_size * 2; in idm_idpool_increment()
657 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()
659 pool->id_pool = new_pool; 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()
662 pool->id_size = new_size; in idm_idpool_increment()
663 pool->id_idx_msk = (new_size / 8) - 1; in idm_idpool_increment()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_004_pos.ksh58 for pool in $TESTPOOL1 $TESTPOOL2 $TESTPOOL3; do
59 poolexists $pool && \
60 log_must $ZPOOL destroy -f $pool
124 eval pool=\$TESTPOOL$i
125 log_must $ZPOOL create $pool ${file}$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
138 log_must $ZFS snapshot $pool/$TESTFS@$TESTSNAP
[all …]
/titanic_44/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);
69 PRINTF("\tReferences: %d\tHits: %lu\n", pool->ipo_ref,
[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;
/titanic_44/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()
460 tmp_session = get_session(&(pool->idle_list_head), flags); in meta_get_slot_session()
463 INSERT_INTO_LIST(pool->active_list_head, tmp_session); in meta_get_slot_session()
465 pool->num_idle_sessions--; in meta_get_slot_session()
466 (void) pthread_mutex_unlock(&pool->list_lock); in meta_get_slot_session()
471 if (pool->persist_list_head != NULL) { in meta_get_slot_session()
472 tmp_session = get_session(&(pool->persist_list_head), flags); in meta_get_slot_session()
[all …]
/titanic_44/usr/src/test/zfs-tests/tests/functional/rsend/
H A Drsend.kshlib67 typeset pool=$1
69 log_must $ZFS create -p $pool/$FS/fs1/fs2
71 log_must $ZFS snapshot $pool@psnap
72 log_must $ZFS clone $pool@psnap $pool/pclone
75 log_must $ZFS create -V 16M $pool/vol
76 log_must $ZFS create -V 16M $pool/$FS/vol
78 log_must $ZFS snapshot $pool/$FS/vol@vsnap
79 log_must $ZFS clone $pool/$FS/vol@vsnap $pool/$FS/vclone
82 log_must snapshot_tree $pool/$FS/fs1/fs2@fsnap
83 log_must $ZFS clone $pool/$FS/fs1/fs2@fsnap $pool/$FS/fs1/fclone
[all …]
/titanic_44/usr/src/lib/libzfs_core/common/
H A Dlibzfs_core.c220 char pool[ZFS_MAX_DATASET_NAME_LEN]; in lzc_snapshot() local
228 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_snapshot()
229 pool[strcspn(pool, "/@")] = '\0'; in lzc_snapshot()
236 error = lzc_ioctl(ZFS_IOC_SNAPSHOT, pool, args, errlist); in lzc_snapshot()
272 char pool[ZFS_MAX_DATASET_NAME_LEN]; in lzc_destroy_snaps() local
278 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_destroy_snaps()
279 pool[strcspn(pool, "/@")] = '\0'; in lzc_destroy_snaps()
286 error = lzc_ioctl(ZFS_IOC_DESTROY_SNAPS, pool, args, errlist); in lzc_destroy_snaps()
364 char pool[ZFS_MAX_DATASET_NAME_LEN]; in lzc_hold() local
373 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_hold()
[all …]
/titanic_44/usr/src/uts/common/os/
H A Dpool.c355 pool_t *pool = pool_default; in pool_lookup_pool_by_name() local
359 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()
361 if (nvlist_lookup_string(pool->pool_props, in pool_lookup_pool_by_name()
363 return (pool); in pool_lookup_pool_by_name()
371 pool_t *pool = pool_default; in pool_lookup_pool_by_id() local
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()
376 if (pool->pool_id == poolid) in pool_lookup_pool_by_id()
377 return (pool); in pool_lookup_pool_by_id()
[all …]
/titanic_44/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c205 smb_idpool_t *pool) in smb_idpool_increment() argument
210 ASSERT(pool->id_magic == SMB_IDPOOL_MAGIC); in smb_idpool_increment()
212 new_size = pool->id_size * 2; in smb_idpool_increment()
217 bcopy(pool->id_pool, new_pool, pool->id_size / 8); in smb_idpool_increment()
218 kmem_free(pool->id_pool, pool->id_size / 8); in smb_idpool_increment()
219 pool->id_pool = new_pool; in smb_idpool_increment()
220 pool->id_free_counter += new_size - pool->id_size; in smb_idpool_increment()
221 pool->id_max_free_counter += new_size - pool->id_size; in smb_idpool_increment()
222 pool->id_size = new_size; in smb_idpool_increment()
223 pool->id_idx_msk = (new_size / 8) - 1; in smb_idpool_increment()
[all …]
/titanic_44/usr/src/cmd/availdevs/
H A Davaildevs.c128 xmlNodePtr pool; in add_pool_to_xml() local
141 pool = xmlNewChild(importable, NULL, (xmlChar *)ELEMENT_POOL, NULL); in add_pool_to_xml()
142 (void) xmlSetProp(pool, (xmlChar *)ATTR_POOL_NAME, (xmlChar *)name); in add_pool_to_xml()
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()
148 set_uint64_prop(pool, ATTR_POOL_REPLACEMENT_SIZE, vs->vs_rsize); 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()
[all …]
/titanic_44/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c227 qlt_dma_handle_pool_t *pool; in qlt_dma_handle_pool_init() local
229 pool = kmem_zalloc(sizeof (*pool), KM_SLEEP); in qlt_dma_handle_pool_init()
230 mutex_init(&pool->pool_lock, NULL, MUTEX_DRIVER, NULL); in qlt_dma_handle_pool_init()
231 qlt->qlt_dma_handle_pool = pool; in qlt_dma_handle_pool_init()
237 qlt_dma_handle_pool_t *pool; in qlt_dma_handle_pool_fini() local
240 pool = qlt->qlt_dma_handle_pool; in qlt_dma_handle_pool_fini()
241 mutex_enter(&pool->pool_lock); in qlt_dma_handle_pool_fini()
246 ASSERT(pool->num_free == pool->num_total); in qlt_dma_handle_pool_fini()
247 if (pool->num_free != pool->num_total) in qlt_dma_handle_pool_fini()
250 pool->num_free, pool->num_total); in qlt_dma_handle_pool_fini()
[all …]
/titanic_44/usr/src/common/zfs/
H A Dzfs_namecheck.c298 pool_namecheck(const char *pool, namecheck_err_t *why, char *what) in pool_namecheck() argument
305 if (strlen(pool) >= ZFS_MAX_DATASET_NAME_LEN) { in pool_namecheck()
311 c = pool; in pool_namecheck()
323 if (!(*pool >= 'a' && *pool <= 'z') && in pool_namecheck()
324 !(*pool >= 'A' && *pool <= 'Z')) { in pool_namecheck()
330 if (strcmp(pool, "mirror") == 0 || strcmp(pool, "raidz") == 0) { in pool_namecheck()
336 if (pool[0] == 'c' && (pool[1] >= '0' && pool[1] <= '9')) { in pool_namecheck()
/titanic_44/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])
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 && f2->pool != &_Sfpool && f2 != f2->pool->sf[0])
/titanic_44/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_002_pos.ksh57 cleanup_user_prop $pool
93 pool=$TESTPOOL; fs=$pool/$TESTFS; vol=$pool/$TESTVOL
97 fsclone=$pool/fsclone; volclone=$pool/volclone
103 log_must eval "$ZFS set $prop_name='$value' $pool"
104 log_must eval "check_user_prop $pool $prop_name '$value'"
105 log_must inherit_check $prop_name $pool $fs $vol $fsclone $volclone
110 log_must inherit_check $prop_name $pool $fs $new_fsclone $new_volclone
/titanic_44/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c98 av1394_isoch_pool_t *pool; in av1394_ic_init() local
159 pool = &icp->ic_ir.ir_data_pool; in av1394_ic_init()
162 pool = &icp->ic_it.it_data_pool; in av1394_ic_init()
174 icp->ic_mmap_sz = pool->ip_umem_size; in av1394_ic_init()
425 av1394_ic_alloc_pool(av1394_isoch_pool_t *pool, size_t framesz, int cnt, in av1394_ic_alloc_pool() argument
461 pool->ip_alloc_size = nsegs * sizeof (av1394_isoch_seg_t); in av1394_ic_alloc_pool()
462 pool->ip_seg = kmem_zalloc(pool->ip_alloc_size, KM_SLEEP); in av1394_ic_alloc_pool()
465 pool->ip_nsegs = 0; in av1394_ic_alloc_pool()
466 pool->ip_size = 0; in av1394_ic_alloc_pool()
467 pool->ip_umem_size = 0; in av1394_ic_alloc_pool()
[all …]

12345678910