| /freebsd-14.2/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-14.2/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-14.2/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-14.2/tests/sys/cddl/zfs/tests/redundancy/ |
| H A D | redundancy.kshlib | 54 typeset pool=$1 79 typeset pool=$1 110 typeset pool=$1 128 typeset pool=$1 141 typeset pool=$1 150 is_pool_scrubbing $pool || is_pool_scrubbed $pool || \ 163 typeset pool=$1 180 typeset pool=$1 190 sync_pool $pool 203 typeset pool=$1 [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/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_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 …]
|
| 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 …]
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
| H A D | zpool_upgrade.cfg | 52 zfs-pool-v1stripe2.dat zfs-pool-v1stripe3.dat" 60 zfs-pool-v1mirror2.dat zfs-pool-v1mirror3.dat" 69 zfs-pool-v2stripe2.dat zfs-pool-v2stripe3.dat" 77 zfs-pool-v2mirror2.dat zfs-pool-v2mirror3.dat" 86 zfs-pool-v3stripe2.dat zfs-pool-v3stripe3.dat" 94 zfs-pool-v3mirror2.dat zfs-pool-v3mirror3.dat" 98 zfs-pool-v3raidz22.dat zfs-pool-v3raidz23.dat" 105 # v4 pool 109 # v5 pool 113 # v6 pool [all …]
|
| /freebsd-14.2/sys/rpc/ |
| H A D | svc.c | 93 SVCPOOL *pool; in svcpool_create() local 128 pool->sp_space_low = (pool->sp_space_high / 3) * 2; in svcpool_create() 179 return pool; in svcpool_create() 278 SVCPOOL *pool; in svcpool_threads_sysctl() local 297 SVCPOOL *pool; in svcpool_minthread_sysctl() local 310 pool->sp_minthreads / pool->sp_groupcount); in svcpool_minthread_sysctl() 323 SVCPOOL *pool; in svcpool_maxthread_sysctl() local 336 pool->sp_maxthreads / pool->sp_groupcount); in svcpool_maxthread_sysctl() 1399 pool->sp_minthreads / pool->sp_groupcount); in svc_run() 1401 pool->sp_maxthreads / pool->sp_groupcount); in svc_run() [all …]
|
| /freebsd-14.2/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-14.2/tests/sys/cddl/zfs/tests/cli_root/zpool/ |
| H A D | zpool_002_pos.ksh | 64 if poolexists $pool; then 65 log_must $ZPOOL destroy -f $pool 79 pool=pool.${TESTCASE_ID} 85 set -A cmds "create $pool mirror $vdev1 $vdev2" "list $pool" "iostat $pool" \ 86 "status $pool" "upgrade $pool" "get delegation $pool" "set delegation=off $pool" \ 87 "export $pool" "import -d $TESTDIR $pool" "offline $pool $vdev1" \ 88 "online $pool $vdev1" "clear $pool" "detach $pool $vdev2" \ 89 "attach $pool $vdev1 $vdev2" "replace $pool $vdev2 $vdev3" \ 90 "scrub $pool" "destroy -f $pool"
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_mtxpool.c | 109 pool->mtx_pool_mask; in mtx_pool_find() 110 return (&pool->mtx_pool_ary[p]); in mtx_pool_find() 119 pool->mtx_pool_size = pool_size; in mtx_pool_initialize() 124 pool->mtx_pool_next = 0; in mtx_pool_initialize() 132 struct mtx_pool *pool; in mtx_pool_create() local 143 return pool; in mtx_pool_create() 150 struct mtx_pool *pool = *poolp; in mtx_pool_destroy() local 154 free(pool, M_MTXPOOL); in mtx_pool_destroy() 181 i = pool->mtx_pool_next; in mtx_pool_alloc() 182 pool->mtx_pool_next = (i + 1) & pool->mtx_pool_mask; in mtx_pool_alloc() [all …]
|
| /freebsd-14.2/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-14.2/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-14.2/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-14.2/tests/sys/cddl/zfs/tests/rsend/ |
| H A D | rsend.kshlib | 65 typeset pool=$1 69 log_must $ZFS snapshot $pool@psnap 70 log_must $ZFS clone $pool@psnap $pool/pclone 77 log_must $ZFS clone $pool/$FS/vol@vsnap $pool/$FS/vclone 81 log_must $ZFS clone $pool/$FS/fs1/fs2@fsnap $pool/$FS/fs1/fclone 84 log_must snapshot_tree $pool@snapA 113 typeset pool=$1 117 log_must $ZFS destroy -Rf $pool 121 if [[ $ds != $pool ]] ; then 130 if ! ismounted $pool ; then [all …]
|
| /freebsd-14.2/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-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
| H A D | zfs_mount.kshlib | 49 typeset pool=$2 73 poolexists $pool || \ 74 create_pool $pool $vdev $disklist 76 datasetexists $pool/$fs && \ 77 log_must cleanup_filesystem $pool $fs 85 'ctr') log_must $ZFS create $pool/$fs 90 *) log_must $ZFS create $pool/$fs 101 typeset pool=$1 105 if [[ -z $pool || -z $fs ]]; then 110 if datasetexists "$pool/$fs" ; then [all …]
|
| /freebsd-14.2/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-14.2/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
| H A D | zpool_import_012_pos.ksh | 113 for pool in ${pools[@]} ; do 122 log_must $ZFS clone $pool/$TESTFS/$TESTFS1@snap $pool/$TESTCLONE1 136 pool=${pools[i]} 144 log_must is_shared $pool 149 log_must $ZPOOL export $pool 151 log_must $ZPOOL destroy $pool 154 typeset target=$pool 166 log_must poolexists $pool 169 log_must ismounted $pool/$fs 171 log_must is_shared $pool/$fs [all …]
|
| /freebsd-14.2/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-14.2/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 …]
|