| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_upgrade/ |
| H A D | zpool_upgrade.cfg | 34 # in the test directory which can be used to construct a pool of a given 36 # ZPOOL_VERSION_$var_FILES describes the files the pool is made from, and 37 # ZPOOL_VERSION_$var_NAME describes the pool name. 40 ZPOOL_VERSION_1_FILES="zfs-pool-v1.dat" 41 ZPOOL_VERSION_1_NAME="v1-pool" 43 ZPOOL_VERSION_1stripe_FILES="zfs-pool-v1stripe1.dat \ 44 zfs-pool-v1stripe2.dat zfs-pool-v1stripe3.dat" 45 ZPOOL_VERSION_1stripe_NAME="pool-v1stripe" 47 ZPOOL_VERSION_1raidz_FILES="zfs-pool-v1raidz1.dat zfs-pool-v1raidz2.dat \ 48 zfs-pool-v1raidz3.dat" [all …]
|
| /freebsd/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() 31 pool->min_len = min_len; in ossl_rand_pool_new() 32 pool->max_len = (max_len > RAND_POOL_MAX_LENGTH) ? in ossl_rand_pool_new() 34 pool->alloc_len = min_len < min_alloc_size ? min_alloc_size : min_len; in ossl_rand_pool_new() 35 if (pool->alloc_len > pool->max_len) in ossl_rand_pool_new() 36 pool->alloc_len = pool->max_len; in ossl_rand_pool_new() 39 pool->buffer = OPENSSL_secure_zalloc(pool->alloc_len); in ossl_rand_pool_new() 41 pool->buffer = OPENSSL_zalloc(pool->alloc_len); in ossl_rand_pool_new() [all …]
|
| /freebsd/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/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
| H A D | send_partial_dataset.ksh | 29 # 1. Setup a pool with partially received filesystem 43 destroy_dataset $POOL/testfs2 "-r" 44 destroy_dataset $POOL/stream "-r" 45 destroy_dataset $POOL/recvfs "-r" 46 destroy_dataset $POOL/partialfs "-r" 50 log_must zfs create -o compression=off $POOL/testfs2 51 log_must zfs create $POOL/stream 52 mntpnt=$(get_prop mountpoint $POOL/testfs2) 54 # Setup a pool with partially received filesystems 56 log_must zfs snap $POOL/testfs2@a [all …]
|
| H A D | send_raw_spill_block.ksh | 45 destroy_dataset $POOL/fs "-rR" 46 destroy_dataset $POOL/newfs "-rR" 55 "$POOL/fs" 56 log_must zfs set xattr=sa $POOL/fs 57 log_must zfs set dnodesize=legacy $POOL/fs 58 log_must zfs set recordsize=128k $POOL/fs 63 file="/$POOL/fs/file$i" 71 # Snapshot the pool and send it to the new dataset. 72 log_must zfs snapshot $POOL/fs@snap1 73 log_must eval "zfs send -w $POOL/fs@snap1 >$BACKDIR/fs@snap1" [all …]
|
| /freebsd/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/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-v1mirror3.dat.Z [all …]
|
| /freebsd/sys/contrib/openzfs/man/man8/ |
| H A D | zfs-set.8 | 210 .Ar pool/home 212 .Ar pool/home/bob . 217 .Dl # Nm zfs Cm create Ar pool/home 218 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 219 .Dl # Nm zfs Cm create Ar pool/home/bob 225 .Ar pool/home . 229 .Ar pool/home/anne . 230 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy off Ar pool/home 231 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy on Ar pool/home/anne 235 .Ar pool/home/bob : [all …]
|
| H A D | zfs-get.8 | 210 .Ar pool/home 212 .Ar pool/home/bob . 217 .Dl # Nm zfs Cm create Ar pool/home 218 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 219 .Dl # Nm zfs Cm create Ar pool/home/bob 225 .Ar pool/home . 229 .Ar pool/home/anne . 230 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy off Ar pool/home 231 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy on Ar pool/home/anne 235 .Ar pool/hom [all...] |
| H A D | zfs-inherit.8 | 210 .Ar pool/home 212 .Ar pool/home/bob . 217 .Dl # Nm zfs Cm create Ar pool/home 218 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 219 .Dl # Nm zfs Cm create Ar pool/home/bob 225 .Ar pool/home . 229 .Ar pool/home/anne . 230 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy off Ar pool/home 231 .Dl # Nm zfs Cm set Sy compression Ns = Ns Sy on Ar pool/home/anne 235 .Ar pool/hom [all...] |
| H A D | zfs.8 | 60 command configures ZFS datasets within a ZFS storage pool, as described in 64 .D1 Ar pool Ns Oo Sy / Ns Ar component Oc Ns Sy / Ns Ar component 146 All subcommands that modify state are logged persistently to the pool in their 351 .Ar pool/home 353 .Ar pool/home/bob . 358 .Dl # Nm zfs Cm create Ar pool/home 359 .Dl # Nm zfs Cm set Sy mountpoint Ns = Ns Ar /export/home pool/home 360 .Dl # Nm zfs Cm create Ar pool/home/bob 368 .Ar pool/home/bob 370 .Dl # Nm zfs Cm snapshot Ar pool/home/bob Ns @ Ns Ar yesterday [all …]
|
| H A D | zpool-import.8 | 62 .Ar pool Ns | Ns Ar id 84 If the device appears to be part of an exported pool, this command displays a 85 summary of the pool with the name of the pool, a numeric identifier, as well as 93 The numeric identifier is unique, and can be used instead of the pool name when 101 pool property. 144 pool property. 165 Forces import, even if the pool appears to be potentially active. 167 Recovery mode for a non-importable pool. 168 Attempt to return the pool to an importable state by discarding the last few 172 This option is ignored if the pool is importable or already imported. [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/ |
| H A D | redundancy.kshlib | 49 # Get the number of checksum errors for the pool. 51 # $1 Pool 67 # within the specified pool 69 # $1 The specified pool 74 typeset pool=$1 77 [[ -z $pool ]] && log_fail "No specified pool." 80 sync_pool $pool 82 mntpnt=$(get_prop mountpoint $pool) 92 # Create test pool and fill with files and directories. 94 # $1 pool name [all …]
|
| H A D | redundancy_draid.ksh | 38 # 1. Create block device files for the test draid pool 40 # - create draid pool 45 # - destroy the draid pool 65 function test_selfheal # <pool> <parity> <dir> 67 typeset pool=$1 71 log_must zpool export $pool 78 log_must zpool import -o cachefile=none -d $dir $pool 80 typeset mntpnt=$(get_prop mountpoint $pool/fs) 82 log_must check_pool_status $pool "errors" "No known data errors" 85 # Scrub the pool because the find command will only self-heal blocks [all …]
|
| H A D | redundancy_raidz.ksh | 38 # 1. Create block device files for the test raidz pool 40 # - create raidz pool 45 # - destroy the raidz pool 65 function test_selfheal # <pool> <parity> <dir> 67 typeset pool=$1 71 log_must zpool export $pool 78 log_must zpool import -o cachefile=none -d $dir $pool 80 typeset mntpnt=$(get_prop mountpoint $pool/fs) 82 log_must check_pool_status $pool "errors" "No known data errors" 85 # Scrub the pool because the find command will only self-heal blocks [all …]
|
| /freebsd/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 …]
|
| H A D | ttm_page_alloc.c | 35 /* simple list based uncached page pool 36 * - Pool collects resently freed pages for reuse 55 * struct ttm_page_pool - Pool to reuse recently allocated uc/wc pages. 57 * @lock: Protects the shared pool from concurrnet access. Must be used with 58 * irqsave/irqrestore variants because pool allocator maybe called from 61 * @list: Pool of free uc/wc pages for fast reuse. 63 * @npages: Number of pages in pool. 78 * Limits for the pool. They are handled without locks because only place where 94 * Manager is read only object for pool code so it doesn't need locking. 96 * @free_interval: minimum number of jiffies between freeing pages from pool. [all …]
|
| /freebsd/sys/contrib/openzfs/cmd/ |
| H A D | zilstat.in | 42 "pool": [12, -1, "pool"], 148 for pool in d: 149 for objset in d[pool]: 150 print_values(d[pool][objset]) 201 "-p", "--pool", 203 help="Print stats for all datasets of a speicfied pool" 244 if parsed_args.pool: 245 pool_name = parsed_args.pool 271 print ("Error: Can not filter both dataset and pool") 285 def kstat_update(pool = None, objid = None): [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redacted_send/ |
| H A D | redacted_incrementals.ksh | 34 typeset sendfs="$POOL/$ds_name" 36 typeset clone="$POOL/${ds_name}_clone" 37 typeset tmpdir="$(get_prop mountpoint $POOL)/tmp" 47 log_must zfs redact $sendfs@snap0 book1 $POOL/rm@snap $POOL/stride3@snap \ 48 $POOL/stride5@snap 53 log_must eval "zfs send -i $sendfs@snap0 $POOL/stride3@snap >$stream" 55 log_must directory_diff /$POOL/stride3 /$POOL2/rstride3 56 log_must eval "zfs send -i $sendfs@snap0 $POOL/stride5@snap >$stream" 58 log_must directory_diff /$POOL/stride5 /$POOL2/rstride5 61 log_must eval "zfs send -i $sendfs@snap0 $POOL/hole@snap >$stream" [all …]
|
| /freebsd/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_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 …]
|
| 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 …]
|
| /freebsd/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 …]
|