Home
last modified time | relevance | path

Searched refs:pool (Results 26 – 50 of 267) sorted by relevance

1234567891011

/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch_chan.c93 av1394_isoch_pool_t *pool; in av1394_ic_init() local
413 pool->ip_seg = kmem_zalloc(pool->ip_alloc_size, KM_SLEEP); in av1394_ic_alloc_pool()
416 pool->ip_nsegs = 0; in av1394_ic_alloc_pool()
417 pool->ip_size = 0; in av1394_ic_alloc_pool()
418 pool->ip_umem_size = 0; in av1394_ic_alloc_pool()
420 seg = &pool->ip_seg[i]; in av1394_ic_alloc_pool()
432 pool->ip_nsegs++; in av1394_ic_alloc_pool()
454 kmem_free(pool->ip_seg, pool->ip_alloc_size); in av1394_ic_free_pool()
455 pool->ip_seg = NULL; in av1394_ic_free_pool()
477 isp = &pool->ip_seg[i]; in av1394_ic_dma_setup()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/
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/lib/libzfs_core/common/
H A Dlibzfs_core.c377 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_snapshot()
378 pool[strcspn(pool, "/@")] = '\0'; in lzc_snapshot()
427 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_destroy_snaps()
428 pool[strcspn(pool, "/@")] = '\0'; in lzc_destroy_snaps()
537 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_hold()
538 pool[strcspn(pool, "/@")] = '\0'; in lzc_hold()
582 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_release()
583 pool[strcspn(pool, "/@")] = '\0'; in lzc_release()
996 (void) strlcpy(pool, nvpair_name(elem), sizeof (pool)); in lzc_bookmark()
997 pool[strcspn(pool, "/#")] = '\0'; in lzc_bookmark()
[all …]
/illumos-gate/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()
237 qlt_dma_handle_pool_t *pool; in qlt_dma_handle_pool_fini() local
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()
251 handle = pool->free_list; in qlt_dma_handle_pool_fini()
259 kmem_free(pool, sizeof (*pool)); in qlt_dma_handle_pool_fini()
501 qlt_dma_handle_pool_t *pool; in qlt_dma_alloc_handle_list() local
519 pool->num_free++; in qlt_dma_alloc_handle_list()
[all …]
/illumos-gate/usr/src/cmd/fm/dicts/
H A DZFS.po29 # keys: ereport.fs.zfs.pool.corrupt_cache
72 msgstr "The pool is no longer available"
104 msgstr "The pool is no longer available"
109 # keys: ereport.fs.zfs.pool.bad_guid_sum
120 msgstr "The pool cannot be imported"
125 # keys: ereport.fs.zfs.pool.corrupt_pool
136 msgstr "The pool is no longer available"
184 msgstr "The pool is unavailable."
189 # keys: fault.fs.zfs.pool
200 msgstr "The pool data is unavailable"
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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])
H A Dsfpool.c184 f->pool = NIL(Sfpool_t*);
233 { if(!(p = f->pool) )
263 else if(!pf->pool || pf->pool == &_Sfpool)
265 else return pf->pool->sf[0];
290 if(f == pf || (pf && f->pool == pf->pool && f->pool != &_Sfpool) )
306 { if((p = f->pool) != NIL(Sfpool_t*) && p != &_Sfpool)
318 if(!pf->pool || pf->pool == &_Sfpool || pf->pool->n_sf <= 0 )
324 if(pf->pool && pf->pool != &_Sfpool) /* always use current mode */
325 mode = pf->pool->mode;
344 pf->pool = p;
[all …]
H A Dsfswap.c76 if(!f1->pool)
78 else for(f1pool = f1->pool->n_sf-1; f1pool >= 0; --f1pool)
79 if(f1->pool->sf[f1pool] == f1)
81 if(!f2->pool)
83 else for(f2pool = f2->pool->n_sf-1; f2pool >= 0; --f2pool)
84 if(f2->pool->sf[f2pool] == f2)
95 f1->pool->sf[f2pool] = f1;
97 f2->pool->sf[f1pool] = f2;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_002_pos.ksh61 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"
108 log_must eval "check_user_prop $pool $prop_name '$value'"
109 log_must inherit_check $prop_name $pool $fs $vol $fsclone $volclone
114 log_must inherit_check $prop_name $pool $fs $new_fsclone $new_volclone
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_cookie.c151 buffer->pool = dapl_os_alloc(size * sizeof (DAPL_COOKIE)); in dapls_cb_create()
152 if (NULL != buffer->pool) { in dapls_cb_create()
158 buffer->pool[i].index = i; in dapls_cb_create()
159 buffer->pool[i].queue_type = type; in dapls_cb_create()
161 buffer->pool[i].queue.ep = queue; in dapls_cb_create()
163 buffer->pool[i].queue.srq = queue; in dapls_cb_create()
215 curr_buffer->pool[0].queue.ptr, curr_buffer->pool[0].queue_type, in dapls_cb_resize()
227 new_buffer->pool[index] = curr_buffer->pool[head]; in dapls_cb_resize()
256 if (NULL != buffer->pool) { in dapls_cb_free()
257 dapl_os_free(buffer->pool, buffer->pool_size * in dapls_cb_free()
[all …]
/illumos-gate/usr/src/common/zfs/
H A Dzfs_namecheck.c348 pool_namecheck(const char *pool, namecheck_err_t *why, char *what) in pool_namecheck() argument
360 if (strlen(pool) >= (ZFS_MAX_DATASET_NAME_LEN - 2 - in pool_namecheck()
367 c = pool; in pool_namecheck()
379 if (!(*pool >= 'a' && *pool <= 'z') && in pool_namecheck()
380 !(*pool >= 'A' && *pool <= 'Z')) { in pool_namecheck()
386 if (strcmp(pool, "mirror") == 0 || strcmp(pool, "raidz") == 0) { in pool_namecheck()
392 if (pool[0] == 'c' && (pool[1] >= '0' && pool[1] <= '9')) { in pool_namecheck()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_reopen/
H A Dzpool_reopen.shlib62 # The passed function is executed with pool name as argument
67 function wait_for_action #pool timeout function
69 typeset pool=$1
75 if ( $func $pool ); then
90 function wait_for_resilver_start #pool timeout
96 function wait_for_resilver_end #pool timeout
102 function wait_for_scrub_end #pool timeout
112 function is_scan_restarted #pool
114 typeset pool=$1
119 function is_deferred_scan_started #pool
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/vdev_zaps/
H A Dvdev_zaps.kshlib65 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"
79 typeset pool=$1
84 assert_zap_common $pool "$vd" "top" $top_zap
89 typeset pool=$1
94 assert_zap_common $pool "$vd" "leaf" $leaf_zap
/illumos-gate/usr/src/cmd/zinject/
H A Dzinject.c378 id, pool, (u_longlong_t)record->zi_objset, in print_data_handler()
411 (void) printf("%3d %-15s %llx\n", id, pool, in print_device_handler()
564 (void) strcpy(zc.zc_name, pool); in register_handler()
583 (void) printf(" pool: %s\n", pool); in register_handler()
755 char pool[MAXNAMELEN]; in main() local
1059 (void) strlcpy(pool, argv[0], sizeof (pool)); in main()
1078 return (perform_action(pool, &record, action)); in main()
1099 (void) strlcpy(pool, argv[0], sizeof (pool)); in main()
1135 (void) strlcpy(pool, argv[0], sizeof (pool)); in main()
1170 (void) strlcpy(pool, argv[0], sizeof (pool)); in main()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dirm.c104 ddi_irm_pool_t pool; in irmpools_dcmd() local
130 if (mdb_vread(&pool, sizeof (pool), addr) != sizeof (pool)) { in irmpools_dcmd()
136 (uintptr_t)pool.ipool_owner) != sizeof (dev)) { in irmpools_dcmd()
137 mdb_warn("couldn't read dev_info at %p", pool.ipool_owner); in irmpools_dcmd()
141 mdb_devinfo2driver((uintptr_t)pool.ipool_owner, driver, in irmpools_dcmd()
156 irm_get_type(pool.ipool_types), pool.ipool_totsz, in irmpools_dcmd()
157 pool.ipool_reqno, pool.ipool_resno); in irmpools_dcmd()
/illumos-gate/usr/src/test/zfs-tests/include/
H A Dlibtest.shlib446 typeset pool=""
934 "$pool"
1200 [[ -d /$pool ]] && rm -rf /$pool
1563 # Given a pool, and this function list all disks in the pool
1817 # $1 pool name
2203 # $1 pool name
2359 nawk -v device=$disk -v pool=$pool -v field=$field \
2611 # $1 pool
2615 # vdevs is not in the pool, and 2 if pool name is missing.
2713 # $1 pool name
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dprintpool_live.c18 ip_pool_t *printpool_live(pool, fd, name, opts) in printpool_live() argument
19 ip_pool_t *pool; in printpool_live()
29 if ((name != NULL) && strncmp(name, pool->ipo_name, FR_GROUPLEN))
30 return pool->ipo_next;
32 printpooldata(pool, opts);
46 iter.ili_unit = pool->ipo_unit;
47 strncpy(iter.ili_name, pool->ipo_name, FR_GROUPLEN);
78 return pool->ipo_next;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_missing_003_pos.ksh66 typeset pool=$1
77 log_must poolexists $pool
79 myhealth=$(zpool list -H -o health $pool)
82 log_fail "$pool: Incorrect health ($myhealth), " \
85 log_must ismounted $pool/$fs
87 mymtpt=$(get_prop mountpoint $pool/$fs)
89 log_fail "$pool/$fs: Incorrect mountpoint ($mymtpt), " \
107 for pool in $TESTPOOL1 $TESTPOOL2; do
108 if poolexists "$pool" ; then
109 cleanup_filesystem $pool $TESTFS
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_buf.c336 rds_bufpool_t *pool; in rds_free_send_pool() local
340 pool = &ep->ep_sndpool; in rds_free_send_pool()
376 kmem_free(pool->pool_memp, pool->pool_memsize); in rds_free_send_pool()
379 pool->pool_memp = NULL; in rds_free_send_pool()
660 rds_bufpool_t *pool; in rds_free_recv_pool() local
663 pool = &rds_dpool; in rds_free_recv_pool()
665 pool = &rds_cpool; in rds_free_recv_pool()
725 pool->pool_headp = bp; in rds_free_buf()
732 pool->pool_tailp = bp; in rds_free_buf()
791 pool->pool_nbusy += pool->pool_nfree; in rds_get_buf()
[all …]
/illumos-gate/usr/src/lib/libzfsbootenv/common/
H A Dlzbe_device.c28 lzbe_set_boot_device(const char *pool, lzbe_flags_t flag, const char *device) in lzbe_set_boot_device() argument
37 if (pool == NULL || *pool == '\0') in lzbe_set_boot_device()
43 zphdl = zpool_open(hdl, pool); in lzbe_set_boot_device()
114 lzbe_get_boot_device(const char *pool, char **device) in lzbe_get_boot_device() argument
122 if (pool == NULL || *pool == '\0' || device == NULL) in lzbe_get_boot_device()
128 zphdl = zpool_open(hdl, pool); in lzbe_get_boot_device()
/illumos-gate/usr/src/pkg/manifests/
H A Dservice-resource-pools-poold.p5m41 dir path=usr/lib/pool
42 file path=usr/lib/pool/JPool.jar mode=0444
43 link path=usr/lib/pool/libjkstat.so target=./libjkstat.so.1
44 file path=usr/lib/pool/libjkstat.so.1
45 link path=usr/lib/pool/libjlgrp.so target=./libjlgrp.so.1
46 file path=usr/lib/pool/libjlgrp.so.1
47 link path=usr/lib/pool/libjpool.so target=./libjpool.so.1
48 file path=usr/lib/pool/libjpool.so.1
50 file path=usr/lib/pool/libjsyslog.so.1
51 file path=usr/lib/pool/poold mode=0555
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dib_rdma.c262 if (pool) { in rdsv3_ib_destroy_mr_pool()
263 list_destroy(&pool->f_list); in rdsv3_ib_destroy_mr_pool()
264 kmem_free((void *) pool, sizeof (*pool)); in rdsv3_ib_destroy_mr_pool()
279 struct rdsv3_fmr_pool *pool; in rdsv3_ib_create_mr_pool() local
284 pool = (struct rdsv3_fmr_pool *)kmem_zalloc(sizeof (*pool), KM_NOSLEEP); in rdsv3_ib_create_mr_pool()
285 if (pool == NULL) { in rdsv3_ib_create_mr_pool()
306 kmem_free((void *) pool, sizeof (*pool)); in rdsv3_ib_create_mr_pool()
314 rds_ibdev->fmr_pool = pool; in rdsv3_ib_create_mr_pool()
502 list_t *listp = &pool->f_list; in rdsv3_ib_drain_mrlist_fn()
503 kmutex_t *lockp = &pool->f_lock; in rdsv3_ib_drain_mrlist_fn()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cache/
H A Dcache.kshlib50 typeset pool=$1
53 zpool status -xv $pool > /dev/null 2>&1
59 typeset mntpnt=$(get_prop mountpoint $pool)
81 typeset pool=$1
86 if [[ -z $pool || -z $device || -z $status ]]; then
96 set -A dev_stat_tab $(zpool status -v $pool | nawk 'BEGIN {start=0} \
/illumos-gate/usr/src/cmd/hal/tools/
H A Dhal-storage-zpool.c53 int result, const char *auth_used, const char *pool, const char *device) in audit_pool() argument
70 event->adt_pool_export.pool = (char *)pool; in audit_pool()
75 event->adt_pool_import.pool = (char *)pool; in audit_pool()
102 char *subcmd, const char *pool, const char *device, in handle_zpool() argument
118 printf ("pool = %s\n", pool); in handle_zpool()
132 args[na++] = (char *) pool; in handle_zpool()
155 "solaris.device.mount.removable", pool, device); in handle_zpool()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create.shlib35 # Given a pool vdevs list, create the pool,verify the created pool,
36 # and destroy the pool
37 # $1, pool name
38 # $2, pool type, mirror, raidz, or none
43 typeset pool=$1
49 create_pool $pool $keywd $vdevs
50 log_must poolexists $pool
51 destroy_pool $pool
57 # system for storage pool vdev

1234567891011