/freebsd-current/share/examples/ipfilter/rules/ |
H A D | pool.conf | 2 pool 0 = { !10.0.0.0 - 10.255.255.255, 10.1.0.0 - 10.1.255.255,
|
/freebsd-current/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)); local 28 if (pool == NULL) { 33 pool->min_len = min_len; 34 pool->max_len = (max_len > RAND_POOL_MAX_LENGTH) ? 36 pool->alloc_len = min_len < min_alloc_size ? min_alloc_size : min_len; 37 if (pool->alloc_len > pool->max_len) 38 pool 68 RAND_POOL *pool = OPENSSL_zalloc(sizeof(*pool)); local 94 ossl_rand_pool_free(RAND_POOL *pool) argument 118 ossl_rand_pool_buffer(RAND_POOL *pool) argument 126 ossl_rand_pool_entropy(RAND_POOL *pool) argument 134 ossl_rand_pool_length(RAND_POOL *pool) argument 145 ossl_rand_pool_detach(RAND_POOL *pool) argument 157 ossl_rand_pool_reattach(RAND_POOL *pool, unsigned char *buffer) argument 180 ossl_rand_pool_entropy_available(RAND_POOL *pool) argument 196 ossl_rand_pool_entropy_needed(RAND_POOL *pool) argument 205 rand_pool_grow(RAND_POOL *pool, size_t len) argument 246 ossl_rand_pool_bytes_needed(RAND_POOL *pool, unsigned int entropy_factor) argument 291 ossl_rand_pool_bytes_remaining(RAND_POOL *pool) argument 305 ossl_rand_pool_add(RAND_POOL *pool, const unsigned char *buffer, size_t len, size_t entropy) argument 360 ossl_rand_pool_add_begin(RAND_POOL *pool, size_t len) argument 399 ossl_rand_pool_add_end(RAND_POOL *pool, size_t len, size_t entropy) argument [all...] |
H A D | prov_seed.c | 21 RAND_POOL *pool; local 23 pool = ossl_rand_pool_new(entropy, 1, min_len, max_len); 24 if (pool == NULL) { 30 entropy_available = ossl_pool_acquire_entropy(pool); 33 ret = ossl_rand_pool_length(pool); 34 *pout = ossl_rand_pool_detach(pool); 37 ossl_rand_pool_free(pool); 52 RAND_POOL *pool; local 54 pool = ossl_rand_pool_new(0, 0, min_len, max_len); 55 if (pool [all...] |
/freebsd-current/sbin/ipf/libipf/ |
H A D | printpooldata.c | 12 printpooldata(ip_pool_t *pool, int opts) argument 16 PRINTF("pool "); 18 if ((pool->ipo_flags & IPOOL_ANON) != 0) 19 PRINTF("# 'anonymous' tree %s\n", pool->ipo_name); 20 if ((pool->ipo_flags & IPOOL_DELETE) != 0) 24 if ((pool->ipo_flags & IPOOL_DELETE) != 0) 27 ISDIGIT(*pool->ipo_name) ? "Number" : "Name", 28 pool->ipo_name); 29 if ((pool->ipo_flags & IPOOL_ANON) == IPOOL_ANON) 35 printunit(pool [all...] |
H A D | printdstlistdata.c | 12 printdstlistdata( ippool_dst_t *pool, int opts) argument 16 if ((pool->ipld_flags & IPDST_DELETE) != 0) 18 PRINTF("pool "); 20 if ((pool->ipld_flags & IPDST_DELETE) != 0) 22 PRINTF("Name: %s\tRole: ", pool->ipld_name); 25 printunit(pool->ipld_unit); 28 PRINTF("/dstlist (name %s;", pool->ipld_name); 29 if (pool->ipld_policy != IPLDP_NONE) { 31 printdstlistpolicy(pool->ipld_policy); 38 PRINTF("\tReferences: %d\n", pool [all...] |
H A D | load_pool.c | 22 ip_pool_t pool; local 31 op.iplo_size = sizeof(pool); 32 op.iplo_struct = &pool; 33 bzero((char *)&pool, sizeof(pool)); 34 pool.ipo_unit = plp->ipo_unit; 35 strncpy(pool.ipo_name, plp->ipo_name, sizeof(pool.ipo_name)); 49 strncpy(pool.ipo_name, op.iplo_name, sizeof(pool [all...] |
H A D | remove_pool.c | 21 ip_pool_t pool; local 29 op.iplo_size = sizeof(pool); 30 op.iplo_struct = &pool; 32 bzero((char *)&pool, sizeof(pool)); 33 pool.ipo_unit = poolp->ipo_unit; 34 strncpy(pool.ipo_name, poolp->ipo_name, sizeof(pool.ipo_name)); 35 pool.ipo_flags = poolp->ipo_flags; 40 "delete lookup pool")); [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/zil/ |
H A D | zil.kshlib | 28 # Every test must restart the frozen pool state. 45 typeset pool="$1" 46 log_must filesys_has_zil $pool 47 log_must pool_maps_intact $pool 48 log_must $ZPOOL export $pool 49 log_must $ZPOOL import $pool 50 log_must pool_maps_intact $pool 51 log_mustnot filesys_has_zil $pool
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool/ |
H A D | zpool_002_pos.ksh | 53 # Clean up the pool created if we failed to abort. 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" "ge [all...] |
/freebsd-current/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" "se [all...] |
/freebsd-current/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 typ [all...] |
/freebsd-current/libexec/rc/rc.d/ |
H A D | zpoolreguid | 17 local pool 19 for pool in ${zpool_reguid}; do 20 zpool reguid $pool
|
H A D | zpoolupgrade | 17 local pool 19 for pool in ${zpool_upgrade}; do 20 zpool upgrade $pool
|
/freebsd-current/sbin/devd/ |
H A D | zfs.conf | 7 action "logger -p local7.warn -t ZFS checksum mismatch, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size"; 13 action "logger -p local7.warn -t ZFS vdev I/O failure, zpool=$pool path=$vdev_path offset=$zio_offset size=$zio_size error=$zio_err"; 19 action "logger -p local7.warn -t ZFS pool I/O failure, zpool=$pool error=$zio_err"; 25 action "logger -p local7.err -t ZFS failed to load zpool $pool"; 31 action "logger -p local7.err -t ZFS vdev problem, zpool=$pool path=$vdev_path type=$type"; 37 action "logger -p local7.alert -t ZFS catastrophic pool I/O failure, zpool=$pool"; 43 action "logger -p local7.err -t ZFS vdev probe failure, zpool=$pool path=$vdev_path"; 49 action "logger -p local7.err -t ZFS pool lo [all...] |
/freebsd-current/usr.sbin/periodic/etc/daily/ |
H A D | 801.trim-zfs | 24 for pool in ${daily_trim_zfs_pools}; do 26 _status=$(zpool list -Hohealth "${pool}" 2> /dev/null) 29 echo " WARNING: pool '${pool}' specified in" 37 echo "Skipping faulted pool: ${pool}" 41 echo "Skipping unavailable pool: ${pool}" 45 if ! zpool status "${pool}" | grep -q '(trimming)'; then 46 echo " starting trim of pool ' [all...] |
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}" 52 eval _pool_threshold=\${daily_scrub_zfs_$(echo "${pool}"|tr ".:-" "_")_threshold} 57 _last_scrub=$(zpool history ${pool} | \ [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/zfsd/ |
H A D | zfsd.kshlib | 36 typeset pool=$4 38 if [ -z "$pool" ]; then 39 pool=$TESTPOOL 44 check_state $pool "$disk" "$state" 48 log_must $ZPOOL status $pool 49 log_fail "ERROR: Disk $disk not marked as $state in $pool" 60 typeset pool=$1 62 while is_pool_scrubbing $pool; do 63 log_note "$pool still scrubbing..." 70 typeset pool [all...] |
/freebsd-current/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, argument 125 if (!pool->cache_bucket) 128 bucket = pool->cache_bucket + ib_fmr_hash(*page_list); 140 static void ib_fmr_batch_release(struct ib_fmr_pool *pool) argument 147 spin_lock_irq(&pool->pool_lock); 149 list_for_each_entry(fmr, &pool 182 struct ib_fmr_pool *pool = pool_ptr; local 217 struct ib_fmr_pool *pool; local 338 ib_destroy_fmr_pool(struct ib_fmr_pool *pool) argument 376 ib_flush_fmr_pool(struct ib_fmr_pool *pool) argument 419 struct ib_fmr_pool *pool = pool_handle; local 494 struct ib_fmr_pool *pool; local [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_mtxpool.c | 28 /* Mutex pool routines. These routines are designed to be used as short 30 * calling msleep()). They operate using a shared pool. A mutex is chosen 31 * from the pool based on the supplied pointer (which may or may not be 44 * - pool/pool dependency ordering cannot be depended on. 57 static MALLOC_DEFINE(M_MTXPOOL, "mtx_pool", "mutex pool"); 92 * Return the (shared) pool mutex associated with the specified address. 98 mtx_pool_find(struct mtx_pool *pool, void *ptr) argument 102 KASSERT(pool != NULL, ("_mtx_pool_find(): null pool")); 113 mtx_pool_initialize(struct mtx_pool *pool, const char *mtx_name, int pool_size, int opts) argument 131 struct mtx_pool *pool; local 149 struct mtx_pool *pool = *poolp; local 170 mtx_pool_alloc(struct mtx_pool *pool) argument [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
H A D | zfs_mount.kshlib | 40 # Create pool and ( fs | container | vol ) with the given parameters, 43 function setup_filesystem #disklist #pool #fs #mntpoint #type #vdev 46 typeset pool=$2 52 if [[ -z $pool || -z $fs || -z $mntpoint ]]; then 53 log_note "Missing parameter: (\"$pool\", \"$fs\", \"$mntpoint\")" 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/ [all...] |
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
H A D | cleanup.ksh | 32 for pool in $TESTPOOL2 $TESTPOOL1 $TESTPOOL; do 33 if poolexists $pool; then 34 destroy_pool $pool
|
/freebsd-current/crypto/openssl/include/crypto/ |
H A D | rand_pool.h | 23 * function chooses more modest values as default pool length, bounded 63 * The 'random pool' acts as a dumb container for collecting random 65 * the random pool, 2) pass it to the polling callbacks, 3) seed the RNG, and 66 * 4) cleanup the random pool again. 68 * The random pool contains no locking mechanism because its scope and 72 unsigned char *buffer; /* points to the beginning of the random pool */ 73 size_t len; /* current number of random bytes contained in the pool */ 75 int attached; /* true pool was attached to existing buffer */ 89 void ossl_rand_pool_free(RAND_POOL *pool); 91 const unsigned char *ossl_rand_pool_buffer(RAND_POOL *pool); [all...] |
/freebsd-current/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 18 ${PACKAGE}FILES+= zfs-pool-v1mirror1.dat.Z 19 ${PACKAGE}FILES+= zfs-pool-v1mirror2.dat.Z 20 ${PACKAGE}FILES+= zfs-pool [all...] |
/freebsd-current/contrib/jemalloc/src/ |
H A D | mutex_pool.c | 10 mutex_pool_init(mutex_pool_t *pool, const char *name, witness_rank_t rank) { argument 12 if (malloc_mutex_init(&pool->mutexes[i], name, rank,
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | cleanup.ksh | 39 for pool in "$TESTPOOL" "$TESTPOOL1"; do 40 datasetexists $pool/$TESTFS && destroy_dataset $pool/$TESTFS -Rf 41 destroy_pool "$pool"
|