summaryrefslogtreecommitdiff
path: root/sys/dev/xen
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/xen')
-rw-r--r--sys/dev/xen/balloon/balloon.c2
-rw-r--r--sys/dev/xen/blkback/blkback.c14
-rw-r--r--sys/dev/xen/blkfront/blkfront.c4
-rw-r--r--sys/dev/xen/blkfront/block.h2
-rw-r--r--sys/dev/xen/control/control.c2
-rw-r--r--sys/dev/xen/netback/netback.c4
-rw-r--r--sys/dev/xen/netback/netback_unit_tests.c2
-rw-r--r--sys/dev/xen/xenstore/xenstore.c4
-rw-r--r--sys/dev/xen/xenstore/xenstore_dev.c2
9 files changed, 18 insertions, 18 deletions
diff --git a/sys/dev/xen/balloon/balloon.c b/sys/dev/xen/balloon/balloon.c
index e54e39cb8b47..aefa5cdb9250 100644
--- a/sys/dev/xen/balloon/balloon.c
+++ b/sys/dev/xen/balloon/balloon.c
@@ -353,7 +353,7 @@ xenballoon_identify(driver_t *driver __unused, device_t parent)
}
/**
- * \brief Probe for the existance of the Xen Balloon device
+ * \brief Probe for the existence of the Xen Balloon device
*
* \param dev NewBus device_t for this Xen control instance.
*
diff --git a/sys/dev/xen/blkback/blkback.c b/sys/dev/xen/blkback/blkback.c
index a97314be4b2a..97068a137c36 100644
--- a/sys/dev/xen/blkback/blkback.c
+++ b/sys/dev/xen/blkback/blkback.c
@@ -619,7 +619,7 @@ struct xbb_softc {
* There are situations where the back and front ends can
* have a different, native abi (e.g. intel x86_64 and
* 32bit x86 domains on the same machine). The back-end
- * always accomodates the front-end's native abi. That
+ * always accommodates the front-end's native abi. That
* value is pulled from the XenStore and recorded here.
*/
int abi;
@@ -788,13 +788,13 @@ struct xbb_softc {
/** Number of requests we completed with an error status*/
uint64_t reqs_completed_with_error;
- /** How many forced dispatches (i.e. without coalescing) have happend */
+ /** How many forced dispatches (i.e. without coalescing) have happened */
uint64_t forced_dispatch;
- /** How many normal dispatches have happend */
+ /** How many normal dispatches have happened */
uint64_t normal_dispatch;
- /** How many total dispatches have happend */
+ /** How many total dispatches have happened */
uint64_t total_dispatch;
/** How many times we have run out of KVA */
@@ -1957,7 +1957,7 @@ xbb_run_queue(void *context, int pending)
* we've already consumed all necessary data out
* of the version of the request in the ring buffer
* (for native mode). We must update the consumer
- * index before issueing back-end I/O so there is
+ * index before issuing back-end I/O so there is
* no possibility that it will complete and a
* response be generated before we make room in
* the queue for that response.
@@ -3062,7 +3062,7 @@ xbb_collect_frontend_info(struct xbb_softc *xbb)
* and the new value is outside of its allowed range.
*
* \note xs_gather() returns on the first encountered error, so
- * we must use independant calls in order to guarantee
+ * we must use independent calls in order to guarantee
* we don't miss information in a sparsly populated front-end
* tree.
*
@@ -3739,7 +3739,7 @@ xbb_attach(device_t dev)
*
* \note A block back device may be detached at any time in its life-cycle,
* including part way through the attach process. For this reason,
- * initialization order and the intialization state checks in this
+ * initialization order and the initialization state checks in this
* routine must be carefully coupled so that attach time failures
* are gracefully handled.
*/
diff --git a/sys/dev/xen/blkfront/blkfront.c b/sys/dev/xen/blkfront/blkfront.c
index ef36b94cf7e6..4de58840341a 100644
--- a/sys/dev/xen/blkfront/blkfront.c
+++ b/sys/dev/xen/blkfront/blkfront.c
@@ -571,7 +571,7 @@ xbd_quiesce(struct xbd_softc *sc)
while (xbd_queue_length(sc, XBD_Q_BUSY) != 0) {
RING_FINAL_CHECK_FOR_RESPONSES(&sc->xbd_ring, mtd);
if (mtd) {
- /* Recieved request completions, update queue. */
+ /* Received request completions, update queue. */
xbd_int(sc);
}
if (xbd_queue_length(sc, XBD_Q_BUSY) != 0) {
@@ -1118,7 +1118,7 @@ xbd_initialize(struct xbd_softc *sc)
* Protocol negotiation.
*
* \note xs_gather() returns on the first encountered error, so
- * we must use independant calls in order to guarantee
+ * we must use independent calls in order to guarantee
* we don't miss information in a sparsly populated back-end
* tree.
*
diff --git a/sys/dev/xen/blkfront/block.h b/sys/dev/xen/blkfront/block.h
index ddb4088b19db..b48139659b51 100644
--- a/sys/dev/xen/blkfront/block.h
+++ b/sys/dev/xen/blkfront/block.h
@@ -160,7 +160,7 @@ typedef enum {
XBDF_CM_SHORTAGE = 1 << 4, /* Free cm resource shortage active. */
XBDF_GNT_SHORTAGE = 1 << 5, /* Grant ref resource shortage active */
XBDF_WAIT_IDLE = 1 << 6, /*
- * No new work until oustanding work
+ * No new work until outstanding work
* completes.
*/
XBDF_DISCARD = 1 << 7, /* backend supports discard */
diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c
index 5e00bebfeb57..8cf59694d1c7 100644
--- a/sys/dev/xen/control/control.c
+++ b/sys/dev/xen/control/control.c
@@ -368,7 +368,7 @@ xctrl_identify(driver_t *driver __unused, device_t parent)
}
/**
- * \brief Probe for the existance of the Xen Control device
+ * \brief Probe for the existence of the Xen Control device
*
* \param dev NewBus device_t for this Xen control instance.
*
diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c
index 4b4fdb92bf15..aa5ce6e719b1 100644
--- a/sys/dev/xen/netback/netback.c
+++ b/sys/dev/xen/netback/netback.c
@@ -416,7 +416,7 @@ struct xnb_softc {
* There are situations where the back and front ends can
* have a different, native abi (e.g. intel x86_64 and
* 32bit x86 domains on the same machine). The back-end
- * always accomodates the front-end's native abi. That
+ * always accommodates the front-end's native abi. That
* value is pulled from the XenStore and recorded here.
*/
int abi;
@@ -1327,7 +1327,7 @@ xnb_attach(device_t dev)
*
* \note A net back device may be detached at any time in its life-cycle,
* including part way through the attach process. For this reason,
- * initialization order and the intialization state checks in this
+ * initialization order and the initialization state checks in this
* routine must be carefully coupled so that attach time failures
* are gracefully handled.
*/
diff --git a/sys/dev/xen/netback/netback_unit_tests.c b/sys/dev/xen/netback/netback_unit_tests.c
index 390f9f782f86..db94217993fb 100644
--- a/sys/dev/xen/netback/netback_unit_tests.c
+++ b/sys/dev/xen/netback/netback_unit_tests.c
@@ -98,7 +98,7 @@ struct test_fixture {
/** Will be run if setup succeeds */
testcase_t *test;
- /** Cleans up test data whether or not the setup suceeded*/
+ /** Cleans up test data whether or not the setup succeeded */
teardown_t *teardown;
};
diff --git a/sys/dev/xen/xenstore/xenstore.c b/sys/dev/xen/xenstore/xenstore.c
index f3df97dbed6b..4f89b7457d0e 100644
--- a/sys/dev/xen/xenstore/xenstore.c
+++ b/sys/dev/xen/xenstore/xenstore.c
@@ -79,7 +79,7 @@ __FBSDID("$FreeBSD$");
*
* The XenStore is ASCII string based, and has a structure and semantics
* similar to a filesystem. There are files and directories, the directories
- * able to contain files or other directories. The depth of the hierachy
+ * able to contain files or other directories. The depth of the hierarchy
* is only limited by the XenStore's maximum path length.
*
* The communication channel between the XenStore service and other
@@ -1110,7 +1110,7 @@ xs_identify(driver_t *driver, device_t parent)
}
/**
- * Probe for the existance of the XenStore.
+ * Probe for the existence of the XenStore.
*
* \param dev
*/
diff --git a/sys/dev/xen/xenstore/xenstore_dev.c b/sys/dev/xen/xenstore/xenstore_dev.c
index 80396fddd3b4..ce62140cfbb4 100644
--- a/sys/dev/xen/xenstore/xenstore_dev.c
+++ b/sys/dev/xen/xenstore/xenstore_dev.c
@@ -241,7 +241,7 @@ xs_dev_identify(driver_t *driver __unused, device_t parent)
}
/**
- * \brief Probe for the existance of the Xenstore device
+ * \brief Probe for the existence of the Xenstore device
*
* \param dev NewBus device_t for this instance.
*