/freebsd/crypto/openssl/crypto/rand/ |
H A D | rand_pool.c | 37 if (pool->alloc_len > pool->max_len) in ossl_rand_pool_new() 38 pool->alloc_len = pool->max_len; in ossl_rand_pool_new() 85 pool->min_len = pool->max_len = pool->alloc_len = pool->len; in ossl_rand_pool_attach() 185 if (pool->len < pool->min_len) in ossl_rand_pool_entropy_available() 212 if (pool->attached || len > pool->max_len - pool->len) { in rand_pool_grow() 229 memcpy(p, pool->buffer, pool->len); in rand_pool_grow() 264 if (pool->len < pool->min_len && in ossl_rand_pool_bytes_needed() 283 pool->max_len = pool->len = 0; in ossl_rand_pool_bytes_needed() 293 return pool->max_len - pool->len; in ossl_rand_pool_bytes_remaining() 327 if (pool->alloc_len > pool->len && pool->buffer + pool->len == buffer) { in ossl_rand_pool_add() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_fmr_pool.c | 163 pool->dirty_len = 0; in ib_fmr_batch_release() 192 pool->flush_function(pool, pool->flush_arg); in ib_fmr_cleanup_thread() 237 pool = kmalloc(sizeof *pool, GFP_KERNEL); in ib_create_fmr_pool() 238 if (!pool) in ib_create_fmr_pool() 273 pool, in ib_create_fmr_pool() 299 fmr->pool = pool; in ib_create_fmr_pool() 317 return pool; in ib_create_fmr_pool() 321 kfree(pool); in ib_create_fmr_pool() 366 kfree(pool); in ib_destroy_fmr_pool() 497 pool = fmr->pool; in ib_fmr_pool_unmap() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.cfg | 43 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 …]
|
/freebsd/tests/sys/cddl/zfs/tests/redundancy/ |
H A D | redundancy.kshlib | 51 typeset pool=$1 76 typeset pool=$1 107 typeset pool=$1 125 typeset pool=$1 138 typeset pool=$1 147 is_pool_scrubbing $pool || is_pool_scrubbed $pool || \ 160 typeset pool=$1 177 typeset pool=$1 187 sync_pool $pool 200 typeset pool=$1 [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/blockfiles/ |
H A D | Makefile | 11 ${PACKAGE}FILES+= zfs-pool-v1.dat.Z 12 ${PACKAGE}FILES+= zfs-pool-v10.dat.Z 13 ${PACKAGE}FILES+= zfs-pool-v11.dat.Z 14 ${PACKAGE}FILES+= zfs-pool-v12.dat.Z 15 ${PACKAGE}FILES+= zfs-pool-v13.dat.Z 16 ${PACKAGE}FILES+= zfs-pool-v14.dat.Z 17 ${PACKAGE}FILES+= zfs-pool-v15.dat.Z 27 ${PACKAGE}FILES+= zfs-pool-v2.dat.Z 28 ${PACKAGE}FILES+= zfs-pool-v28.dat.Z 38 ${PACKAGE}FILES+= zfs-pool-v3.dat.Z [all …]
|
/freebsd/sys/dev/drm2/ttm/ |
H A D | ttm_page_alloc_dma.c | 429 pool->dev_name, pool->name, current->pid, in ttm_dma_page_pool_free() 520 pool = p->pool; in ttm_dma_free_pool() 554 if (pool) in ttm_dma_pool_release() 585 if (!pool) in ttm_dma_pool_init() 595 sec_pool->pool = pool; in ttm_dma_pool_init() 602 pool->npages_free = pool->npages_in_use = 0; in ttm_dma_pool_init() 818 pool->dev_name, pool->name, r); in ttm_dma_page_pool_fill_locked() 1034 p->pool->dev_name, p->pool->name, current->pid, in ttm_dma_pool_mm_shrink() 1122 pool = p->pool; in ttm_dma_page_alloc_debugfs() 1124 pool->name, pool->nrefills, in ttm_dma_page_alloc_debugfs() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/ |
H A D | zilstat.in | 143 for pool in d: 144 for objset in d[pool]: 239 if parsed_args.pool: 283 if not pool: 332 if not pool: 411 for pool in pools: 412 kstat_update(pool) 420 for pool in curr: 439 if pool not in curr: 447 for pool in diff: [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy.kshlib | 73 typeset pool=$1 79 sync_pool $pool 99 typeset pool=$1 140 typeset pool=$1 161 typeset pool=$1 188 typeset pool=$1 211 typeset pool=$1 239 typeset pool=$1 261 typeset pool=$1 281 sync_pool $pool [all …]
|
H A D | redundancy_draid.ksh | 66 typeset pool=$1 70 log_must zpool export $pool 91 log_must zpool clear $pool 93 log_must zpool export $pool 109 log_must zpool clear $pool 114 typeset pool=$1 141 log_must zpool clear $pool 166 log_must zpool clear $pool 171 typeset pool=$1 187 log_must zpool clear $pool [all …]
|
H A D | redundancy_raidz.ksh | 66 typeset pool=$1 70 log_must zpool export $pool 91 log_must zpool clear $pool 93 log_must zpool export $pool 109 log_must zpool clear $pool 114 typeset pool=$1 141 log_must zpool clear $pool 166 log_must zpool clear $pool 171 typeset pool=$1 187 log_must zpool clear $pool [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.cfg | 49 zfs-pool-v1stripe2.dat zfs-pool-v1stripe3.dat" 57 zfs-pool-v1mirror2.dat zfs-pool-v1mirror3.dat" 66 zfs-pool-v2stripe2.dat zfs-pool-v2stripe3.dat" 74 zfs-pool-v2mirror2.dat zfs-pool-v2mirror3.dat" 83 zfs-pool-v3stripe2.dat zfs-pool-v3stripe3.dat" 91 zfs-pool-v3mirror2.dat zfs-pool-v3mirror3.dat" 95 zfs-pool-v3raidz22.dat zfs-pool-v3raidz23.dat" 102 # v4 pool 106 # v5 pool 110 # v6 pool [all …]
|
/freebsd/sys/rpc/ |
H A D | svc.c | 89 SVCPOOL *pool; in svcpool_create() local 124 pool->sp_space_low = (pool->sp_space_high / 3) * 2; in svcpool_create() 175 return pool; in svcpool_create() 274 SVCPOOL *pool; in svcpool_threads_sysctl() local 293 SVCPOOL *pool; in svcpool_minthread_sysctl() local 306 pool->sp_minthreads / pool->sp_groupcount); in svcpool_minthread_sysctl() 319 SVCPOOL *pool; in svcpool_maxthread_sysctl() local 332 pool->sp_maxthreads / pool->sp_groupcount); in svcpool_maxthread_sysctl() 1394 pool->sp_minthreads / pool->sp_groupcount); in svc_run() 1396 pool->sp_maxthreads / pool->sp_groupcount); in svc_run() [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool/ |
H A D | zpool_002_pos.ksh | 54 poolexists $pool && destroy_pool $pool 66 pool=pool.$$ 72 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \ 73 "status $pool" "upgrade $pool" "get delegation $pool" "set delegation=off $pool" \ 74 "export $pool" "import -d $TESTDIR $pool" "offline $pool $vdev1" \ 75 "online $pool $vdev1" "clear $pool" "detach $pool $vdev2" \ 76 "attach $pool $vdev1 $vdev2" "replace $pool $vdev2 $vdev3" \ 77 "scrub $pool" "destroy -f $pool"
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool/ |
H A D | zpool_002_pos.ksh | 61 if poolexists $pool; then 62 log_must $ZPOOL destroy -f $pool 76 pool=pool.${TESTCASE_ID} 82 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \ 83 "status $pool" "upgrade $pool" "get delegation $pool" "set delegation=off $pool" \ 84 "export $pool" "import -d $TESTDIR $pool" "offline $pool $vdev1" \ 85 "online $pool $vdev1" "clear $pool" "detach $pool $vdev2" \ 86 "attach $pool $vdev1 $vdev2" "replace $pool $vdev2 $vdev3" \ 87 "scrub $pool" "destroy -f $pool"
|
/freebsd/sys/kern/ |
H A D | kern_mtxpool.c | 108 pool->mtx_pool_mask; in mtx_pool_find() 109 return (&pool->mtx_pool_ary[p]); in mtx_pool_find() 118 pool->mtx_pool_size = pool_size; in mtx_pool_initialize() 123 pool->mtx_pool_next = 0; in mtx_pool_initialize() 131 struct mtx_pool *pool; in mtx_pool_create() local 142 return pool; in mtx_pool_create() 149 struct mtx_pool *pool = *poolp; in mtx_pool_destroy() local 153 free(pool, M_MTXPOOL); in mtx_pool_destroy() 180 i = pool->mtx_pool_next; in mtx_pool_alloc() 181 pool->mtx_pool_next = (i + 1) & pool->mtx_pool_mask; in mtx_pool_alloc() [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | printpooldata.c | 12 printpooldata(ip_pool_t *pool, int opts) in printpooldata() argument 18 if ((pool->ipo_flags & IPOOL_ANON) != 0) in printpooldata() 20 if ((pool->ipo_flags & IPOOL_DELETE) != 0) in printpooldata() 24 if ((pool->ipo_flags & IPOOL_DELETE) != 0) in printpooldata() 28 pool->ipo_name); in printpooldata() 35 printunit(pool->ipo_unit); in printpooldata() 39 (!*pool->ipo_name || ISDIGIT(*pool->ipo_name)) ? \ in printpooldata() 40 "number" : "name", pool->ipo_name); in printpooldata() 43 (!*pool->ipo_name || ISDIGIT(*pool->ipo_name)) ? \ in printpooldata() 44 "number" : "name", pool->ipo_name); in printpooldata() [all …]
|
/freebsd/usr.sbin/periodic/etc/daily/ |
H A D | 800.scrub-zfs | 29 for pool in ${daily_scrub_zfs_pools}; do 31 _status=$(zpool list "${pool}" 2> /dev/null) 34 echo " WARNING: pool '${pool}' specified in" 43 echo "Skipping faulted pool: ${pool}" 47 echo "Skipping unavailable pool: ${pool}" 57 _last_scrub=$(zpool history ${pool} | \ 62 _last_scrub=$(zpool history ${pool} | \ 80 _status="$(zpool status ${pool} | grep scan:)" 90 zpool scrub ${pool} 94 echo " starting scrub of pool '${pool}':" [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/ |
H A D | mmp.kshlib | 33 typeset pool=${1:-$MMP_POOL} 45 typeset pool=${1:-$MMP_POOL} 134 if poolexists $pool; then 135 destroy_pool $pool 144 typeset pool=$1 157 typeset pool=$1 163 zpool import $opts $pool 176 typeset pool=$1 181 zpool import $opts $pool 200 typeset pool=$1 [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/rsend/ |
H A D | rsend.kshlib | 62 typeset pool=$1 66 log_must $ZFS snapshot $pool@psnap 67 log_must $ZFS clone $pool@psnap $pool/pclone 74 log_must $ZFS clone $pool/$FS/vol@vsnap $pool/$FS/vclone 78 log_must $ZFS clone $pool/$FS/fs1/fs2@fsnap $pool/$FS/fs1/fclone 81 log_must snapshot_tree $pool@snapA 110 typeset pool=$1 114 log_must $ZFS destroy -Rf $pool 118 if [[ $ds != $pool ]] ; then 127 if ! ismounted $pool ; then [all …]
|
/freebsd/contrib/jemalloc/include/jemalloc/internal/ |
H A D | mutex_pool.h | 20 mutex_pool_mutex(mutex_pool_t *pool, uintptr_t key) { in mutex_pool_mutex() argument 23 return &pool->mutexes[hash_result[0] % MUTEX_POOL_SIZE]; in mutex_pool_mutex() 29 malloc_mutex_assert_not_owner(tsdn, &pool->mutexes[i]); in mutex_pool_assert_not_held() 42 mutex_pool_assert_not_held(tsdn, pool); in mutex_pool_lock() 44 malloc_mutex_t *mutex = mutex_pool_mutex(pool, key); in mutex_pool_lock() 50 malloc_mutex_t *mutex = mutex_pool_mutex(pool, key); in mutex_pool_unlock() 53 mutex_pool_assert_not_held(tsdn, pool); in mutex_pool_unlock() 59 mutex_pool_assert_not_held(tsdn, pool); in mutex_pool_lock2() 61 malloc_mutex_t *mutex1 = mutex_pool_mutex(pool, key1); in mutex_pool_lock2() 62 malloc_mutex_t *mutex2 = mutex_pool_mutex(pool, key2); in mutex_pool_lock2() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
H A D | zfs_mount.kshlib | 46 typeset pool=$2 70 poolexists $pool || \ 71 create_pool $pool $vdev $disklist 73 datasetexists $pool/$fs && \ 74 log_must cleanup_filesystem $pool $fs 82 'ctr') log_must $ZFS create $pool/$fs 87 *) log_must $ZFS create $pool/$fs 98 typeset pool=$1 102 if [[ -z $pool || -z $fs ]]; then 107 if datasetexists "$pool/$fs" ; then [all …]
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
H A D | test_libzfs_core.py | 3524 pool = ZFSTest.pool.getRoot().getName() 3533 pool = ZFSTest.pool.getRoot().getName() 3542 pool = ZFSTest.pool.getRoot().getName() 3552 pool = ZFSTest.pool.getRoot().getName() 3562 pool = ZFSTest.pool.getRoot().getName() 3572 pool = ZFSTest.pool.getRoot().getName() 3581 pool = ZFSTest.pool.getRoot().getName() 3590 pool = ZFSTest.pool.getRoot().getName() 3602 pool = ZFSTest.pool.getRoot().getName() 3694 pool = ZFSTest.pool.getRoot().getName() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
H A D | zpool_import_012_pos.ksh | 110 for pool in ${pools[@]} ; do 119 log_must $ZFS clone $pool/$TESTFS/$TESTFS1@snap $pool/$TESTCLONE1 133 pool=${pools[i]} 141 log_must is_shared $pool 146 log_must $ZPOOL export $pool 148 log_must $ZPOOL destroy $pool 151 typeset target=$pool 163 log_must poolexists $pool 166 log_must ismounted $pool/$fs 168 log_must is_shared $pool/$fs [all …]
|
/freebsd/crypto/openssl/providers/implementations/rands/seeding/ |
H A D | rand_win.c | 47 size_t ossl_pool_acquire_entropy(RAND_POOL *pool) in ossl_pool_acquire_entropy() argument 58 entropy_available = ossl_prov_acquire_entropy_from_tsc(pool); in ossl_pool_acquire_entropy() 71 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy() 78 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); in ossl_pool_acquire_entropy() 85 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy() 97 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); in ossl_pool_acquire_entropy() 104 buffer = ossl_rand_pool_add_begin(pool, bytes_needed); in ossl_pool_acquire_entropy() 116 ossl_rand_pool_add_end(pool, bytes, 8 * bytes); in ossl_pool_acquire_entropy() 123 return ossl_rand_pool_entropy_available(pool); in ossl_pool_acquire_entropy() 127 int ossl_pool_add_nonce_data(RAND_POOL *pool) in ossl_pool_add_nonce_data() argument [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_012_pos.ksh | 104 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) 139 log_note "Set sharenfs=on $pool" 150 log_must_busy zpool export $pool 155 typeset target=$pool 178 log_must poolexists $pool 181 log_must ismounted $pool/$fs 184 log_must is_shared $pool/$fs [all …]
|