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.c9 * or https://opensource.org/licenses/CDDL-1.0.
52 * c-$ identifies permission to create at dataset creation time.
53 * C-$ identifies permission sets to grant locally at dataset creation
55 * s-$@<name> permissions defined in specified set @<name>
56 * S-$@<name> Sets defined in named set @<name>
64 * ul$12 -> ZAP OBJ -> permissions...
161 objset_t *mos = dp->dp_meta_objset; in dsl_deleg_set_sync() local
165 VERIFY0(dsl_dir_hold(dp, dda->dda_name, FTAG, &dd, NULL)); in dsl_deleg_set_sync()
167 zapobj = dsl_dir_phys(dd)->dd_deleg_zapobj; in dsl_deleg_set_sync()
169 dmu_buf_will_dirty(dd->dd_dbuf, tx); in dsl_deleg_set_sync()
[all …]
H A Ddsl_destroy.c9 * or https://opensource.org/licenses/CDDL-1.0.
57 if (!ds->ds_is_snapshot) in dsl_destroy_snapshot_check_impl()
68 if (spa_version(ds->ds_dir->dd_pool->dp_spa) < in dsl_destroy_snapshot_check_impl()
78 if (ds->ds_userrefs > 0) in dsl_destroy_snapshot_check_impl()
84 if (dsl_dataset_phys(ds)->ds_num_children > 1) in dsl_destroy_snapshot_check_impl()
94 const char *dsname = ddsa->ddsa_name; in dsl_destroy_snapshot_check()
95 boolean_t defer = ddsa->ddsa_defer; in dsl_destroy_snapshot_check()
105 * dsl_destroy_snapshot_sync() will be a no-op in dsl_destroy_snapshot_check()
131 dsl_pool_t *dp = poa->ds->ds_dir->dd_pool; in process_old_cb()
136 dsl_dataset_phys(poa->ds)->ds_prev_snap_txg) { in process_old_cb()
[all …]
H A Ddmu_object.c9 * or https://opensource.org/licenses/CDDL-1.0.
53 (DMU_META_DNODE(os)->dn_indblkshift - SPA_BLKPTRSHIFT); in dmu_object_alloc_impl()
61 cpuobj = &os->os_obj_next_percpu[CPU_SEQID_UNSTABLE % in dmu_object_alloc_impl()
62 os->os_obj_next_percpu_len]; in dmu_object_alloc_impl()
72 * The "chunk" of dnodes that is assigned to a CPU-specific in dmu_object_alloc_impl()
103 (P2PHASE(object + dn_slots - 1, dnodes_per_chunk) < in dmu_object_alloc_impl()
106 mutex_enter(&os->os_obj_lock); in dmu_object_alloc_impl()
107 ASSERT0(P2PHASE(os->os_obj_next_chunk, in dmu_object_alloc_impl()
109 object = os->os_obj_next_chunk; in dmu_object_alloc_impl()
142 if (os->os_rescan_dnodes) { in dmu_object_alloc_impl()
[all …]
H A Dspa_checkpoint.c9 * or https://opensource.org/licenses/CDDL-1.0.
29 * A storage pool checkpoint can be thought of as a pool-wide snapshot or
35 * zpool on-disk features. If a pool has a checkpoint that is no longer
40 * - The pool has a new feature flag and a new entry in the MOS. The feature
42 * until the checkpoint is fully discarded. The entry in the MOS config
48 * - Each vdev contains a vdev-wide space map while the pool has a checkpoint,
54 * - Each metaslab's ms_sm space map behaves the same as without the
60 * - Each uberblock has a field (ub_checkpoint_txg) which holds the txg that
65 * - To create a checkpoint, we first wait for the current TXG to be synced,
68 * uberblock in MOS config, increment the feature flag for the checkpoint
[all …]
H A Ddsl_bookmark.c55 (void) strlcpy(buf, fullname, hashp - fullname + 1); in dsl_bookmark_hold_ds()
71 objset_t *mos = ds->ds_dir->dd_pool->dp_meta_objset; in dsl_bookmark_lookup_impl() local
72 uint64_t bmark_zapobj = ds->ds_bookmarks_obj; in dsl_bookmark_lookup_impl()
79 if (dsl_dataset_phys(ds)->ds_flags & DS_FLAG_CI_DATASET) in dsl_bookmark_lookup_impl()
88 err = zap_lookup_norm(mos, bmark_zapobj, shortname, sizeof (uint64_t), in dsl_bookmark_lookup_impl()
96 * If later_ds is non-NULL, this will return EXDEV if the specified bookmark
117 if (!dsl_dataset_is_before(later_ds, ds, bmp->zbm_creation_txg)) in dsl_bookmark_lookup()
126 * - bmark is a full dataset path of a bookmark (bookmark_namecheck)
127 * - source is a full path of a snapshot or bookmark
130 * Returns 0 if valid, -1 otherwise.
[all …]
H A Ddsl_dir.c9 * 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 Ddsl_pool.c9 * or https://opensource.org/licenses/CDDL-1.0.
56 * ------------------
61 * for short periods and would lead to highly lumpy performance. On a per-pool
77 * As buffers are modified dsl_pool_willuse_space() increments both the per-
81 * relevant, the per-txg value is useful for debugging. The tunable
154 * that are pre-populated when the taskq is first created (via the
156 * taskq entries that are cached after an on-demand allocation (via the
160 * already be a taskq entry pre-allocated by the time that it is needed
162 * on-demand allocation of a new taskq entry from failing, which would
179 err = zap_lookup(dp->dp_meta_objset, in dsl_pool_open_special_dir()
[all …]
H A Ddsl_dataset.c9 * or https://opensource.org/licenses/CDDL-1.0.
125 if (ds->ds_reserved == 0) in parent_delta()
129 old_bytes = MAX(ds_phys->ds_unique_bytes, ds->ds_reserved); in parent_delta()
130 new_bytes = MAX(ds_phys->ds_unique_bytes + delta, ds->ds_reserved); in parent_delta()
132 ASSERT3U(ABS((int64_t)(new_bytes - old_bytes)), <=, ABS(delta)); in parent_delta()
133 return (new_bytes - old_bytes); in parent_delta()
139 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in dsl_dataset_block_born()
155 dsl_pool_mos_diduse_space(tx->tx_pool, in dsl_dataset_block_born()
161 dsl_dataset_phys(ds)->ds_prev_snap_txg); in dsl_dataset_block_born()
162 dmu_buf_will_dirty(ds->ds_dbuf, tx); in dsl_dataset_block_born()
[all …]
H A Dspa.c9 * or https://opensource.org/licenses/CDDL-1.0.
43 * This file contains all the routines used when modifying on-disk SPA state.
113 * moves it to some Illumos-specific place, or removes it entirely.
119 * prevent CPU-intensive kernel threads from affecting latency on interactive
140 #define ZTI_P(n, q) { ZTI_MODE_FIXED, (n), (q) } argument
141 #define ZTI_PCT(n) { ZTI_MODE_ONLINE_PERCENT, (n), 1 } argument
146 #define ZTI_N(n) ZTI_P(n, 1) argument
166 * are so high frequency and short-lived that the taskq itself can become a
168 * additional degree of parallelism specified by the number of threads per-
221 * This is used by zdb to analyze non-idle pools.
[all …]
H A Dvdev.c9 * or https://opensource.org/licenses/CDDL-1.0.
67 * One metaslab from each (normal-class) vdev is used by the ZIL. These are
87 /* default target for number of metaslabs per top-level vdev */
90 /* minimum number of metaslabs per top-level vdev */
93 /* practical upper limit of total metaslabs per top-level vdev */
137 * vdev-wide space maps that have lots of entries written to them at
145 * will cause pool corruption on power loss if a volatile out-of-order
182 if (vd->vdev_path != NULL) { in vdev_dbgmsg()
183 zfs_dbgmsg("%s vdev '%s': %s", vd->vdev_ops->vdev_op_type, in vdev_dbgmsg()
184 vd->vdev_path, buf); in vdev_dbgmsg()
[all …]
H A Ddmu_redact.c9 * or https://opensource.org/licenses/CDDL-1.0.
143 if (new->eos_marker) { in record_merge_enqueue()
154 if ((curbuild->end_object == new->start_object && in record_merge_enqueue()
155 curbuild->end_blkid + 1 == new->start_blkid && in record_merge_enqueue()
156 curbuild->end_blkid != UINT64_MAX) || in record_merge_enqueue()
157 (curbuild->end_object + 1 == new->start_object && in record_merge_enqueue()
158 curbuild->end_blkid == UINT64_MAX && new->start_blkid == 0)) { in record_merge_enqueue()
159 curbuild->end_object = new->end_object; in record_merge_enqueue()
160 curbuild->end_blkid = new->end_blkid; in record_merge_enqueue()
178 if (obj1->obj < obj2->obj) in objnode_compare()
[all …]
H A Ddmu_recv.c9 * or https://opensource.org/licenses/CDDL-1.0.
154 #define DO64(X) (drr->drr_u.X = BSWAP_64(drr->drr_u.X)) in byteswap_record()
155 #define DO32(X) (drr->drr_u.X = BSWAP_32(drr->drr_u.X)) in byteswap_record()
156 drr->drr_type = BSWAP_32(drr->drr_type); in byteswap_record()
157 drr->drr_payloadlen = BSWAP_32(drr->drr_payloadlen); in byteswap_record()
159 switch (drr->drr_type) { in byteswap_record()
190 ZIO_CHECKSUM_BSWAP(&drr->drr_u.drr_write.drr_key.ddk_cksum); in byteswap_record()
228 ZIO_CHECKSUM_BSWAP(&drr->drr_u.drr_end.drr_checksum); in byteswap_record()
234 if (drr->drr_type != DRR_BEGIN) { in byteswap_record()
235 ZIO_CHECKSUM_BSWAP(&drr->drr_u.drr_checksum.drr_checksum); 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
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 …]
H A Dimport_rewind_device_replaced.ksh1 #!/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 …]
/freebsd/usr.sbin/makefs/
H A Dzfs.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
84 { '\0', "bootfs", &zfs->bootfs, OPT_STRPTR, in zfs_prep_opts()
86 { '\0', "mssize", &zfs->mssize, OPT_INT64, in zfs_prep_opts()
88 { '\0', "poolname", &zfs->poolname, OPT_STRPTR, in zfs_prep_opts()
90 { '\0', "rootpath", &zfs->rootpath, OPT_STRPTR, in zfs_prep_opts()
92 { '\0', "ashift", &zfs->ashift, OPT_INT32, in zfs_prep_opts()
94 { '\0', "verify-txgs", &zfs->verify_txgs, OPT_BOOL, in zfs_prep_opts()
96 { '\0', "nowarn", &zfs->nowarn, OPT_BOOL, in zfs_prep_opts()
101 STAILQ_INIT(&zfs->datasetdescs); 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/dev/usb/net/
H A Dif_mos.c1 /*-
2 * SPDX-License-Identifier: (BSD-1-Clause AND BSD-4-Clause)
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/sys/contrib/openzfs/cmd/
H A Dzhack.c9 * or https://opensource.org/licenses/CDDL-1.0.
71 "Usage: zhack [-c cachefile] [-d dir] <subcommand> <args> ...\n" in usage()
72 "where <subcommand> <args> is one of the following:\n" in usage()
73 "\n"); in usage()
76 " feature stat <pool>\n" in usage()
77 " print information about enabled features\n" in usage()
78 " feature enable [-r] [-d desc] <pool> <feature>\n" in usage()
79 " add a new enabled feature to the pool\n" in usage()
80 " -d <desc> sets the feature's description\n" in usage()
81 " -r set read-only compatible flag for feature\n" in usage()
[all …]
/freebsd/usr.sbin/makefs/zfs/
H A Dvdev.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
42 #pragma GCC diagnostic ignored "-Wunused-function"
70 memcpy(&bp->blk_cksum, cksum, sizeof(*cksum)); in blkptr_set()
84 ssize_t n; in vdev_pwrite() local
86 assert(off >= 0 && off < zfs->asize); in vdev_pwrite()
89 off + (off_t)len < zfs->asize); in vdev_pwrite()
90 if (zfs->spacemap != NULL) { in vdev_pwrite()
94 * The space map isn't available once the on-disk space map is in vdev_pwrite()
97 assert(bit_ntest(zfs->spacemap, off >> zfs->ashift, in vdev_pwrite()
[all …]
/freebsd/sys/contrib/openzfs/cmd/zinject/
H A Dzinject.c9 * or https://opensource.org/licenses/CDDL-1.0.
25 * Copyright (c) 2023-2025, 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/cmd/zdb/
H A Dzdb.c9 * 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, &current, &where); in sublivelist_verify_blkptr()
197 zfs_btree_add(&sv->sv_pair, &current); 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/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/sys/contrib/openzfs/include/sys/
H A Dvdev_impl.h9 * or https://opensource.org/licenses/CDDL-1.0.
152 uint32_t vq_nia_credit; /* Non-interactive I/Os credit. */
169 * On-disk indirect vdev state.
171 * An indirect vdev is described exclusively in the MOS config of a pool.
177 * Object (in MOS) which contains the indirect mapping. This object
189 * Object (in MOS) which contains the birth times for the mapping
235 * requests may be inflated or incur device level read-modify-write
245 void *vdev_tsd; /* type-specific data */
246 vdev_t *vdev_top; /* top-level vdev */
260 uint64_t vdev_crtxg; /* txg when top-level was added */
[all …]
/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/share/misc/
H A Diso6392 # ISO 639-2 language codes
4 # From http://www.loc.gov/standards/iso639-2/ :
6 # The Library of Congress has been designated the ISO 639-2/RA for the
7 # purpose of processing requests for alpha-3 language codes comprising the
9 # languages -- Part 2: alpha-3 code. The ISO 639-2/RA receives and reviews
16 # This is the official site of the ISO 639-2 Registration Authority and thus
18 # 639-2 please contact us at:
22 # Washington, DC 20540-4402
23 # E-mail: iso639-2@loc.gov
30 # Download the file http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt
[all …]

1234