/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.cfg | 33 # in the test directory which can be used to construct a pool of a given 35 # ZPOOL_VERSION_$var_FILES describes the files the pool is made from, and 36 # ZPOOL_VERSION_$var_NAME describes the pool name. 39 ZPOOL_VERSION_1_FILES="zfs-pool-v1.dat" 40 ZPOOL_VERSION_1_NAME="v1-pool" 42 ZPOOL_VERSION_1stripe_FILES="zfs-pool-v1stripe1.dat \ 43 zfs-pool-v1stripe2.dat zfs-pool-v1stripe3.dat" 44 ZPOOL_VERSION_1stripe_NAME="pool-v1stripe" 46 ZPOOL_VERSION_1raidz_FILES="zfs-pool-v1raidz1.dat zfs-pool-v1raidz2.dat \ 47 zfs-pool-v1raidz3.dat" [all …]
|
/freebsd-src/crypto/openssl/crypto/rand/ |
H A D | rand_pool.c | 20 * Allocate memory and initialize a new random pool 25 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); in ossl_rand_pool_new() local 28 if (pool == NULL) { in ossl_rand_pool_new() 33 pool->min_len = min_len; in ossl_rand_pool_new() 34 pool->max_len = (max_len > RAND_POOL_MAX_LENGTH) ? in ossl_rand_pool_new() 36 pool->alloc_len = min_len < min_alloc_size ? min_alloc_size : min_len; in ossl_rand_pool_new() 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() 41 pool->buffer = OPENSSL_secure_zalloc(pool->alloc_len); in ossl_rand_pool_new() 43 pool->buffer = OPENSSL_zalloc(pool->alloc_len); in ossl_rand_pool_new() [all …]
|
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.cfg | 33 # work out which types of pool we should be able to upgrade on this 39 # in the test directory which can be used to construct a pool of a given 41 # ZPOOL_VERSION_$var_FILES describes the files the pool is made from, and 42 # ZPOOL_VERSION_$var_NAME describes the pool name. 45 export ZPOOL_VERSION_1_FILES="zfs-pool-v1.dat" 46 export ZPOOL_VERSION_1_NAME="v1-pool" 48 export ZPOOL_VERSION_1stripe_FILES="zfs-pool-v1stripe1.dat \ 49 zfs-pool-v1stripe2.dat zfs-pool-v1stripe3.dat" 50 export ZPOOL_VERSION_1stripe_NAME="pool-v1stripe" 52 export ZPOOL_VERSION_1raidz_FILES="zfs-pool-v1raidz1.dat zfs-pool-v1raidz2.dat \ [all …]
|
/freebsd-src/tests/sys/cddl/zfs/tests/redundancy/ |
H A D | redundancy.kshlib | 31 # Log the status of the pool to assist failures. 44 # within the specified pool 46 # $1 The specified pool 51 typeset pool=$1 54 [[ -z $pool ]] && log_fail "No specified pool." 58 mntpnt=$(get_prop mountpoint $pool) 68 # Create test pool and fill with files and directories. 70 # $1 pool name 71 # $2 pool type 76 typeset pool=$1 [all …]
|
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | send_partial_dataset.ksh | 28 # 1. Setup a pool with partially received filesystem 42 destroy_dataset $POOL/testfs2 "-r" 43 destroy_dataset $POOL/stream "-r" 44 destroy_dataset $POOL/recvfs "-r" 45 destroy_dataset $POOL/partialfs "-r" 49 log_must zfs create -o compression=off $POOL/testfs2 50 log_must zfs create $POOL/stream 51 mntpnt=$(get_prop mountpoint $POOL/testfs2) 53 # Setup a pool with partially received filesystems 55 log_must zfs snap $POOL/testfs2@a [all …]
|
H A D | send_encrypted_hierarchy.ksh | 41 log_must cleanup_pool $POOL 43 log_must setup_test_model $POOL 50 log_must cleanup_pool $POOL 52 "-o keyformat=passphrase $POOL/$FS" 53 log_must zfs snapshot $POOL/$FS@snap 54 log_must zfs clone $POOL/$FS@snap $POOL/clone 55 log_must zfs create $POOL/$FS/child 58 log_must zfs snapshot -r $POOL@before 59 log_must eval "zfs send -wR $POOL@before > $BACKDIR/fs-before-R" 61 dstds=$(get_dst_ds $POOL/$FS $POOL2) [all …]
|
H A D | send_raw_spill_block.ksh | 44 destroy_dataset $POOL/fs "-rR" 45 destroy_dataset $POOL/newfs "-rR" 54 "$POOL/fs" 55 log_must zfs set xattr=sa $POOL/fs 56 log_must zfs set dnodesize=legacy $POOL/fs 57 log_must zfs set recordsize=128k $POOL/fs 62 file="/$POOL/fs/file$i" 70 # Snapshot the pool and send it to the new dataset. 71 log_must zfs snapshot $POOL/fs@snap1 72 log_must eval "zfs send -w $POOL/fs@snap1 >$BACKDIR/fs@snap1" [all …]
|
/freebsd-src/sys/ofed/drivers/infiniband/core/ |
H A D | ib_fmr_pool.c | 60 * its pool's free_list (if the FMR can be mapped again; that is, 61 * remap_count < pool->max_remaps) or its pool's dirty_list (if the 98 void (*flush_function)(struct ib_fmr_pool *pool, 117 static inline struct ib_pool_fmr *ib_fmr_cache_lookup(struct ib_fmr_pool *pool, in ib_fmr_cache_lookup() argument 125 if (!pool->cache_bucket) in ib_fmr_cache_lookup() 128 bucket = pool->cache_bucket + ib_fmr_hash(*page_list); in ib_fmr_cache_lookup() 140 static void ib_fmr_batch_release(struct ib_fmr_pool *pool) in ib_fmr_batch_release() argument 147 spin_lock_irq(&pool->pool_lock); in ib_fmr_batch_release() 149 list_for_each_entry(fmr, &pool->dirty_list, list) { in ib_fmr_batch_release() 162 list_splice_init(&pool->dirty_list, &unmap_list); in ib_fmr_batch_release() [all …]
|
/freebsd-src/tests/sys/cddl/zfs/tests/cli_root/zpool_upgrade/blockfiles/ |
H A D | Makefile | 10 ${PACKAGE}FILES+= zfs-pool-v1.dat.Z 11 ${PACKAGE}FILES+= zfs-pool-v10.dat.Z 12 ${PACKAGE}FILES+= zfs-pool-v11.dat.Z 13 ${PACKAGE}FILES+= zfs-pool-v12.dat.Z 14 ${PACKAGE}FILES+= zfs-pool-v13.dat.Z 15 ${PACKAGE}FILES+= zfs-pool-v14.dat.Z 16 ${PACKAGE}FILES+= zfs-pool-v15.dat.Z 17 ${PACKAGE}FILES+= zfs-pool-v1mirror1.dat.Z 18 ${PACKAGE}FILES+= zfs-pool-v1mirror2.dat.Z 19 ${PACKAGE}FILES+= zfs-pool [all...] |
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
H A D | redundancy.kshlib | 48 # Get the number of checksum errors for the pool. 50 # $1 Pool 66 # within the specified pool 68 # $1 The specified pool 73 typeset pool=$1 76 [[ -z $pool ]] && log_fail "No specified pool." 79 sync_pool $pool 81 mntpnt=$(get_prop mountpoint $pool) 91 # Create test pool and fill with files and directories. 93 # $1 pool name [all …]
|
H A D | redundancy_raidz.ksh | 37 # 1. Create block device files for the test raidz pool 39 # - create raidz pool 44 # - destroy the raidz pool 64 function test_selfheal # <pool> <parity> <dir> 66 typeset pool=$1 70 log_must zpool export $pool 77 log_must zpool import -o cachefile=none -d $dir $pool 79 typeset mntpnt=$(get_prop mountpoint $pool/fs) 81 log_must check_pool_status $pool "errors" "No known data errors" 84 # Scrub the pool becaus [all...] |
H A D | redundancy_draid.ksh | 37 # 1. Create block device files for the test draid pool 39 # - create draid pool 44 # - destroy the draid pool 64 function test_selfheal # <pool> <parity> <dir> 66 typeset pool=$1 70 log_must zpool export $pool 77 log_must zpool import -o cachefile=none -d $dir $pool 79 typeset mntpnt=$(get_prop mountpoint $pool/fs) 81 log_must check_pool_status $pool "errors" "No known data errors" 84 # Scrub the pool becaus [all...] |
/freebsd-src/sys/dev/drm2/ttm/ |
H A D | ttm_page_alloc_dma.c | 27 * A simple DMA pool losely based on dmapool.c. It has certain advantages 29 * - Pool collects resently freed pages for reuse (and hooks up to 77 * The pool structure. There are usually six pools: 85 * @type: Type of the pool 87 * used with irqsave/irqrestore variants because pool allocator maybe called 89 * @inuse_list: Pool of pages that are in use. The order is very important and 91 * @free_list: Pool of pages that are free to be used. No order requirements. 96 * @nfrees: Stats when pool is shrinking. 97 * @nrefills: Stats when the pool is grown. 99 * @name: Name of the pool. [all …]
|
/freebsd-src/sys/contrib/openzfs/man/man8/ |
H A D | zfs-inherit.8 | 209 .Ar pool/home 211 .Ar pool/home/bob . 216 .Dl # Nm zfs Cm create Ar pool/home 217 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 218 .Dl # Nm zfs Cm create Ar pool/home/bob 224 .Ar pool/home . 228 .Ar pool/home/anne . 229 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy off Ar pool/home 230 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy on Ar pool/home/anne 234 .Ar pool/hom [all...] |
H A D | zfs-set.8 | 209 .Ar pool/home 211 .Ar pool/home/bob . 216 .Dl # Nm zfs Cm create Ar pool/home 217 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 218 .Dl # Nm zfs Cm create Ar pool/home/bob 224 .Ar pool/home . 228 .Ar pool/home/anne . 229 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy off Ar pool/home 230 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy on Ar pool/home/anne 234 .Ar pool/hom [all...] |
H A D | zfs-get.8 | 209 .Ar pool/home 211 .Ar pool/home/bob . 216 .Dl # Nm zfs Cm create Ar pool/home 217 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 218 .Dl # Nm zfs Cm create Ar pool/home/bob 224 .Ar pool/home . 228 .Ar pool/home/anne . 229 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy off Ar pool/home 230 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy on Ar pool/home/anne 234 .Ar pool/hom [all...] |
H A D | zpool-import.8 | 61 .Ar pool Ns | Ns Ar id 83 If the device appears to be part of an exported pool, this command displays a 84 summary of the pool with the name of the pool, a numeric identifier, as well as 92 The numeric identifier is unique, and can be used instead of the pool name when 100 pool property. 143 pool property. 164 Forces import, even if the pool appears to be potentially active. 166 Recovery mode for a non-importable pool. 167 Attempt to return the pool to an importable state by discarding the last few 171 This option is ignored if the pool is importable or already imported. [all …]
|
H A D | zfs.8 | 59 command configures ZFS datasets within a ZFS storage pool, as described in 63 .D1 Ar pool Ns Oo Sy / Ns Ar component Oc Ns Sy / Ns Ar component 145 All subcommands that modify state are logged persistently to the pool in their 344 .Ar pool/home 346 .Ar pool/home/bob . 351 .Dl # Nm zfs Cm create Ar pool/home 352 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 353 .Dl # Nm zfs Cm create Ar pool/home/bob 361 .Ar pool/home/bob 363 .Dl # Nm zfs Cm snapshot Ar pool/hom [all...] |
/freebsd-src/sys/contrib/openzfs/cmd/ |
H A D | zilstat.in | 41 "pool": [12, -1, "pool"], 146 for pool in d: 147 for objset in d[pool]: 148 print_values(d[pool][objset]) 199 "-p", "--pool", 201 help="Print stats for all datasets of a speicfied pool" 242 if parsed_args.pool: 243 pool_name = parsed_args.pool 269 print ("Error: Can not filter both dataset and pool") [all...] |
/freebsd-src/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
H A D | redacted_incrementals.ksh | 33 typeset sendfs="$POOL/$ds_name" 35 typeset clone="$POOL/${ds_name}_clone" 36 typeset tmpdir="$(get_prop mountpoint $POOL)/tmp" 46 log_must zfs redact $sendfs@snap0 book1 $POOL/rm@snap $POOL/stride3@snap \ 47 $POOL/stride5@snap 52 log_must eval "zfs send -i $sendfs@snap0 $POOL/stride3@snap >$stream" 54 log_must directory_diff /$POOL/stride3 /$POOL2/rstride3 55 log_must eval "zfs send -i $sendfs@snap0 $POOL/stride5@snap >$stream" 57 log_must directory_diff /$POOL/stride5 /$POOL2/rstride5 60 log_must eval "zfs send -i $sendfs@snap0 $POOL/hole@snap >$stream" [all …]
|
/freebsd-src/contrib/ofed/opensm/include/complib/ |
H A D | cl_qpool.h | 38 * Declaration of the quick pool. 39 * The quick pool manages a pool of objects. 40 * The pool can grow to meet demand, limited only by system memory. 57 /****h* Component Library/Quick Pool 59 * Quick Pool 62 * The quick pool provides a self-contained and self-sustaining pool 65 * To aid in object oriented design, the quick pool provides the user 70 * A quick pool does not return memory to the system as the user returns 71 * objects to the pool. The only method of returning memory to the system is 72 * to destroy the pool. [all …]
|
H A D | cl_pool.h | 38 * Declaration of the pool. 39 * The pool manages a pool of objects. 40 * The pool can grow to meet demand, limited only by system memory. 57 /****h* Component Library/Pool 59 * Pool 62 * The pool provides a self-contained and self-sustaining pool 65 * To aid in object oriented design, the pool provides the user 70 * A pool does not return memory to the system as the user returns 71 * objects to the pool. The only method of returning memory to the system is 72 * to destroy the pool. [all …]
|
H A D | cl_comppool.h | 38 * Declaration of the composite pool. 39 * The composite pool managers a pool of composite objects. A composite object is an object 41 * The pool can grow to meet demand, limited only by system memory. 58 /****h* Component Library/Composite Pool 60 * Composite Pool 63 * The Composite Pool provides a self-contained and self-sustaining pool of 68 * initialization. Objects can be retrieved from the pool as long as there 71 * To aid in object oriented design, the composite pool provides the user 76 * A composite pool does not return memory to the system as the user returns 77 * objects to the pool. The only method of returning memory to the system is [all …]
|
H A D | cl_qcomppool.h | 38 * Declaration of the quick composite pool. The quick composite pool 39 * manages a pool of composite objects. A composite object is an object 59 /****h* Component Library/Quick Composite Pool 61 * Quick Composite Pool 64 * The Quick Composite Pool provides a self-contained and self-sustaining 65 * pool of user defined composite objects. 69 * initialization. Objects can be retrieved from the pool as long as there 72 * To aid in object oriented design, the Quick Composite Pool provides users 77 * A Quick Composite Pool does not return memory to the system as the user 78 * returns objects to the pool. The only method of returning memory to the [all …]
|
/freebsd-src/sys/rpc/ |
H A D | svc.c | 72 static struct svc_callout *svc_find(SVCPOOL *pool, rpcprog_t, rpcvers_t, 76 static void svc_change_space_used(SVCPOOL *pool, long delta); 77 static bool_t svc_request_space_available(SVCPOOL *pool); 78 static void svcpool_cleanup(SVCPOOL *pool); 89 SVCPOOL *pool; in svcpool_create() local 93 pool = malloc(sizeof(SVCPOOL), M_RPC, M_WAITOK|M_ZERO); in svcpool_create() 95 mtx_init(&pool->sp_lock, "sp_lock", NULL, MTX_DEF); in svcpool_create() 96 pool->sp_name = name; in svcpool_create() 97 pool->sp_state = SVCPOOL_INIT; in svcpool_create() 98 pool->sp_proc = NULL; in svcpool_create() [all …]
|