/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 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 32 # Verify '-o compatibility' property is updated in both the 33 # pool config MOS object and the cache file. 36 # 1. Create a pool with '-o compatibility=legacy', then verify 37 # the property exists in the MOS config and cache file. 39 # verify the property exists in the MOS config and cache file. 47 rm -f $CACHE_FILE 54 poolval="$(zpool get -H -o value compatibility $TESTPOOL)" [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 2 # SPDX-License-Identifier: CDDL-1.0 33 # Import it read-only so that we do not overwrite blocks in later txgs. 34 # 7. Re-import pool at latest txg and let the replacement finish. 35 # 8. Export the pool an remove the new device - we shouldn't need it. 42 # 3. Re-import the pool so that data isn't cached 50 # This test can fail since nothing guarantees that old MOS blocks aren't 51 # overwritten. Snapshots protect datasets and data files but not the MOS. 52 # sync_some_data_a_few_times interleaves file data and MOS data for a few 53 # txgs, thus increasing the odds that some txgs will have their MOS data [all …]
|
H A D | import_rewind_config_changed.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 31 # 6. Change device paths if requested and re-import pool. 39 # This test can fail since nothing guarantees that old MOS blocks aren't 40 # overwritten. Snapshots protect datasets and data files but not the MOS. 41 # sync_some_data_a_few_times interleaves file data and MOS data for a few 42 # txgs, thus increasing the odds that some txgs will have their MOS data 61 typeset attachargs="${3:-}" 62 typeset detachvdev="${4:-}" 63 typeset removevdev="${5:-}" [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 2 # SPDX-License-Identifier: CDDL-1.0 10 # or https://opensource.org/licenses/CDDL-1.0. 36 # where things appear on-disk 52 log_must zpool create -f \ 53 -o feature@fast_dedup=disabled \ 54 -O dedup=on \ 55 -o feature@block_cloning=disabled \ 56 -O compression=off \ 57 -O xattr=sa \ [all …]
|
H A D | dedup_legacy_create.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 10 # or https://opensource.org/licenses/CDDL-1.0. 44 log_must zpool create -f \ 45 -o feature@fast_dedup=disabled \ 46 -O dedup=on \ 47 -o feature@block_cloning=disabled \ 48 -O compression=off \ 49 -O xattr=sa \ 55 # confirm there's no DDT keys in the MOS root [all …]
|
H A D | dedup_legacy_import.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 10 # or https://opensource.org/licenses/CDDL-1.0. 44 log_must zpool create -f \ 45 -o feature@fast_dedup=disabled \ 46 -O dedup=on \ 47 -o feature@block_cloning=disabled \ 48 -O compression=off \ 49 -O xattr=sa \ 55 # confirm there's no DDT keys in the MOS root [all …]
|
H A D | dedup_fdt_import.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 10 # 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=enabled \ 53 -O dedup=on \ 54 -o feature@block_cloning=disabled \ 55 -O compression=off \ 56 -O xattr=sa \ [all …]
|
H A D | dedup_legacy_fdt_mixed.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 10 # or https://opensource.org/licenses/CDDL-1.0. 36 # where things appear on-disk 52 log_must zpool create -f \ 53 -o feature@fast_dedup=disabled \ 54 -o feature@block_cloning=disabled \ 55 -O compression=off \ 56 -O xattr=sa \ 60 log_must zfs create -o dedup=skein $TESTPOOL/ds1 [all …]
|
H A D | dedup_fdt_create.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 10 # 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=enabled \ 53 -O dedup=on \ 54 -o feature@block_cloning=disabled \ 55 -O compression=off \ 56 -O xattr=sa \ [all …]
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | dsl_dir.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 69 * ------------------------------ 73 * use-case is with a delegated dataset where the administrator wants to ensure 87 * filesystem count of 0 and a snapshot count of 0. Non-existent filesystem and 90 * at the filesystem with the new limit and descends into all sub-filesystems 95 * limit value won't require a re-traversal since the counts are already valid. 120 * denial-of-service in which a lower level delegated dataset could max out its 125 * snapshot should be aware of this side-effect and behave accordingly. 147 dsl_pool_t *dp __maybe_unused = dd->dd_pool; in dsl_dir_evict_async() [all …]
|
H A D | dsl_dataset.c | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 126 if (ds->ds_reserved == 0) in parent_delta() 130 old_bytes = MAX(ds_phys->ds_unique_bytes, ds->ds_reserved); in parent_delta() 131 new_bytes = MAX(ds_phys->ds_unique_bytes + delta, ds->ds_reserved); in parent_delta() 133 ASSERT3U(ABS((int64_t)(new_bytes - old_bytes)), <=, ABS(delta)); in parent_delta() 134 return (new_bytes - old_bytes); in parent_delta() 140 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in dsl_dataset_block_born() 147 dprintf_bp(bp, "ds=%p", ds); in dsl_dataset_block_born() 156 dsl_pool_mos_diduse_space(tx->tx_pool, in dsl_dataset_block_born() [all …]
|
/freebsd/sys/contrib/openzfs/man/man8/ |
H A D | zinject.8 | 1 .\" SPDX-License-Identifier: CDDL-1.0 10 .\" or https://opensource.org/licenses/CDDL-1.0. 25 .\" lint-ok: WARNING: sections out of conventional order: Sh SYNOPSIS 41 .Bl -tag -width Ds 149 .Fl p Ar function 190 Force an error into the MOS of a pool. 193 .Bl -tag -width "-C dvas" 201 The mask should be specified as a list of 0-indexed DVAs separated by commas 211 .Bl -tag -compact -width "decompress" 271 .Bl -tag -compact -width "read, write, flush, claim, free" [all …]
|
H A D | zdb.8 | 1 .\" SPDX-License-Identifier: CDDL-1.0 28 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … 29 .Op Fl I Ar inflight-I/O-ops 35 .Op Ar poolname Ns Op / Ns Ar dataset Ns | Ns Ar objset-ID 39 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … 42 .Ar poolname Ns Op Ar / Ns Ar dataset Ns | Ns Ar objset-ID 46 .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … 49 .Ar poolname Ns Ar / Ns Ar objset-ID 50 .Op Ar backup-flags 67 .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 | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 26 * Copyright (c) 2023-2025, Klara, Inc. 33 * from a user-visible object type and name to an internal representation. 39 * Errors can be injected into a particular vdev using the '-d' option. This 42 * ECHILD, and EILSEQ. These can be controlled through the '-e' option and the 47 * only apply to read operations (-T read) and will flip a bit after the device 50 * For label faults, the -L option must be specified. This allows faults 56 * zinject -d device [-e errno] [-L <uber | nvlist | pad1 | pad2>] pool 72 * The following MOS objects are special. Instead of injecting [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/misc/ |
H A D | zdb_001_neg.ksh | 1 #!/bin/ksh -p 2 # SPDX-License-Identifier: CDDL-1.0 11 # or https://opensource.org/licenses/CDDL-1.0. 48 log_mustnot eval "$* | grep -q 'Dataset mos'" 54 rm -f $TEST_BASE_DIR/zdb_001_neg.$$.txt 64 log_must grep -q pool_guid $TEST_BASE_DIR/zdb_001_neg.$$.txt
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | ddt.h | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 44 * DDT-wide feature flags. These are set in ddt_flags by ddt_configure(). 51 * DDT on-disk storage object types. Each one corresponds to specific 90 * The "key" part of an on-disk entry. This is the unique "name" for a block, 95 zio_cksum_t ddk_cksum; /* 256-bit block checksum */ 99 * +-------+-------+-------+-------+-------+-------+-------+-------+ 101 * +-------+-------+-------+-------+-------+-------+-------+-------+ 111 BF64_GET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1) 113 BF64_SET_SB((ddk)->ddk_prop, 0, 16, SPA_MINBLOCKSHIFT, 1, x) [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 | 1 // SPDX-License-Identifier: CDDL-1.0 10 * or https://opensource.org/licenses/CDDL-1.0. 172 return (livelist_compare(&l->svbr_blk, &r->svbr_blk)); in sublivelist_block_refcnt_compare() 186 * This field is not used for our B-Tree comparisons in sublivelist_verify_blkptr() 194 zfs_btree_find(&sv->sv_pair, ¤t, &where); in sublivelist_verify_blkptr() 198 zfs_btree_add(&sv->sv_pair, ¤t); in sublivelist_verify_blkptr() 200 pair->svbr_refcnt++; in sublivelist_verify_blkptr() 206 if (DVA_IS_EMPTY(&bp->blk_dva[i])) in sublivelist_verify_blkptr() 209 .svb_dva = bp->blk_dva[i], in sublivelist_verify_blkptr() 214 if (zfs_btree_find(&sv->sv_leftover, &svb, 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 …]
|