aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/arc_impl.h2
-rw-r--r--include/sys/dnode.h2
-rw-r--r--include/sys/efi_partition.h2
-rw-r--r--include/sys/fs/zfs.h2
-rw-r--r--include/sys/metaslab_impl.h2
-rw-r--r--include/sys/spa_impl.h2
-rw-r--r--include/sys/txg_impl.h2
-rw-r--r--include/sys/xvattr.h4
8 files changed, 9 insertions, 9 deletions
diff --git a/include/sys/arc_impl.h b/include/sys/arc_impl.h
index f5b7cb42a..9aca8e1d2 100644
--- a/include/sys/arc_impl.h
+++ b/include/sys/arc_impl.h
@@ -54,7 +54,7 @@ extern "C" {
* a DVA. These are buffers that hold dirty block copies
* before they are written to stable storage. By definition,
* they are "ref'd" and are considered part of arc_mru
- * that cannot be freed. Generally, they will aquire a DVA
+ * that cannot be freed. Generally, they will acquire a DVA
* as they are written and migrate onto the arc_mru list.
*
* The ARC_l2c_only state is for buffers that are in the second
diff --git a/include/sys/dnode.h b/include/sys/dnode.h
index fe4cd3e4b..9ecb9b64f 100644
--- a/include/sys/dnode.h
+++ b/include/sys/dnode.h
@@ -266,7 +266,7 @@ struct dnode {
* duplicate entries, we order the dbufs by an arbitrary value -
* their address in memory. This means that dn_dbufs cannot be used to
* directly look up a dbuf. Instead, callers must use avl_walk, have
- * a reference to the dbuf, or look up a non-existant node with
+ * a reference to the dbuf, or look up a non-existent node with
* db_state = DB_SEARCH (see dbuf_free_range for an example).
*/
avl_tree_t dn_dbufs;
diff --git a/include/sys/efi_partition.h b/include/sys/efi_partition.h
index b8f332281..684b3e588 100644
--- a/include/sys/efi_partition.h
+++ b/include/sys/efi_partition.h
@@ -272,7 +272,7 @@ typedef struct efi_gpe_Attrs {
#define EFI_FREEDESKTOP_BOOT { 0xbc13c2ff, 0x59e6, 0x4262, 0xa3, 0x52, \
{ 0xb2, 0x75, 0xfd, 0x6f, 0x71, 0x72 } }
-/* minimum # of bytes for partition table entires, per EFI spec */
+/* minimum # of bytes for partition table entries, per EFI spec */
#define EFI_MIN_ARRAY_SIZE (16 * 1024)
#define EFI_PART_NAME_LEN 36
diff --git a/include/sys/fs/zfs.h b/include/sys/fs/zfs.h
index 2a630ec53..45b6d4981 100644
--- a/include/sys/fs/zfs.h
+++ b/include/sys/fs/zfs.h
@@ -894,7 +894,7 @@ typedef struct vdev_stat_ex {
* is passed between kernel and userland as an nvlist uint64 array.
*/
typedef struct ddt_object {
- uint64_t ddo_count; /* number of elments in ddt */
+ uint64_t ddo_count; /* number of elements in ddt */
uint64_t ddo_dspace; /* size of ddt on disk */
uint64_t ddo_mspace; /* size of ddt in-core */
} ddt_object_t;
diff --git a/include/sys/metaslab_impl.h b/include/sys/metaslab_impl.h
index 1c8993aca..080a1db9a 100644
--- a/include/sys/metaslab_impl.h
+++ b/include/sys/metaslab_impl.h
@@ -104,7 +104,7 @@ struct metaslab_class {
/*
* Metaslab groups encapsulate all the allocatable regions (i.e. metaslabs)
- * of a top-level vdev. They are linked togther to form a circular linked
+ * of a top-level vdev. They are linked together to form a circular linked
* list and can belong to only one metaslab class. Metaslab groups may become
* ineligible for allocations for a number of reasons such as limited free
* space, fragmentation, or going offline. When this happens the allocator will
diff --git a/include/sys/spa_impl.h b/include/sys/spa_impl.h
index a1bf14eac..b80764537 100644
--- a/include/sys/spa_impl.h
+++ b/include/sys/spa_impl.h
@@ -270,7 +270,7 @@ struct spa {
uint64_t spa_errata; /* errata issues detected */
spa_stats_t spa_stats; /* assorted spa statistics */
hrtime_t spa_ccw_fail_time; /* Conf cache write fail time */
- taskq_t *spa_zvol_taskq; /* Taskq for minor managment */
+ taskq_t *spa_zvol_taskq; /* Taskq for minor management */
/*
* spa_refcount & spa_config_lock must be the last elements
diff --git a/include/sys/txg_impl.h b/include/sys/txg_impl.h
index e583d61ea..197cf8de7 100644
--- a/include/sys/txg_impl.h
+++ b/include/sys/txg_impl.h
@@ -65,7 +65,7 @@ extern "C" {
* grab all tc_open_locks, increment the tx_open_txg, and drop the locks.
* The tc_open_lock is held until the transaction is assigned into the
* transaction group. Typically, this is a short operation but if throttling
- * is occuring it may be held for longer periods of time.
+ * is occurring it may be held for longer periods of time.
*/
struct tx_cpu {
kmutex_t tc_open_lock; /* protects tx_open_txg */
diff --git a/include/sys/xvattr.h b/include/sys/xvattr.h
index 53945d85b..4779b6321 100644
--- a/include/sys/xvattr.h
+++ b/include/sys/xvattr.h
@@ -73,7 +73,7 @@ typedef struct xoptattr {
* - a 32 bit quantity (xva_mapsize) that specifies the size of the
* attribute bitmaps in 32 bit words.
* - A pointer to the returned attribute bitmap (needed because the
- * previous element, the requested attribute bitmap) is variable lenth.
+ * previous element, the requested attribute bitmap) is variable length.
* - The requested attribute bitmap, which is an array of 32 bit words.
* Callers use the XVA_SET_REQ() macro to set the bits corresponding to
* the attributes that are being requested.
@@ -97,7 +97,7 @@ typedef struct xoptattr {
* attributes to be requested/returned. File systems may or may not support
* optional attributes. They do so at their own discretion but if they do
* support optional attributes, they must register the VFSFT_XVATTR feature
- * so that the optional attributes can be set/retrived.
+ * so that the optional attributes can be set/retrieved.
*
* The fields of the xvattr structure are:
*