/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
H A D | zpool_create_features_009_pos.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 31 # Verify '-o compatibility' property is updated in both the 32 # pool config MOS object and the cache file. 35 # 1. Create a pool with '-o compatibility=legacy', then verify 36 # the property exists in the MOS config and cache file. 38 # verify the property exists in the MOS config and cache file. 46 rm -f $CACHE_FILE 53 poolval="$(zpool get -H -o value compatibility $TESTPOOL)" 58 if ! zdb -C -U $CACHE_FILE | grep "compatibility: '$propval'"; then [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | import_rewind_device_replaced.ksh | 1 #!/bin/ksh -p 32 # Import it read-only so that we do not overwrite blocks in later txgs. 33 # 7. Re-import pool at latest txg and let the replacement finish. 34 # 8. Export the pool an remove the new device - we shouldn't need it. 41 # 3. Re-import the pool so that data isn't cached 49 # This test can fail since nothing guarantees that old MOS blocks aren't 50 # overwritten. Snapshots protect datasets and data files but not the MOS. 51 # sync_some_data_a_few_times interleaves file data and MOS data for a few 52 # txgs, thus increasing the odds that some txgs will have their MOS data 63 [[ -n $ZFS_TXG_TIMEOUT ]] && [all …]
|
H A D | import_rewind_config_changed.ksh | 1 #!/bin/ksh -p 30 # 6. Change device paths if requested and re-import pool. 38 # This test can fail since nothing guarantees that old MOS blocks aren't 39 # overwritten. Snapshots protect datasets and data files but not the MOS. 40 # sync_some_data_a_few_times interleaves file data and MOS data for a few 41 # txgs, thus increasing the odds that some txgs will have their MOS data 60 typeset attachargs="${3:-}" 61 typeset detachvdev="${4:-}" 62 typeset removevdev="${5:-}" 63 typeset finalpool="${6:-}" [all …]
|
/freebsd/share/doc/usd/18.msdiffs/ |
H A D | ms.diffs | 34 .OH 'A Revised Version of \*ms''USD:18-%' 35 .EH 'USD:18-%''A Revised Version of \*ms' 54 The old version of \*ms is still available as \*mos. 66 Output produced with \*ms should look like output produced with \*mos. 69 Footnote numbers are printed by means of a pre-defined string 74 and on daisy-wheel terminals, but on low-resolution devices 92 footnotes produced with \*mos. 117 It will put page numbers in the upper right-hand corner; 123 The .P1 (P one) macro can be used even without thesis mode 159 this will give you numbers at the left-hand margin. [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/dedup/ |
H A D | dedup_legacy_fdt_upgrade.ksh | 1 #!/bin/ksh -p 9 # or https://opensource.org/licenses/CDDL-1.0. 35 # where things appear on-disk 51 log_must zpool create -f \ 52 -o feature@fast_dedup=disabled \ 53 -O dedup=on \ 54 -o feature@block_cloning=disabled \ 55 -O compression=off \ 56 -O xattr=sa \ 62 # confirm there's no DDT keys in the MOS root [all …]
|
H A D | dedup_legacy_create.ksh | 1 #!/bin/ksh -p 9 # or https://opensource.org/licenses/CDDL-1.0. 43 log_must zpool create -f \ 44 -o feature@fast_dedup=disabled \ 45 -O dedup=on \ 46 -o feature@block_cloning=disabled \ 47 -O compression=off \ 48 -O xattr=sa \ 54 # confirm there's no DDT keys in the MOS root 55 log_mustnot eval "zdb -dddd $TESTPOOL 1 | grep -q DDT-sha256" [all …]
|
H A D | dedup_legacy_import.ksh | 1 #!/bin/ksh -p 9 # or https://opensource.org/licenses/CDDL-1.0. 43 log_must zpool create -f \ 44 -o feature@fast_dedup=disabled \ 45 -O dedup=on \ 46 -o feature@block_cloning=disabled \ 47 -O compression=off \ 48 -O xattr=sa \ 54 # confirm there's no DDT keys in the MOS root 55 log_mustnot eval "zdb -dddd $TESTPOOL 1 | grep -q DDT-sha256" [all …]
|
H A D | dedup_legacy_fdt_mixed.ksh | 1 #!/bin/ksh -p 9 # or https://opensource.org/licenses/CDDL-1.0. 35 # where things appear on-disk 51 log_must zpool create -f \ 52 -o feature@fast_dedup=disabled \ 53 -o feature@block_cloning=disabled \ 54 -O compression=off \ 55 -O xattr=sa \ 59 log_must zfs create -o dedup=skein $TESTPOOL/ds1 60 log_must zfs create -o dedup=blake3 $TESTPOOL/ds2 [all …]
|
H A D | dedup_fdt_import.ksh | 1 #!/bin/ksh -p 9 # or https://opensource.org/licenses/CDDL-1.0. 34 # where things appear on-disk 50 log_must zpool create -f \ 51 -o feature@fast_dedup=enabled \ 52 -O dedup=on \ 53 -o feature@block_cloning=disabled \ 54 -O compression=off \ 55 -O xattr=sa \ 61 # confirm there's no DDT keys in the MOS root [all …]
|
H A D | dedup_fdt_create.ksh | 1 #!/bin/ksh -p 9 # or https://opensource.org/licenses/CDDL-1.0. 34 # where things appear on-disk 50 log_must zpool create -f \ 51 -o feature@fast_dedup=enabled \ 52 -O dedup=on \ 53 -o feature@block_cloning=disabled \ 54 -O compression=off \ 55 -O xattr=sa \ 61 # confirm there's no DDT keys in the MOS root [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dsl_dir.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 68 * ------------------------------ 72 * use-case is with a delegated dataset where the administrator wants to ensure 86 * filesystem count of 0 and a snapshot count of 0. Non-existent filesystem and 89 * at the filesystem with the new limit and descends into all sub-filesystems 94 * limit value won't require a re-traversal since the counts are already valid. 119 * denial-of-service in which a lower level delegated dataset could max out its 124 * snapshot should be aware of this side-effect and behave accordingly. 146 dsl_pool_t *dp __maybe_unused = dd->dd_pool; in dsl_dir_evict_async() 148 dd->dd_dbuf = NULL; in dsl_dir_evict_async() [all …]
|
H A D | dsl_dataset.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 124 if (ds->ds_reserved == 0) in parent_delta() 128 old_bytes = MAX(ds_phys->ds_unique_bytes, ds->ds_reserved); in parent_delta() 129 new_bytes = MAX(ds_phys->ds_unique_bytes + delta, ds->ds_reserved); in parent_delta() 131 ASSERT3U(ABS((int64_t)(new_bytes - old_bytes)), <=, ABS(delta)); in parent_delta() 132 return (new_bytes - old_bytes); in parent_delta() 138 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in dsl_dataset_block_born() 145 dprintf_bp(bp, "ds=%p", ds); in dsl_dataset_block_born() 154 dsl_pool_mos_diduse_space(tx->tx_pool, in dsl_dataset_block_born() 160 dsl_dataset_phys(ds)->ds_prev_snap_txg); in dsl_dataset_block_born() [all …]
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zinject.8 | 9 .\" or https://opensource.org/licenses/CDDL-1.0. 24 .\" lint-ok: WARNING: sections out of conventional order: Sh SYNOPSIS 40 .Bl -tag -width Ds 148 .Fl p Ar function 189 Force an error into the MOS of a pool. 192 .Bl -tag -width "-C dvas" 200 The mask should be specified as a list of 0-indexe [all...] |
H A D | zdb.8 | 27 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … 28 .Op Fl I Ar inflight-I/O-ops 34 .Op Ar poolname Ns Op / Ns Ar dataset Ns | Ns Ar objset-ID 38 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … 41 .Ar poolname Ns Op Ar / Ns Ar dataset Ns | Ns Ar objset-ID 45 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … 48 .Ar poolname Ns Ar / Ns Ar objset-ID 49 .Op Ar backup-flags 66 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … 81 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zinject/ |
H A D | zinject.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 25 * Copyright (c) 2023-2024, Klara Inc. 32 * from a user-visible object type and name to an internal representation. 38 * Errors can be injected into a particular vdev using the '-d' option. This 41 * ECHILD, and EILSEQ. These can be controlled through the '-e' option and the 46 * only apply to read operations (-T read) and will flip a bit after the device 49 * For label faults, the -L option must be specified. This allows faults 55 * zinject -d device [-e errno] [- [all...] |
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/ |
H A D | zdb_001_neg.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 47 log_mustnot eval "$* | grep -q 'Dataset mos'" 53 rm -f $TEST_BASE_DIR/zdb_001_neg.$$.txt 63 log_must grep -q pool_guid $TEST_BASE_DIR/zdb_001_neg.$$.txt
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | ddt.h | 9 * or https://opensource.org/licenses/CDDL-1.0. 43 * DDT-wide feature flags. These are set in ddt_flags by ddt_configure(). 50 * DDT on-disk storage object types. Each one corresponds to specific 89 * The "key" part of an on-disk entry. This is the unique "name" for a block, 94 zio_cksum_t ddk_cksum; /* 256-bit block checksum */ 98 * +-------+-------+-------+-------+-------+-------+-------+-------+ 100 * +-------+-------+-------+-------+-------+-------+-------+-------+ 110 BF64_GET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1) 112 BF64_SET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x) 115 BF64_GET_SB((ddk)->ddk_prop, 16, 16, SPA_MINBLOCKSHIFT, 1) [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/cli_user/misc/ |
H A D | zdb_001_neg.ksh | 1 #!/usr/local/bin/ksh93 -p 48 # CODING_STATUS: COMPLETED (2007-07-27) 57 $GREP "Dataset mos" $TMPDIR/zdb.${TESTCASE_ID} 58 if [ $? -eq 0 ] 68 if [ -e $TMPDIR/zdb_001_neg.${TESTCASE_ID}.txt ]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.h | 1 //===-- X86InstrInfo.h - X86 Instruction Information ------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 54 /// Return the source operand # for condition code by \p MCID. If the 55 /// instruction doesn't have a condition code, return -1. 86 /// GetOppositeBranchCondition - Return the inverse of the specified cond, 109 /// memory reference, or -1 if it has none. Unlike X86II::getMemoryOperandNo(), 119 /// isGlobalStubReference - Return true if the specified TargetFlag operand is 124 case X86II::MO_GOTPCREL: // rip-relative GOT reference. in isGlobalStubReference() [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/zinject/ |
H A D | zinject.kshlib | 36 [[ -d $TESTDIR ]] && \ 37 log_must $RM -rf $TESTDIR 42 # $1: data,dnode,mos,mosdir,config,bplist,spacemap,metaslab,errlog 52 typeset error=${3:-io} 53 typeset -i expect=${4:-0} 56 log_must eval '$ZINJECT -t $type -e $error \ 57 -m -a -q $object > /dev/null 2>&1' 59 log_mustnot eval '$ZINJECT -t $type -e $error \ 60 -m -a -q $object > /dev/null 2>&1' 71 log_must eval '$ZINJECT -c all > /dev/null 2>&1' [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 9 * or https://opensource.org/licenses/CDDL-1.0. 171 return (livelist_compare(&l->svbr_blk, &r->svbr_blk)); in sublivelist_block_refcnt_compare() 185 * This field is not used for our B-Tree comparisons in sublivelist_verify_blkptr() 193 zfs_btree_find(&sv->sv_pair, ¤t, &where); in sublivelist_verify_blkptr() 197 zfs_btree_add(&sv->sv_pair, ¤t); in sublivelist_verify_blkptr() 199 pair->svbr_refcnt++; in sublivelist_verify_blkptr() 205 if (DVA_IS_EMPTY(&bp->blk_dva[i])) in sublivelist_verify_blkptr() 208 .svb_dva = bp->blk_dva[i], in sublivelist_verify_blkptr() 213 if (zfs_btree_find(&sv->sv_leftover, &svb, in sublivelist_verify_blkptr() 215 zfs_btree_add_idx(&sv->sv_leftover, in sublivelist_verify_blkptr() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineInstrBuilder.h | 1 //===- CodeGen/MachineInstrBuilder.h - Simplify creation of MIs --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 17 //===----------------------------------------------------------------------===// 86 MachineInstr *operator->() const { return MI; } 96 Register getReg(unsigned Idx) const { return MI->getOperand(Idx).getReg(); } in getReg() 103 MI->addOperand(*MF, MachineOperand::CreateReg(RegNo, 134 MI->addOperand(*MF, MachineOperand::CreateImm(Val)); in addImm() 139 MI->addOperand(*MF, MachineOperand::CreateCImm(Val)); in addCImm() 144 MI->addOperand(*MF, MachineOperand::CreateFPImm(Val)); in addFPImm() [all …]
|
/freebsd/stand/libsa/zfs/ |
H A D | zfsimpl.c | 1 /*- 28 * Stand-alone ZFS file reader. 60 * For plain (non-mirror) top-level vdevs (i.e. is_vdev is not a mirror), 61 * ic_vdev is the same as is_vdev. However, for mirror top-level vdevs, 71 * indirect vdev. For non-split (contiguously-mapped) blocks, there will be 84 vdev_t *is_vdev; /* top-level vdev */ 95 indirect_child_t is_child[1]; /* variable-length */ 100 * It is the "Vdev-Specific Data" in the zio_t's io_vsd. 115 * List of supported read-incompatible ZFS features. Do not add here features 116 * marked as ZFEATURE_FLAG_READONLY_COMPAT, they are irrelevant for read-only! [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
H A D | VarLocBasedImpl.cpp | 1 //===- VarLocBasedImpl.cpp - Tracking Debug Value MIs with VarLoc class----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 14 /// fragment might be located, qualified by a DIExpression and indirect-ness 18 /// clobbered or re-specified by a different DBG_VALUE for the same 27 /// clobbering, instead when a variable is re-assigned, any expressions using 33 /// needed when a DebugVariable has its location re-specified, to invalidate 38 /// live-in. This propagates variable locations into every basic block where 61 /// Formally, all DebugVariable locations that are live-out of a block are 62 /// initialized to \top. A blocks live-in values take the meet of the lattice [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | RegAllocFast.cpp | 1 //===- RegAllocFast.cpp - A fast register allocator for debug code --------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 58 static cl::opt<bool> IgnoreMissingDefs("rafast-ignore-missing-defs", 82 /// Set \p Index to index of \p MI. If \p MI is new inserted, it try to assign 96 Index = It->second; in getIndex() 112 while (Start != CurMBB->begin() && in getIndex() 114 --Start; in getIndex() 117 while (End != CurMBB->end() && !Instr2PosIndex.count(&*(End))) { in getIndex() [all …]
|