From 7f417bfac1aab4b654408f2d18141ff253e35c05 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Tue, 3 May 2016 15:14:17 +0000 Subject: sys/sys: minor spelling fixes. While the changes are minor, these headers are very visible. MFC after: 2 weeks --- sys/sys/ata.h | 4 ++-- sys/sys/buf.h | 2 +- sys/sys/buf_ring.h | 4 ++-- sys/sys/iconv.h | 2 +- sys/sys/imgact_binmisc.h | 2 +- sys/sys/imgact_elf.h | 2 +- sys/sys/ipc.h | 2 +- sys/sys/ipmi.h | 2 +- sys/sys/linker.h | 2 +- sys/sys/memrange.h | 2 +- sys/sys/pmc.h | 4 ++-- sys/sys/priority.h | 2 +- sys/sys/priv.h | 2 +- sys/sys/proc.h | 2 +- sys/sys/procctl.h | 2 +- sys/sys/shm.h | 2 +- sys/sys/sockio.h | 2 +- sys/sys/soundcard.h | 4 ++-- sys/sys/sx.h | 2 +- sys/sys/sysctl.h | 4 ++-- sys/sys/timex.h | 2 +- sys/sys/user.h | 2 +- 22 files changed, 27 insertions(+), 27 deletions(-) (limited to 'sys/sys') diff --git a/sys/sys/ata.h b/sys/sys/ata.h index 5df610e0da09..672ee4144825 100644 --- a/sys/sys/ata.h +++ b/sys/sys/ata.h @@ -377,10 +377,10 @@ struct ata_params { #define ATA_NCQ_NON_DATA 0x63 /* NCQ non-data command */ #define ATA_SEND_FPDMA_QUEUED 0x64 /* send DMA NCQ */ #define ATA_SFPDMA_DSM 0x00 /* Data set management */ -#define ATA_SFPDMA_DSM_TRIM 0x01 /* Set trim bit in auxilary */ +#define ATA_SFPDMA_DSM_TRIM 0x01 /* Set trim bit in auxiliary */ #define ATA_SFPDMA_HYBRID_EVICT 0x01 /* Hybrid Evict */ #define ATA_SFPDMA_WLDMA 0x02 /* Write Log DMA EXT */ -#define ATA_RECV_FPDMA_QUEUED 0x65 /* recieve DMA NCQ */ +#define ATA_RECV_FPDMA_QUEUED 0x65 /* receive DMA NCQ */ #define ATA_SEP_ATTN 0x67 /* SEP request */ #define ATA_SEEK 0x70 /* seek */ #define ATA_PACKET_CMD 0xa0 /* packet command */ diff --git a/sys/sys/buf.h b/sys/sys/buf.h index 77343e7cc4ff..cec28f47cc9c 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -206,7 +206,7 @@ struct buf { #define B_NOREUSE 0x00000800 /* Contents not reused once released. */ #define B_00001000 0x00001000 /* Available flag. */ #define B_INVAL 0x00002000 /* Does not contain valid info. */ -#define B_BARRIER 0x00004000 /* Write this and all preceeding first. */ +#define B_BARRIER 0x00004000 /* Write this and all preceding first. */ #define B_NOCACHE 0x00008000 /* Do not cache block after use. */ #define B_MALLOC 0x00010000 /* malloced b_data */ #define B_CLUSTEROK 0x00020000 /* Pagein op, so swap() can count it. */ diff --git a/sys/sys/buf_ring.h b/sys/sys/buf_ring.h index 6a6bfc4d083e..c771fe0e926b 100644 --- a/sys/sys/buf_ring.h +++ b/sys/sys/buf_ring.h @@ -98,7 +98,7 @@ buf_ring_enqueue(struct buf_ring *br, void *buf) /* * If there are other enqueues in progress - * that preceeded us, we need to wait for them + * that preceded us, we need to wait for them * to complete */ while (br->br_prod_tail != prod_head) @@ -135,7 +135,7 @@ buf_ring_dequeue_mc(struct buf_ring *br) #endif /* * If there are other dequeues in progress - * that preceeded us, we need to wait for them + * that preceded us, we need to wait for them * to complete */ while (br->br_cons_tail != cons_head) diff --git a/sys/sys/iconv.h b/sys/sys/iconv.h index 5e59795b6c71..44a03e96144c 100644 --- a/sys/sys/iconv.h +++ b/sys/sys/iconv.h @@ -65,7 +65,7 @@ struct iconv_cspair_info { }; /* - * Paramters for 'add' sysctl + * Parameters for 'add' sysctl */ #define ICONV_ADD_VER 1 diff --git a/sys/sys/imgact_binmisc.h b/sys/sys/imgact_binmisc.h index f1ed1d843421..ea1b601d78eb 100644 --- a/sys/sys/imgact_binmisc.h +++ b/sys/sys/imgact_binmisc.h @@ -41,7 +41,7 @@ #define IBE_NAME_MAX 32 /* Max size for entry name. */ #define IBE_MAGIC_MAX 256 /* Max size for header magic and mask. */ #define IBE_ARG_LEN_MAX 256 /* Max space for optional interpreter command- - line argruments seperated by white space */ + line argruments separated by white space */ #define IBE_INTERP_LEN_MAX (MAXPATHLEN + IBE_ARG_LEN_MAX) #define IBE_MAX_ENTRIES 64 /* Max number of interpreter entries. */ diff --git a/sys/sys/imgact_elf.h b/sys/sys/imgact_elf.h index 9b470426afb5..beb5f96fc030 100644 --- a/sys/sys/imgact_elf.h +++ b/sys/sys/imgact_elf.h @@ -41,7 +41,7 @@ struct image_params; struct thread; /* - * Structure used to pass infomation from the loader to the + * Structure used to pass information from the loader to the * stack fixup routine. */ typedef struct { diff --git a/sys/sys/ipc.h b/sys/sys/ipc.h index e643d485efb6..19f1d39b603e 100644 --- a/sys/sys/ipc.h +++ b/sys/sys/ipc.h @@ -112,7 +112,7 @@ struct ipc_perm { #define IPC_STAT 2 /* get options */ #if __BSD_VISIBLE /* - * For Linux compatability. + * For Linux compatibility. */ #define IPC_INFO 3 /* get info */ #endif diff --git a/sys/sys/ipmi.h b/sys/sys/ipmi.h index 578d78c8188e..b8e318a921bc 100644 --- a/sys/sys/ipmi.h +++ b/sys/sys/ipmi.h @@ -122,7 +122,7 @@ struct ipmi_ipmb_addr { }; #if defined(__amd64__) -/* Compatiblity with 32-bit binaries. */ +/* Compatibility with 32-bit binaries. */ #define IPMICTL_RECEIVE_MSG_TRUNC_32 _IOWR(IPMI_IOC_MAGIC, 11, struct ipmi_recv32) #define IPMICTL_RECEIVE_MSG_32 _IOWR(IPMI_IOC_MAGIC, 12, struct ipmi_recv32) diff --git a/sys/sys/linker.h b/sys/sys/linker.h index 5248bfb459e9..42253a7758ab 100644 --- a/sys/sys/linker.h +++ b/sys/sys/linker.h @@ -160,7 +160,7 @@ int linker_file_function_listall(linker_file_t, linker_function_nameval_callback_t, void *); /* - * Functions soley for use by the linker class handlers. + * Functions solely for use by the linker class handlers. */ int linker_add_class(linker_class_t _cls); int linker_file_unload(linker_file_t _file, int flags); diff --git a/sys/sys/memrange.h b/sys/sys/memrange.h index 32ae238517e1..6d6ff0ecc9c6 100644 --- a/sys/sys/memrange.h +++ b/sys/sys/memrange.h @@ -1,5 +1,5 @@ /* - * Memory range attribute operations, peformed on /dev/mem + * Memory range attribute operations, performed on /dev/mem * * $FreeBSD$ */ diff --git a/sys/sys/pmc.h b/sys/sys/pmc.h index e559b7649db9..a03e50718ae8 100644 --- a/sys/sys/pmc.h +++ b/sys/sys/pmc.h @@ -283,7 +283,7 @@ enum pmc_disp { __PMC_CAP(THRESHOLD, 4, "ignore events below a threshold") \ __PMC_CAP(READ, 5, "read PMC counter") \ __PMC_CAP(WRITE, 6, "reprogram PMC counter") \ - __PMC_CAP(INVERT, 7, "invert comparision sense") \ + __PMC_CAP(INVERT, 7, "invert comparison sense") \ __PMC_CAP(QUALIFIER, 8, "further qualify monitored events") \ __PMC_CAP(PRECISE, 9, "perform precise sampling") \ __PMC_CAP(TAGGING, 10, "tag upstream events") \ @@ -587,7 +587,7 @@ struct pmc_op_writelog { /* * OP GETMSR * - * Retrieve the machine specific address assoicated with the allocated + * Retrieve the machine specific address associated with the allocated * PMC. This number can be used subsequently with a read-performance-counter * instruction. */ diff --git a/sys/sys/priority.h b/sys/sys/priority.h index 6548a35c9526..a2cd3b7248e2 100644 --- a/sys/sys/priority.h +++ b/sys/sys/priority.h @@ -126,7 +126,7 @@ struct priority { u_char pri_class; /* Scheduling class. */ u_char pri_level; /* Normal priority level. */ - u_char pri_native; /* Priority before propogation. */ + u_char pri_native; /* Priority before propagation. */ u_char pri_user; /* User priority based on p_cpu and p_nice. */ }; diff --git a/sys/sys/priv.h b/sys/sys/priv.h index 981538b04aa4..b1eaeceb1113 100644 --- a/sys/sys/priv.h +++ b/sys/sys/priv.h @@ -134,7 +134,7 @@ #define PRIV_JAIL_REMOVE 112 /* Remove a jail. */ /* - * Kernel environment priveleges. + * Kernel environment privileges. */ #define PRIV_KENV_SET 120 /* Set kernel env. variables. */ #define PRIV_KENV_UNSET 121 /* Unset kernel env. variables. */ diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 16c739e0634e..35303fc74f9c 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -426,7 +426,7 @@ do { \ #define TDP_BUFNEED 0x00000008 /* Do not recurse into the buf flush */ #define TDP_COWINPROGRESS 0x00000010 /* Snapshot copy-on-write in progress. */ #define TDP_ALTSTACK 0x00000020 /* Have alternate signal stack. */ -#define TDP_DEADLKTREAT 0x00000040 /* Lock aquisition - deadlock treatment. */ +#define TDP_DEADLKTREAT 0x00000040 /* Lock acquisition - deadlock treatment. */ #define TDP_NOFAULTING 0x00000080 /* Do not handle page faults. */ #define TDP_UNUSED9 0x00000100 /* --available-- */ #define TDP_OWEUPC 0x00000200 /* Call addupc() at next AST. */ diff --git a/sys/sys/procctl.h b/sys/sys/procctl.h index 75dbf537cc17..c6f1e94eb5b7 100644 --- a/sys/sys/procctl.h +++ b/sys/sys/procctl.h @@ -88,7 +88,7 @@ struct procctl_reaper_kill { int rk_sig; /* in - signal to send */ u_int rk_flags; /* in - REAPER_KILL flags */ pid_t rk_subtree; /* in - subtree, if REAPER_KILL_SUBTREE */ - u_int rk_killed; /* out - count of processes sucessfully + u_int rk_killed; /* out - count of processes successfully killed */ pid_t rk_fpid; /* out - first failed pid for which error is returned */ diff --git a/sys/sys/shm.h b/sys/sys/shm.h index f685df3fbe76..455e858f353b 100644 --- a/sys/sys/shm.h +++ b/sys/sys/shm.h @@ -56,7 +56,7 @@ #define SHM_LOCK 11 #define SHM_UNLOCK 12 -/* ipcs shmctl commands for Linux compatability */ +/* ipcs shmctl commands for Linux compatibility */ #define SHM_STAT 13 #define SHM_INFO 14 diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h index 73ebf5f1c942..abdf1c372aa0 100644 --- a/sys/sys/sockio.h +++ b/sys/sys/sockio.h @@ -98,7 +98,7 @@ #define SIOCSIFLLADDR _IOW('i', 60, struct ifreq) /* set linklevel addr */ #define SIOCGI2C _IOWR('i', 61, struct ifreq) /* get I2C data */ -#define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif addres */ +#define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif address */ #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) /* get gif psrc addr */ #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */ #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) /* delete gif addrs */ diff --git a/sys/sys/soundcard.h b/sys/sys/soundcard.h index 291628761a69..4867f6c3142f 100644 --- a/sys/sys/soundcard.h +++ b/sys/sys/soundcard.h @@ -185,7 +185,7 @@ struct snd_size { #define AFMT_U24_LE 0x00040000 /* Little endian unsigned 24-bit */ #define AFMT_U24_BE 0x00080000 /* Big endian unsigned 24-bit */ -/* Machine dependant AFMT_* definitions. */ +/* Machine dependent AFMT_* definitions. */ #if BYTE_ORDER == LITTLE_ENDIAN #define AFMT_S16_NE AFMT_S16_LE #define AFMT_S24_NE AFMT_S24_LE @@ -1447,7 +1447,7 @@ void seqbuf_dump(void); /* This function must be provided by programs */ SEQ_CONTROL(dev, voice, CTL_PAN, (pos+128) / 2) /* - * Timing and syncronization macros + * Timing and synchronization macros */ #define _TIMER_EVENT(ev, parm) { \ diff --git a/sys/sys/sx.h b/sys/sys/sx.h index 96a664f35e52..03b51d378033 100644 --- a/sys/sys/sx.h +++ b/sys/sys/sx.h @@ -308,7 +308,7 @@ __sx_sunlock(struct sx *sx, const char *file, int line) #define SA_RECURSED LA_RECURSED #define SA_NOTRECURSED LA_NOTRECURSED -/* Backwards compatability. */ +/* Backwards compatibility. */ #define SX_LOCKED LA_LOCKED #define SX_SLOCKED LA_SLOCKED #define SX_XLOCKED LA_XLOCKED diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index eb5eef0b05b1..4590ef9f86e7 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -608,7 +608,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_entry); __ptr, 0, sysctl_handle_64, "QU", __DESCR(descr)); \ }) -/* Oid for a CPU dependant variable */ +/* Oid for a CPU dependent variable */ #define SYSCTL_ADD_UAUTO(ctx, parent, nbr, name, access, ptr, descr) \ ({ \ struct sysctl_oid *__ret; \ @@ -753,7 +753,7 @@ TAILQ_HEAD(sysctl_ctx_list, sysctl_ctx_entry); }) /* - * A macro to generate a read-only sysctl to indicate the presense of optional + * A macro to generate a read-only sysctl to indicate the presence of optional * kernel features. */ #define FEATURE(name, desc) \ diff --git a/sys/sys/timex.h b/sys/sys/timex.h index 4b75fcc77e62..4fa5735e2d45 100644 --- a/sys/sys/timex.h +++ b/sys/sys/timex.h @@ -105,7 +105,7 @@ #define TIME_INS 1 /* insert leap second warning */ #define TIME_DEL 2 /* delete leap second warning */ #define TIME_OOP 3 /* leap second in progress */ -#define TIME_WAIT 4 /* leap second has occured */ +#define TIME_WAIT 4 /* leap second has occurred */ #define TIME_ERROR 5 /* error (see status word) */ /* diff --git a/sys/sys/user.h b/sys/sys/user.h index fd362c2f7f77..6049e80cf3ae 100644 --- a/sys/sys/user.h +++ b/sys/sys/user.h @@ -296,7 +296,7 @@ struct user { /* * Old format. Has variable hidden padding due to alignment. - * This is a compatability hack for pre-build 7.1 packages. + * This is a compatibility hack for pre-build 7.1 packages. */ #if defined(__amd64__) #define KINFO_OFILE_SIZE 1328 -- cgit v1.2.3