Home
last modified time | relevance | path

Searched refs:pools (Results 1 – 25 of 135) sorted by relevance

123456

/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/
H A Dzpool_import_rename_001_pos.ksh63 set -A pools "$TESTPOOL" "$TESTPOOL1"
76 [[ -d /${pools[i]}-new ]] && \
77 log_must $RM -rf /${pools[i]}-new
80 "${pools[i]}-new" ${pools[i]}
84 log_must $ZPOOL import ${devs[i]} ${pools[i]}
87 log_must $ZFS mount ${pools[i]}/$TESTFS
109 $target ${pools[i]}-new
113 log_must ismounted ${pools[i]}-new/$TESTFS
128 [[ -d /${pools[i]}-new ]] && \
129 log_must $RM -rf /${pools[i]}-new
[all …]
H A Dzpool_import_012_pos.ksh61 set -A pools "$TESTPOOL" "$TESTPOOL1"
72 if poolexists ${pools[i]} ; then
73 log_must $ZPOOL export ${pools[i]}
75 $ZPOOL import ${devs[i]} ${pools[i]}
78 $ZPOOL import $option ${devs[i]} ${pools[i]}
81 if poolexists ${pools[i]} ; then
82 is_shared ${pools[i]} && \
83 log_must $ZFS set sharenfs=off ${pools[i]}
86 log_must $ZFS mount ${pools[i]}/$TESTFS
110 for pool in ${pools[@]} ; do
[all …]
H A Dzpool_import_009_neg.ksh67 set -A pools "$TESTPOOL" "$TESTPOOL1"
77 poolexists ${pools[i]} && \
78 log_must $ZPOOL export ${pools[i]}
81 log_must $ZPOOL import ${devs[i]} ${pools[i]}
84 log_must $ZFS mount ${pools[i]}/$TESTFS
H A Dzpool_import_002_pos.ksh61 set -A pools "$TESTPOOL" "$TESTPOOL1"
71 poolexists ${pools[i]} && \
72 log_must $ZPOOL export ${pools[i]}
75 log_must $ZPOOL import ${devs[i]} ${pools[i]}
78 log_must $ZFS mount ${pools[i]}/$TESTFS
138 typeset pool=${pools[i]}
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dzpool_import_rename_001_pos.ksh47 set -A pools "$TESTPOOL" "$TESTPOOL1"
60 [[ -d /${pools[i]}-new ]] && \
61 log_must rm -rf /${pools[i]}-new
64 "${pools[i]}-new" ${pools[i]}
68 log_must zpool import ${devs[i]} ${pools[i]}
71 log_must zfs mount ${pools[i]}/$TESTFS
102 guid=$(get_config ${pools[i]} pool_guid)
109 log_must zpool export ${pools[i]}
111 [[ -d /${pools[i]} ]] && \
112 log_must rm -rf /${pools[i]}
[all …]
H A Dzpool_import_001_pos.ksh45 set -A pools "$TESTPOOL" "$TESTPOOL1"
56 poolexists ${pools[i]} && \
57 log_must zpool export ${pools[i]}
60 log_must zpool import ${devs[i]} ${pools[i]}
63 log_must zfs mount ${pools[i]}/$TESTFS
92 guid=$(get_config ${pools[i]} pool_guid)
99 log_must zpool export ${pools[i]}
101 typeset target=${pools[i]}
108 log_must poolexists ${pools[i]}
110 log_must ismounted ${pools[i]}/$TESTFS
H A Dzpool_import_002_pos.ksh45 set -A pools "$TESTPOOL" "$TESTPOOL1"
55 poolexists ${pools[i]} && \
56 log_must zpool export ${pools[i]}
59 log_must zpool import ${devs[i]} ${pools[i]}
62 log_must zfs mount ${pools[i]}/$TESTFS
91 guid=$(get_config ${pools[i]} pool_guid)
99 log_must zpool export ${pools[i]}
101 typeset target=${pools[i]}
109 log_must poolexists ${pools[i]}
111 log_must ismounted ${pools[i]}/$TESTFS
H A Dzpool_import_012_pos.ksh45 set -A pools "$TESTPOOL" "$TESTPOOL1"
56 if poolexists ${pools[i]}; then
57 log_must zpool export ${pools[i]}
59 zpool import ${devs[i]} ${pools[i]}
62 zpool import $option ${devs[i]} ${pools[i]}
65 if poolexists ${pools[i]}; then
66 is_shared ${pools[i]} && \
67 log_must zfs set sharenfs=off ${pools[i]}
70 log_must zfs mount ${pools[i]}/$TESTFS
95 for pool in ${pools[@]} ; do
[all …]
H A Dzpool_import_009_neg.ksh51 set -A pools "$TESTPOOL" "$TESTPOOL1"
61 poolexists ${pools[i]} && \
62 log_must zpool export ${pools[i]}
65 log_must zpool import ${devs[i]} ${pools[i]}
68 log_must zfs mount ${pools[i]}/$TESTFS
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/
H A Dzpool_upgrade.cfg44 # Version 1 pools
61 # Version 2 pools
178 # we should be able to upgrade pools of version 1
183 # we should be able to upgrade pools of version 1 & 2
188 # we should be able to upgrade pools of version 1, 2 & 3
194 # we should be able to upgrade pools of version 1, 2, 3 & 4
200 # we should be able to upgrade pools up to version 5
206 # we should be able to upgrade pools up to version 6
212 # we should be able to upgrade pools up to version 7
218 # we should be able to upgrade pools up to version 8
[all …]
/freebsd/sys/dev/netmap/
H A Dnetmap_mem2.c176 struct netmap_obj_pool pools[NETMAP_POOLS_NR]; member
378 nmd->lasterr = netmap_mem_map(&nmd->pools[NETMAP_BUF_POOL], na); in netmap_mem_finalize()
450 struct netmap_obj_pool *p = &nmd->pools[i]; in netmap_mem_init_bitmaps()
460 if (nmd->pools[NETMAP_BUF_POOL].objfree < 2) { in netmap_mem_init_bitmaps()
461 nm_prerr("%s: not enough buffers", nmd->pools[NETMAP_BUF_POOL].name); in netmap_mem_init_bitmaps()
465 nmd->pools[NETMAP_BUF_POOL].objfree -= 2; in netmap_mem_init_bitmaps()
466 if (nmd->pools[NETMAP_BUF_POOL].bitmap) { in netmap_mem_init_bitmaps()
471 nmd->pools[NETMAP_BUF_POOL].bitmap[0] = ~3U; in netmap_mem_init_bitmaps()
482 netmap_mem_unmap(&nmd->pools[NETMAP_BUF_POOL], na); in netmap_mem_deref()
508 lut->lut = nmd->pools[NETMAP_BUF_POOL].lut; in netmap_mem2_get_lut()
[all …]
/freebsd/sys/dev/drm2/ttm/
H A Dttm_page_alloc_dma.c104 struct list_head pools; /* The 'struct device->dma_pools link */ member
155 struct list_head pools; member
171 struct list_head pools; member
517 list_for_each_entry_reverse(p, &_manager->pools, pools) { in ttm_dma_free_pool()
524 list_del(&p->pools); in ttm_dma_free_pool()
529 list_for_each_entry_reverse(pool, &dev->dma_pools, pools) { in ttm_dma_free_pool()
539 list_del(&pool->pools); in ttm_dma_free_pool()
593 INIT_LIST_HEAD(&sec_pool->pools); in ttm_dma_pool_init()
599 INIT_LIST_HEAD(&pool->pools); in ttm_dma_pool_init()
622 list_add(&sec_pool->pools, &_manager->pools); in ttm_dma_pool_init()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/bootfs/
H A Dbootfs_004_neg.ksh56 set -A pools "pool//${TESTCASE_ID}" "pool%d123" "mirror" "c0t0d0s0" "pool*23*" "*po!l" \
63 destroy_pool ${pools[$i]}
89 pools[${#pools[@]}]="$bigname"
97 POOL=${pools[$i]}/$FS
H A Dbootfs_003_pos.ksh56 set -A pools "pool.${TESTCASE_ID}" "pool123" "mypool"
62 destroy_pool ${pools[$i]}
84 POOL=${pools[$i]}
/freebsd/sys/contrib/openzfs/lib/libzutil/
H A Dzutil_import.c212 pool_entry_t *pools; member
431 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in add_config()
441 pe->pe_next = pl->pools; in add_config()
442 pl->pools = pe; in add_config()
576 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in get_configs()
1527 pool_list_t pools = { 0 }; in zpool_find_import_impl() local
1620 add_config(hdl, &pools, in zpool_find_import_impl()
1640 ret = get_configs(hdl, &pools, iarg->can_be_active, in zpool_find_import_impl()
1643 for (pe = pools.pools; pe != NULL; pe = penext) { in zpool_find_import_impl()
1657 for (ne = pools.names; ne != NULL; ne = nenext) { in zpool_find_import_impl()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/
H A Dbootfs_004_neg.ksh38 set -A pools "pool//$$" "pool%d123" "mirror" "c0t0d0s0" "pool*23*" "*po!l" \
62 pools[${#pools[@]}]="$bigname"
72 POOL=${pools[$i]}/$TESTFS
H A Dbootfs_003_pos.ksh38 set -A pools "pool.$$" "pool123" "mypool"
57 POOL=${pools[$i]}
/freebsd/sys/contrib/openzfs/etc/init.d/
H A Dzfs-zed.in61 local pools
68 pools=$("$ZPOOL" list -H -oname)
69 if [ -z "$pools" ]
/freebsd/sys/contrib/openzfs/etc/default/
H A Dzfs.in33 # By default, a verbatim import of all pools is performed at boot based on the
38 # pools and attempt to import them all at boot, even those that have been
40 # ZPOOL_IMPORT_PATH variable and a list of pools that should not be imported
43 # Note that importing all visible pools may include pools that you don't
44 # expect, such as those on removable devices and SANs, and those pools may
48 # SAN to prevent the insertion of malicious pools.
58 # List of pools that should NOT be imported at boot
/freebsd/contrib/netbsd-tests/ipf/expected/
H A Dn419 List of configured pools
50 List of configured pools
82 List of configured pools
113 List of configured pools
145 List of configured pools
178 List of configured pools
H A Dn4_619 List of configured pools
50 List of configured pools
82 List of configured pools
113 List of configured pools
145 List of configured pools
178 List of configured pools
H A Dn623 List of configured pools
58 List of configured pools
92 List of configured pools
127 List of configured pools
161 List of configured pools
H A Dn6_623 List of configured pools
58 List of configured pools
92 List of configured pools
127 List of configured pools
161 List of configured pools
H A Df1123 List of configured pools
59 List of configured pools
95 List of configured pools
131 List of configured pools
179 List of configured pools
227 List of configured pools
270 List of configured pools
/freebsd/sys/contrib/ncsw/Peripherals/BM/
H A Dbm_portal.c93 const struct bman_depletion *pools) in bman_create_portal() argument
135 p_BmPortal->pools[0] = *pools; in bman_create_portal()
136 bman_depletion_init(&p_BmPortal->pools[1]); in bman_create_portal()
227 tmp.__state[i] &= p_BmPortal->pools[0].__state[i]; in __poll_portal_slow()
228 if (tmp.__state[i] == p_BmPortal->pools[1].__state[i]) in __poll_portal_slow()
232 int b4 = bman_depletion_get(&p_BmPortal->pools[1], (uint8_t)idx); in __poll_portal_slow()
241 p_BmPortal->pools[1] = tmp; in __poll_portal_slow()

123456