Home
last modified time | relevance | path

Searched +full:n +full:- +full:mos (Results 1 – 25 of 76) sorted by relevance

1234

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_deleg.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
53 * c-$ identifies permission to create at dataset creation time.
54 * C-$ identifies permission sets to grant locally at dataset creation
56 * s-$@<name> permissions defined in specified set @<name>
57 * S-$@<name> Sets defined in named set @<name>
65 * ul$12 -> ZAP OBJ -> permissions...
162 objset_t *mos = dp->dp_meta_objset; in dsl_deleg_set_sync() local
166 VERIFY0(dsl_dir_hold(dp, dda->dda_name, FTAG, &dd, NULL)); in dsl_deleg_set_sync()
168 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_set_sync()
[all …]
H A Ddsl_destroy.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
58 if (!ds->ds_is_snapshot) in dsl_destroy_snapshot_check_impl()
69 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl()
79 if (ds->ds_userrefs > 0) in dsl_destroy_snapshot_check_impl()
85 if (dsl_dataset_phys(ds)->ds_num_children > 1) in dsl_destroy_snapshot_check_impl()
95 const char *dsname = ddsa->ddsa_name; in dsl_destroy_snapshot_check()
96 boolean_t defer = ddsa->ddsa_defer; in dsl_destroy_snapshot_check()
106 * dsl_destroy_snapshot_sync() will be a no-op in dsl_destroy_snapshot_check()
132 dsl_pool_t *dp = poa->ds->ds_dir->dd_pool; in process_old_cb()
[all …]
H A Dspa_checkpoint.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
30 * A storage pool checkpoint can be thought of as a pool-wide snapshot or
36 * zpool on-disk features. If a pool has a checkpoint that is no longer
41 * - The pool has a new feature flag and a new entry in the MOS. The feature
43 * until the checkpoint is fully discarded. The entry in the MOS config
49 * - Each vdev contains a vdev-wide space map while the pool has a checkpoint,
55 * - Each metaslab's ms_sm space map behaves the same as without the
61 * - Each uberblock has a field (ub_checkpoint_txg) which holds the txg that
66 * - To create a checkpoint, we first wait for the current TXG to be synced,
[all …]
H A Ddmu_object.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
54 (DMU_META_DNODE(os)->dn_indblkshift - SPA_BLKPTRSHIFT); in dmu_object_alloc_impl()
62 cpuobj = &os->os_obj_next_percpu[CPU_SEQID_UNSTABLE % in dmu_object_alloc_impl()
63 os->os_obj_next_percpu_len]; in dmu_object_alloc_impl()
73 * The "chunk" of dnodes that is assigned to a CPU-specific in dmu_object_alloc_impl()
104 (P2PHASE(object + dn_slots - 1, dnodes_per_chunk) < in dmu_object_alloc_impl()
107 mutex_enter(&os->os_obj_lock); in dmu_object_alloc_impl()
108 ASSERT0(P2PHASE(os->os_obj_next_chunk, in dmu_object_alloc_impl()
110 object = os->os_obj_next_chunk; in dmu_object_alloc_impl()
[all …]
H A Ddsl_bookmark.c1 // SPDX-License-Identifier: CDDL-1.0
56 (void) strlcpy(buf, fullname, hashp - fullname + 1); in dsl_bookmark_hold_ds()
72 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_bookmark_lookup_impl() local
73 uint64_t bmark_zapobj = ds->ds_bookmarks_obj; in dsl_bookmark_lookup_impl()
80 if (dsl_dataset_phys(ds)->ds_flags & DS_FLAG_CI_DATASET) in dsl_bookmark_lookup_impl()
89 err = zap_lookup_norm(mos, bmark_zapobj, shortname, sizeof (uint64_t), in dsl_bookmark_lookup_impl()
97 * If later_ds is non-NULL, this will return EXDEV if the specified bookmark
118 if (!dsl_dataset_is_before(later_ds, ds, bmp->zbm_creation_txg)) in dsl_bookmark_lookup()
127 * - bmark is a full dataset path of a bookmark (bookmark_namecheck)
128 * - source is a full path of a snapshot or bookmark
[all …]
H A Ddsl_dir.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
70 * ------------------------------
74 * use-case is with a delegated dataset where the administrator wants to ensure
88 * filesystem count of 0 and a snapshot count of 0. Non-existent filesystem and
91 * at the filesystem with the new limit and descends into all sub-filesystems
96 * limit value won't require a re-traversal since the counts are already valid.
121 * denial-of-service in which a lower level delegated dataset could max out its
126 * snapshot should be aware of this side-effect and behave accordingly.
148 dsl_pool_t *dp __maybe_unused = dd->dd_pool; in dsl_dir_evict_async()
[all …]
H A Ddsl_pool.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
57 * ------------------
62 * for short periods and would lead to highly lumpy performance. On a per-pool
78 * As buffers are modified dsl_pool_willuse_space() increments both the per-
82 * relevant, the per-txg value is useful for debugging. The tunable
155 * that are pre-populated when the taskq is first created (via the
157 * taskq entries that are cached after an on-demand allocation (via the
161 * already be a taskq entry pre-allocated by the time that it is needed
163 * on-demand allocation of a new taskq entry from failing, which would
[all …]
H A Ddsl_dataset.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
127 if (ds->ds_reserved == 0) in parent_delta()
131 old_bytes = MAX(ds_phys->ds_unique_bytes, ds->ds_reserved); in parent_delta()
132 new_bytes = MAX(ds_phys->ds_unique_bytes + delta, ds->ds_reserved); in parent_delta()
134 ASSERT3U(ABS((int64_t)(new_bytes - old_bytes)), <=, ABS(delta)); in parent_delta()
135 return (new_bytes - old_bytes); in parent_delta()
141 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in dsl_dataset_block_born()
157 dsl_pool_mos_diduse_space(tx->tx_pool, in dsl_dataset_block_born()
163 dsl_dataset_phys(ds)->ds_prev_snap_txg); in dsl_dataset_block_born()
[all …]
H A Dspa.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
44 * This file contains all the routines used when modifying on-disk SPA state.
114 * moves it to some Illumos-specific place, or removes it entirely.
120 * prevent CPU-intensive kernel threads from affecting latency on interactive
141 #define ZTI_P(n, q) { ZTI_MODE_FIXED, (n), (q) } argument
142 #define ZTI_PCT(n) { ZTI_MODE_ONLINE_PERCENT, (n), 1 } argument
147 #define ZTI_N(n) ZTI_P(n, 1) argument
167 * are so high frequency and short-lived that the taskq itself can become a
169 * additional degree of parallelism specified by the number of threads per-
[all …]
H A Dvdev.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
68 * One metaslab from each (normal-class) vdev is used by the ZIL. These are
88 /* default target for number of metaslabs per top-level vdev */
91 /* minimum number of metaslabs per top-level vdev */
94 /* practical upper limit of total metaslabs per top-level vdev */
138 * vdev-wide space maps that have lots of entries written to them at
146 * will cause pool corruption on power loss if a volatile out-of-order
183 if (vd->vdev_path != NULL) { in vdev_dbgmsg()
184 zfs_dbgmsg("%s vdev '%s': %s", vd->vdev_ops->vdev_op_type, in vdev_dbgmsg()
[all …]
H A Ddmu_redact.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
144 if (new->eos_marker) { in record_merge_enqueue()
155 if ((curbuild->end_object == new->start_object && in record_merge_enqueue()
156 curbuild->end_blkid + 1 == new->start_blkid && in record_merge_enqueue()
157 curbuild->end_blkid != UINT64_MAX) || in record_merge_enqueue()
158 (curbuild->end_object + 1 == new->start_object && in record_merge_enqueue()
159 curbuild->end_blkid == UINT64_MAX && new->start_blkid == 0)) { in record_merge_enqueue()
160 curbuild->end_object = new->end_object; in record_merge_enqueue()
161 curbuild->end_blkid = new->end_blkid; in record_merge_enqueue()
[all …]
H A Ddmu_recv.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
156 #define DO64(X) (drr->drr_u.X = BSWAP_64(drr->drr_u.X)) in byteswap_record()
157 #define DO32(X) (drr->drr_u.X = BSWAP_32(drr->drr_u.X)) in byteswap_record()
158 drr->drr_type = BSWAP_32(drr->drr_type); in byteswap_record()
159 drr->drr_payloadlen = BSWAP_32(drr->drr_payloadlen); in byteswap_record()
161 switch (drr->drr_type) { in byteswap_record()
192 ZIO_CHECKSUM_BSWAP(&drr->drr_u.drr_write.drr_key.ddk_cksum); in byteswap_record()
230 ZIO_CHECKSUM_BSWAP(&drr->drr_u.drr_end.drr_checksum); in byteswap_record()
236 if (drr->drr_type != DRR_BEGIN) { in byteswap_record()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/
H A Dimport_rewind_config_changed.ksh1 #!/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 …]
H A Dimport_rewind_device_replaced.ksh1 #!/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 …]
/freebsd/usr.sbin/makefs/
H A Dzfs.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
85 { '\0', "bootfs", &zfs->bootfs, OPT_STRPTR, in zfs_prep_opts()
87 { '\0', "mssize", &zfs->mssize, OPT_INT64, in zfs_prep_opts()
89 { '\0', "poolguid", &zfs->poolguid, OPT_INT64, in zfs_prep_opts()
91 { '\0', "poolname", &zfs->poolname, OPT_STRPTR, in zfs_prep_opts()
93 { '\0', "rootpath", &zfs->rootpath, OPT_STRPTR, in zfs_prep_opts()
95 { '\0', "ashift", &zfs->ashift, OPT_INT32, in zfs_prep_opts()
97 { '\0', "verify-txgs", &zfs->verify_txgs, OPT_BOOL, in zfs_prep_opts()
99 { '\0', "nowarn", &zfs->nowarn, OPT_BOOL, in zfs_prep_opts()
[all …]
/freebsd/share/doc/usd/18.msdiffs/
H A Dms.diffs34 .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;
132 usually 5n (the same as the indent for the first line of a .PP).
159 this will give you numbers at the left-hand margin.
[all …]
/freebsd/sys/contrib/openzfs/cmd/
H A Dzhack.c1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
72 "Usage: zhack [-c cachefile] [-d dir] <subcommand> <args> ...\n" in usage()
73 "where <subcommand> <args> is one of the following:\n" in usage()
74 "\n"); in usage()
77 " feature stat <pool>\n" in usage()
78 " print information about enabled features\n" in usage()
79 " feature enable [-r] [-d desc] <pool> <feature>\n" in usage()
80 " add a new enabled feature to the pool\n" in usage()
81 " -d <desc> sets the feature's description\n" in usage()
[all …]
/freebsd/sys/dev/usb/net/
H A Dif_mos.c1 /* SPDX-License-Identifier: ISC AND BSD-4-Clause */
3 /*-
19 /*-
35 /*-
51 /*-
52 * Copyright (c) 1997, 1998, 1999, 2000-2003
66 * 4. Neither the name of the author nor the names of any co-contributors
144 static SYSCTL_NODE(_hw_usb, OID_AUTO, mos, CTLFLAG_RW | CTLFLAG_MPSAFE, 0,
145 "USB mos");
151 DPRINTF("mos: %s: " fmt "\n",__FUNCTION__,## __VA_ARGS__)
[all …]
/freebsd/usr.sbin/makefs/zfs/
H A Dvdev.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
43 #pragma GCC diagnostic ignored "-Wunused-function"
71 memcpy(&bp->blk_cksum, cksum, sizeof(*cksum)); in blkptr_set()
85 ssize_t n; in vdev_pwrite() local
87 assert(off >= 0 && off < zfs->asize); in vdev_pwrite()
90 off + (off_t)len < zfs->asize); in vdev_pwrite()
91 if (zfs->spacemap != NULL) { in vdev_pwrite()
95 * The space map isn't available once the on-disk space map is in vdev_pwrite()
98 assert(bit_ntest(zfs->spacemap, off >> zfs->ashift, in vdev_pwrite()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c1 // 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/cmd/zdb/
H A Dzdb.c1 // 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, &current, &where); in sublivelist_verify_blkptr()
198 zfs_btree_add(&sv->sv_pair, &current); 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/share/man/man4/
H A Dusb.435 .Bd -ragged -offset indent
42 .Bd -literal -offset indent
52 provides machine-independent bus support and drivers for
58 .Bl -tag -width 6n -offset indent
78 .Bl -tag -width 6n -offset indent
116 .Bl -enum
128 .Bl -tag -width indent
146 .Xr mos 4 ,
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp1 //==--- InstrEmitter.cpp - Emit MachineInstrs for the SelectionDAG class ---==//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
32 #define DEBUG_TYPE "instr-emitter"
34 /// MinRCSize - Smallest register class we allow when constraining virtual
40 /// CountResults - The results of target nodes have register or immediate
44 unsigned N = Node->getNumValues(); in CountResults() local
45 while (N && Node->getValueType(N - 1) == MVT::Glue) in CountResults()
46 --N; in CountResults()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h1 // SPDX-License-Identifier: CDDL-1.0
10 * or https://opensource.org/licenses/CDDL-1.0.
150 uint32_t vq_nia_credit; /* Non-interactive I/Os credit. */
167 * On-disk indirect vdev state.
169 * An indirect vdev is described exclusively in the MOS config of a pool.
175 * Object (in MOS) which contains the indirect mapping. This object
187 * Object (in MOS) which contains the birth times for the mapping
233 * requests may be inflated or incur device level read-modify-write
243 void *vdev_tsd; /* type-specific data */
244 vdev_t *vdev_top; /* top-level vdev */
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveDebugVariables.cpp1 //===- LiveDebugVariables.cpp - Tracking debug info variables -------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
12 // them with a data structure tracking where live user variables are kept - in a
19 //===----------------------------------------------------------------------===//
48 #include "llvm/Config/llvm-config.h"
71 EnableLDV("live-debug-variables", cl::init(true),
126 // bit-width of LocNoCount to 14 to enable up to 16384 unique machine in DbgVariableValue()
137 "locations, dropping...\n"); in DbgVariableValue()
145 Expression, FragmentInfoOpt->OffsetInBits, in DbgVariableValue()
[all …]

1234