Home
last modified time | relevance | path

Searched refs:pools (Results 1 – 25 of 132) 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.ksh57 set -A pools "$TESTPOOL" "$TESTPOOL1"
70 [[ -d /${pools[i]}-new ]] && \
71 log_must rm -rf /${pools[i]}-new
74 "${pools[i]}-new" ${pools[i]}
78 log_must zpool import ${devs[i]} ${pools[i]}
81 log_must zfs mount ${pools[i]}/$TESTFS
112 guid=$(get_config ${pools[i]} pool_guid)
119 log_must zpool export ${pools[i]}
121 [[ -d /${pools[i]} ]] && \
122 log_must rm -rf /${pools[i]}
[all …]
H A Dzpool_import_001_pos.ksh55 set -A pools "$TESTPOOL" "$TESTPOOL1"
66 poolexists ${pools[i]} && \
67 log_must zpool export ${pools[i]}
70 log_must zpool import ${devs[i]} ${pools[i]}
73 log_must zfs mount ${pools[i]}/$TESTFS
102 guid=$(get_config ${pools[i]} pool_guid)
109 log_must zpool export ${pools[i]}
111 typeset target=${pools[i]}
118 log_must poolexists ${pools[i]}
120 log_must ismounted ${pools[i]}/$TESTFS
H A Dzpool_import_002_pos.ksh55 set -A pools "$TESTPOOL" "$TESTPOOL1"
65 poolexists ${pools[i]} && \
66 log_must zpool export ${pools[i]}
69 log_must zpool import ${devs[i]} ${pools[i]}
72 log_must zfs mount ${pools[i]}/$TESTFS
101 guid=$(get_config ${pools[i]} pool_guid)
109 log_must zpool export ${pools[i]}
111 typeset target=${pools[i]}
119 log_must poolexists ${pools[i]}
121 log_must ismounted ${pools[i]}/$TESTFS
H A Dzpool_import_012_pos.ksh55 set -A pools "$TESTPOOL" "$TESTPOOL1"
66 if poolexists ${pools[i]}; then
67 log_must zpool export ${pools[i]}
69 zpool import ${devs[i]} ${pools[i]}
72 zpool import $option ${devs[i]} ${pools[i]}
75 if poolexists ${pools[i]}; then
76 is_shared ${pools[i]} && \
77 log_must zfs set sharenfs=off ${pools[i]}
80 log_must zfs mount ${pools[i]}/$TESTFS
105 for pool in ${pools[@]} ; do
[all …]
H A Dzpool_import_009_neg.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
/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.c174 struct netmap_obj_pool pools[NETMAP_POOLS_NR]; member
376 nmd->lasterr = netmap_mem_map(&nmd->pools[NETMAP_BUF_POOL], na); in netmap_mem_finalize()
448 struct netmap_obj_pool *p = &nmd->pools[i]; in netmap_mem_init_bitmaps()
458 if (nmd->pools[NETMAP_BUF_POOL].objfree < 2) { in netmap_mem_init_bitmaps()
459 nm_prerr("%s: not enough buffers", nmd->pools[NETMAP_BUF_POOL].name); in netmap_mem_init_bitmaps()
463 nmd->pools[NETMAP_BUF_POOL].objfree -= 2; in netmap_mem_init_bitmaps()
464 if (nmd->pools[NETMAP_BUF_POOL].bitmap) { in netmap_mem_init_bitmaps()
469 nmd->pools[NETMAP_BUF_POOL].bitmap[0] = ~3U; in netmap_mem_init_bitmaps()
480 netmap_mem_unmap(&nmd->pools[NETMAP_BUF_POOL], na); in netmap_mem_deref()
506 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.c222 pool_entry_t *pools; member
369 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in add_config()
379 pe->pe_next = pl->pools; in add_config()
380 pl->pools = pe; in add_config()
514 for (pe = pl->pools; pe != NULL; pe = pe->pe_next) { in get_configs()
1453 pool_list_t pools = { 0 }; in zpool_find_import_impl() local
1546 add_config(hdl, &pools, in zpool_find_import_impl()
1559 ret = get_configs(hdl, &pools, iarg->can_be_active, iarg->policy); in zpool_find_import_impl()
1561 for (pe = pools.pools; pe != NULL; pe = penext) { in zpool_find_import_impl()
1575 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.ksh48 set -A pools "pool//$$" "pool%d123" "mirror" "c0t0d0s0" "pool*23*" "*po!l" \
72 pools[${#pools[@]}]="$bigname"
82 POOL=${pools[$i]}/$TESTFS
H A Dbootfs_003_pos.ksh48 set -A pools "pool.$$" "pool123" "mypool"
67 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