mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-08 13:28:05 +00:00
Fix typos - remove duplicate "the".
PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
This commit is contained in:
parent
ade7b47061
commit
6bccea7c2b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=218909
@ -125,7 +125,7 @@ main(int argc, char *argv[])
|
||||
/* FALLTHROUGH */
|
||||
case 'P':
|
||||
/*
|
||||
* POSIX specifically discusses the the behavior of
|
||||
* POSIX specifically discusses the behavior of
|
||||
* both -k and -P. It states that the blocksize should
|
||||
* be set to 1024. Thus, if this occurs, simply break
|
||||
* rather than clobbering the old blocksize.
|
||||
|
@ -959,7 +959,7 @@ varvalue(char *name, int quoted, int subtype, int flag)
|
||||
|
||||
|
||||
/*
|
||||
* Record the the fact that we have to scan this region of the
|
||||
* Record the fact that we have to scan this region of the
|
||||
* string for IFS characters.
|
||||
*/
|
||||
|
||||
|
@ -86,7 +86,7 @@ modf(val, iptr)
|
||||
* If you look at the math involved for a few seconds, it's
|
||||
* plain to see that the integral part is the input, with the
|
||||
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
|
||||
* the the fractional part is the part with the rest of the
|
||||
* the fractional part is the part with the rest of the
|
||||
* bits zeroed. Just zeroing the high bits to get the
|
||||
* fractional part would yield a fraction in need of
|
||||
* normalization. Therefore, we take the easy way out, and
|
||||
|
@ -85,7 +85,7 @@ modf(val, iptr)
|
||||
* If you look at the math involved for a few seconds, it's
|
||||
* plain to see that the integral part is the input, with the
|
||||
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
|
||||
* the the fractional part is the part with the rest of the
|
||||
* the fractional part is the part with the rest of the
|
||||
* bits zeroed. Just zeroing the high bits to get the
|
||||
* fractional part would yield a fraction in need of
|
||||
* normalization. Therefore, we take the easy way out, and
|
||||
|
@ -86,7 +86,7 @@ modf(val, iptr)
|
||||
* If you look at the math involved for a few seconds, it's
|
||||
* plain to see that the integral part is the input, with the
|
||||
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
|
||||
* the the fractional part is the part with the rest of the
|
||||
* the fractional part is the part with the rest of the
|
||||
* bits zeroed. Just zeroing the high bits to get the
|
||||
* fractional part would yield a fraction in need of
|
||||
* normalization. Therefore, we take the easy way out, and
|
||||
|
@ -86,7 +86,7 @@ modf(val, iptr)
|
||||
* If you look at the math involved for a few seconds, it's
|
||||
* plain to see that the integral part is the input, with the
|
||||
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
|
||||
* the the fractional part is the part with the rest of the
|
||||
* the fractional part is the part with the rest of the
|
||||
* bits zeroed. Just zeroing the high bits to get the
|
||||
* fractional part would yield a fraction in need of
|
||||
* normalization. Therefore, we take the easy way out, and
|
||||
|
@ -86,7 +86,7 @@ modf(val, iptr)
|
||||
* If you look at the math involved for a few seconds, it's
|
||||
* plain to see that the integral part is the input, with the
|
||||
* low (DBL_FRACBITS - (exponent - DBL_EXP_BIAS)) bits zeroed,
|
||||
* the the fractional part is the part with the rest of the
|
||||
* the fractional part is the part with the rest of the
|
||||
* bits zeroed. Just zeroing the high bits to get the
|
||||
* fractional part would yield a fraction in need of
|
||||
* normalization. Therefore, we take the easy way out, and
|
||||
|
@ -76,7 +76,7 @@ split_version(const char *pkgname, const char **endname, unsigned long *epoch, u
|
||||
if (pkgname == NULL)
|
||||
errx(2, "%s: Passed NULL pkgname.", __func__);
|
||||
|
||||
/* Look for the last '-' the the pkgname */
|
||||
/* Look for the last '-' the pkgname */
|
||||
ch = strrchr(pkgname, '-');
|
||||
/* Cheat if we are just passed a version, not a valid package name */
|
||||
versionstr = ch ? ch + 1 : pkgname;
|
||||
|
@ -59,7 +59,7 @@ env_getenv(const char *name)
|
||||
* Some notes:
|
||||
*
|
||||
* If the EV_VOLATILE flag is set, a copy of the variable is made.
|
||||
* If EV_DYNAMIC is set, the the variable has been allocated with
|
||||
* If EV_DYNAMIC is set, the variable has been allocated with
|
||||
* malloc and ownership transferred to the environment.
|
||||
* If (value) is NULL, the variable is set but has no value.
|
||||
*/
|
||||
|
@ -94,7 +94,7 @@ cbrt(double x)
|
||||
* 2 23-bit ulps larger). With rounding towards zero, the error bound
|
||||
* would be ~5/6 instead of ~4/6. With a maximum error of 2 23-bit ulps
|
||||
* in the rounded t, the infinite-precision error in the Newton
|
||||
* approximation barely affects third digit in the the final error
|
||||
* approximation barely affects third digit in the final error
|
||||
* 0.667; the error in the rounded t can be up to about 3 23-bit ulps
|
||||
* before the final error is larger than 0.667 ulps.
|
||||
*/
|
||||
|
@ -235,7 +235,7 @@ trap(struct trapframe *frame)
|
||||
* A trap can occur while DTrace executes a probe. Before
|
||||
* executing the probe, DTrace blocks re-scheduling and sets
|
||||
* a flag in it's per-cpu flags to indicate that it doesn't
|
||||
* want to fault. On returning from the the probe, the no-fault
|
||||
* want to fault. On returning from the probe, the no-fault
|
||||
* flag is cleared and finally re-scheduling is enabled.
|
||||
*
|
||||
* If the DTrace kernel module has registered a trap handler,
|
||||
|
@ -139,7 +139,7 @@ iq80321_attach(device_t dev)
|
||||
device_get_name(dev));
|
||||
|
||||
/*
|
||||
* We have mapped the the PCI I/O windows in the early
|
||||
* We have mapped the PCI I/O windows in the early
|
||||
* bootstrap phase.
|
||||
*/
|
||||
sc->sc_iow_vaddr = IQ80321_IOW_VBASE;
|
||||
|
@ -1293,7 +1293,7 @@ static void ifCoIm(FICL_VM *pVM)
|
||||
** compiles an "else"...
|
||||
** 1) Compile a branch and a patch address; the address gets patched
|
||||
** by "endif" to point past the "else" code.
|
||||
** 2) Pop the the "if" patch address
|
||||
** 2) Pop the "if" patch address
|
||||
** 3) Patch the "if" branch to point to the current compile address.
|
||||
** 4) Push the "else" patch address. ("endif" patches this to jump past
|
||||
** the "else" code.
|
||||
|
@ -317,7 +317,7 @@ xpt_schedule_dev_allocq(struct cam_eb *bus, struct cam_ed *dev)
|
||||
CAMQ_GET_PRIO(&dev->drvq))) == 0)) {
|
||||
/*
|
||||
* The priority of a device waiting for CCB resources
|
||||
* is that of the the highest priority peripheral driver
|
||||
* is that of the highest priority peripheral driver
|
||||
* enqueued.
|
||||
*/
|
||||
retval = xpt_schedule_dev(&bus->sim->devq->alloc_queue,
|
||||
@ -340,7 +340,7 @@ xpt_schedule_dev_sendq(struct cam_eb *bus, struct cam_ed *dev)
|
||||
(cam_ccbq_frozen_top(&dev->ccbq) == 0)) {
|
||||
/*
|
||||
* The priority of a device waiting for controller
|
||||
* resources is that of the the highest priority CCB
|
||||
* resources is that of the highest priority CCB
|
||||
* enqueued.
|
||||
*/
|
||||
retval =
|
||||
|
@ -2654,7 +2654,7 @@ sagetparams(struct cam_periph *periph, sa_params params_to_get,
|
||||
struct scsi_dev_conf_page *cp = &ntcs->dconf;
|
||||
/*
|
||||
* We don't really know whether this device supports
|
||||
* Data Compression if the the algorithm field is
|
||||
* Data Compression if the algorithm field is
|
||||
* zero. Just say we do.
|
||||
*/
|
||||
*comp_supported = TRUE;
|
||||
|
@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_int type)
|
||||
* A trap can occur while DTrace executes a probe. Before
|
||||
* executing the probe, DTrace blocks re-scheduling and sets
|
||||
* a flag in it's per-cpu flags to indicate that it doesn't
|
||||
* want to fault. On returning from the the probe, the no-fault
|
||||
* want to fault. On returning from the probe, the no-fault
|
||||
* flag is cleared and finally re-scheduling is enabled.
|
||||
*
|
||||
* Check if DTrace has enabled 'no-fault' mode:
|
||||
|
@ -487,7 +487,7 @@ dtrace_trap(struct trapframe *frame, u_int type)
|
||||
* A trap can occur while DTrace executes a probe. Before
|
||||
* executing the probe, DTrace blocks re-scheduling and sets
|
||||
* a flag in it's per-cpu flags to indicate that it doesn't
|
||||
* want to fault. On returning from the the probe, the no-fault
|
||||
* want to fault. On returning from the probe, the no-fault
|
||||
* flag is cleared and finally re-scheduling is enabled.
|
||||
*
|
||||
* Check if DTrace has enabled 'no-fault' mode:
|
||||
|
@ -3355,7 +3355,7 @@ KeSetEvent(nt_kevent *kevent, uint32_t increment, uint8_t kwait)
|
||||
* setting the state to signalled since we're supposed
|
||||
* to automatically clear synchronization events anyway).
|
||||
*
|
||||
* If it's a notification event, or the the first
|
||||
* If it's a notification event, or the first
|
||||
* waiter is doing a WAITTYPE_ALL wait, go through
|
||||
* the full wait satisfaction process.
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*-
|
||||
* CAM SCSI interface for the the Advanced Systems Inc.
|
||||
* CAM SCSI interface for the Advanced Systems Inc.
|
||||
* Second Generation SCSI controllers.
|
||||
*
|
||||
* Product specific probe and attach routines can be found in:
|
||||
|
@ -103,7 +103,7 @@
|
||||
* The number of dma segments supported. The sequencer can handle any number
|
||||
* of physically contiguous S/G entrys. To reduce the driver's memory
|
||||
* consumption, we limit the number supported to be sufficient to handle
|
||||
* the largest mapping supported by the the legacy kernel MAXPHYS setting of
|
||||
* the largest mapping supported by the legacy kernel MAXPHYS setting of
|
||||
* 128K. This can be increased once some testing is done. Assuming the
|
||||
* transfer is as fragmented as possible and unaligned, this turns out to
|
||||
* be the number of paged sized transfers in MAXPHYS plus an extra element
|
||||
|
@ -115,7 +115,7 @@ extern devclass_t ahc_devclass;
|
||||
* The number of dma segments supported. The sequencer can handle any number
|
||||
* of physically contiguous S/G entrys. To reduce the driver's memory
|
||||
* consumption, we limit the number supported to be sufficient to handle
|
||||
* the largest mapping supported by the the legacy kernel MAXPHYS setting of
|
||||
* the largest mapping supported by the legacy kernel MAXPHYS setting of
|
||||
* 128K. This can be increased once some testing is done. Assuming the
|
||||
* be the number of paged sized transfers in MAXPHYS plus an extra element
|
||||
* to handle any unaligned residual. The sequencer fetches SG elements
|
||||
|
@ -183,7 +183,7 @@ PRAGMA_PACK_PUSH
|
||||
#define I2O_VERSION_OFFSET_SGL_TRL_OFFSET_MASK 0xF0
|
||||
|
||||
/* Defines for the Message Flags Field. */
|
||||
/* Please Note the the FAIL bit is only set in the Transport Fail Message. */
|
||||
/* Please Note the FAIL bit is only set in the Transport Fail Message. */
|
||||
#define I2O_MESSAGE_FLAGS_STATIC 0x01
|
||||
#define I2O_MESSAGE_FLAGS_64BIT_CONTEXT 0x02
|
||||
#define I2O_MESSAGE_FLAGS_MULTIPLE 0x10
|
||||
|
@ -570,7 +570,7 @@ static int locate_eeprom_address( bktr_ptr_t bktr) {
|
||||
*
|
||||
* However some makes of card (eg Hauppauge) come with a configuration eeprom
|
||||
* which tells us the make of the card. Most eeproms also tell us the
|
||||
* tuner type and other features of the the cards.
|
||||
* tuner type and other features of the cards.
|
||||
*
|
||||
* The current probe code works as follows
|
||||
* A) If the card uses a Bt878/879:
|
||||
|
@ -1734,7 +1734,7 @@ ct_board_opt_t ct_board_opt_dflt = {
|
||||
0, /* board control register 2 */
|
||||
{ /* DMA priority control register */
|
||||
PCR_PRIO_ROTATE,
|
||||
0, /* all channels share the the bus hold */
|
||||
0, /* all channels share the bus hold */
|
||||
0, /* hold the bus until all transfers done */
|
||||
},
|
||||
CFG_A, /* E1/G.703 config: two independent channels */
|
||||
|
@ -206,7 +206,7 @@ typedef struct {
|
||||
typedef struct {
|
||||
unsigned prio : 3; /* priority of channels */
|
||||
unsigned noshare : 1; /* 1 - chan holds the bus until end of data */
|
||||
/* 0 - all channels share the the bus hold */
|
||||
/* 0 - all channels share the bus hold */
|
||||
unsigned release : 1; /* 1 - release the bus between transfers */
|
||||
/* 0 - hold the bus until all transfers done */
|
||||
} ct_pcr_t;
|
||||
|
@ -1908,7 +1908,7 @@ cxgb_uninit_synchronized(struct port_info *pi)
|
||||
/*
|
||||
* Clear this port's bit from the open device map, and then drain all
|
||||
* the tasks that can access/manipulate this port's port_info or ifp.
|
||||
* We disable this port's interrupts here and so the the slow/ext
|
||||
* We disable this port's interrupts here and so the slow/ext
|
||||
* interrupt tasks won't be enqueued. The tick task will continue to
|
||||
* be enqueued every second but the runs after this drain will not see
|
||||
* this port in the open device map.
|
||||
@ -2858,7 +2858,7 @@ cxgb_extension_ioctl(struct cdev *dev, unsigned long cmd, caddr_t data,
|
||||
u64 buf[32];
|
||||
|
||||
/*
|
||||
* Use these to avoid modifying len/addr in the the return
|
||||
* Use these to avoid modifying len/addr in the return
|
||||
* struct
|
||||
*/
|
||||
uint32_t len = t->len, addr = t->addr;
|
||||
|
@ -173,7 +173,7 @@ static int mach64_ring_idle(drm_mach64_private_t *dev_priv)
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset the the ring buffer descriptors.
|
||||
* Reset the ring buffer descriptors.
|
||||
*
|
||||
* \sa mach64_do_engine_reset()
|
||||
*/
|
||||
|
@ -353,7 +353,7 @@ __FBSDID("$FreeBSD$");
|
||||
# define R300_PVS_CNTL_1_PROGRAM_START_SHIFT 0
|
||||
# define R300_PVS_CNTL_1_POS_END_SHIFT 10
|
||||
# define R300_PVS_CNTL_1_PROGRAM_END_SHIFT 20
|
||||
/* Addresses are relative the the vertex program parameters area. */
|
||||
/* Addresses are relative the vertex program parameters area. */
|
||||
#define R300_VAP_PVS_CNTL_2 0x22D4
|
||||
# define R300_PVS_CNTL_2_PARAM_OFFSET_SHIFT 0
|
||||
# define R300_PVS_CNTL_2_PARAM_COUNT_SHIFT 16
|
||||
|
@ -1986,7 +1986,7 @@ static s32 e1000_write_phy_reg_82580(struct e1000_hw *hw, u32 offset, u16 data)
|
||||
* e1000_reset_mdicnfg_82580 - Reset MDICNFG destination and com_mdio bits
|
||||
* @hw: pointer to the HW structure
|
||||
*
|
||||
* This resets the the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
|
||||
* This resets the MDICNFG.Destination and MDICNFG.Com_MDIO bits based on
|
||||
* the values found in the EEPROM. This addresses an issue in which these
|
||||
* bits are not restored from EEPROM after reset.
|
||||
**/
|
||||
|
@ -3218,7 +3218,7 @@ static s32 e1000_id_led_init_pchlan(struct e1000_hw *hw)
|
||||
* @hw: pointer to the HW structure
|
||||
*
|
||||
* ICH8 use the PCI Express bus, but does not contain a PCI Express Capability
|
||||
* register, so the the bus width is hard coded.
|
||||
* register, so the bus width is hard coded.
|
||||
**/
|
||||
static s32 e1000_get_bus_info_ich8lan(struct e1000_hw *hw)
|
||||
{
|
||||
|
@ -113,7 +113,7 @@
|
||||
/**************************************************************************
|
||||
* *
|
||||
* These are the registers for the 3Com 3c509 and their bit patterns when *
|
||||
* applicable. They have been taken out the the "EtherLink III Parallel *
|
||||
* applicable. They have been taken out the "EtherLink III Parallel *
|
||||
* Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual *
|
||||
* from 3com. *
|
||||
* *
|
||||
|
@ -1261,7 +1261,7 @@ fdmisccmd(struct fd_data *fd, u_int cmd, void *data)
|
||||
|
||||
/*
|
||||
* Set up a bio request for fdstrategy(). bio_offset is faked
|
||||
* so that fdstrategy() will seek to the the requested
|
||||
* so that fdstrategy() will seek to the requested
|
||||
* cylinder, and use the desired head.
|
||||
*/
|
||||
bp->bio_cmd = cmd;
|
||||
|
@ -325,7 +325,7 @@ ixgb_wait_eeprom_command(struct ixgb_hw *hw)
|
||||
* hw - Struct containing variables accessed by shared code
|
||||
*
|
||||
* Reads the first 64 16 bit words of the EEPROM and sums the values read.
|
||||
* If the the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is
|
||||
* If the sum of the 64 16 bit words is 0xBABA, the EEPROM's checksum is
|
||||
* valid.
|
||||
*
|
||||
* Returns:
|
||||
|
@ -133,7 +133,7 @@ struct malo_hal_hwstats {
|
||||
/*
|
||||
* Set Antenna Configuration (legacy operation).
|
||||
*
|
||||
* The RX antenna can be selected using the the bitmask
|
||||
* The RX antenna can be selected using the bitmask
|
||||
* ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.)
|
||||
* (diversity?XXX)
|
||||
*/
|
||||
|
@ -291,7 +291,7 @@ int mwl_hal_setradio(struct mwl_hal *mh, int onoff, MWL_HAL_PREAMBLE preamble);
|
||||
/*
|
||||
* Set Antenna Configuration (legacy operation).
|
||||
*
|
||||
* The RX antenna can be selected using the the bitmask
|
||||
* The RX antenna can be selected using the bitmask
|
||||
* ant (bit 0 = antenna 1, bit 1 = antenna 2, etc.)
|
||||
* (diversity?XXX)
|
||||
*/
|
||||
|
@ -4418,7 +4418,7 @@ xge_hal_device_status(xge_hal_device_t *hldev, u64 *hw_status)
|
||||
#ifndef XGE_HAL_HERC_EMULATION
|
||||
/*
|
||||
* Andrew: in PCI 33 mode, the P_PLL is not used, and therefore,
|
||||
* the the P_PLL_LOCK bit in the adapter_status register will
|
||||
* the P_PLL_LOCK bit in the adapter_status register will
|
||||
* not be asserted.
|
||||
*/
|
||||
if (!(tmp64 & XGE_HAL_ADAPTER_STATUS_P_PLL_LOCK) &&
|
||||
|
@ -801,7 +801,7 @@ xge_hal_ring_dtr_free(xge_hal_channel_h channelh, xge_hal_dtr_h dtrh)
|
||||
* xge_hal_ring_is_next_dtr_completed - Check if the next dtr is completed
|
||||
* @channelh: Channel handle.
|
||||
*
|
||||
* Checks if the the _next_ completed descriptor is in host memory
|
||||
* Checks if the _next_ completed descriptor is in host memory
|
||||
*
|
||||
* Returns: XGE_HAL_OK - success.
|
||||
* XGE_HAL_INF_NO_MORE_COMPLETED_DESCRIPTORS - No completed descriptors
|
||||
|
@ -347,7 +347,7 @@ random_yarrow_write(void *buf, int count)
|
||||
|
||||
/*
|
||||
* Break the input up into HARVESTSIZE chunks. The writer has too
|
||||
* much control here, so "estimate" the the entropy as zero.
|
||||
* much control here, so "estimate" the entropy as zero.
|
||||
*/
|
||||
for (i = 0; i < count; i += HARVESTSIZE) {
|
||||
chunk = HARVESTSIZE;
|
||||
|
@ -584,7 +584,7 @@ eschan1370_setspeed(kobj_t obj, void *data, uint32_t speed)
|
||||
/*
|
||||
* DAC1 does not support continuous rate settings.
|
||||
* Pick the nearest and use it since FEEDER_RATE will
|
||||
* do the the proper conversion for us.
|
||||
* do the proper conversion for us.
|
||||
*/
|
||||
es->ctrl &= ~CTRL_WTSRSEL;
|
||||
if (speed < 8268) {
|
||||
|
@ -262,7 +262,7 @@ static const struct SYM_FWA_SCR SYM_FWA_SCR = {
|
||||
* The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS
|
||||
* is a critical path. If it is partially executed, it then
|
||||
* may happen that the job address is not yet in the DSA
|
||||
* and the the next queue position points to the next JOB.
|
||||
* and the next queue position points to the next JOB.
|
||||
*/
|
||||
}/*-------------------------< GETJOB_BEGIN >---------------------*/,{
|
||||
/*
|
||||
|
@ -252,7 +252,7 @@ static const struct SYM_FWA_SCR SYM_FWA_SCR = {
|
||||
* The below GETJOB_BEGIN to GETJOB_END section of SCRIPTS
|
||||
* is a critical path. If it is partially executed, it then
|
||||
* may happen that the job address is not yet in the DSA
|
||||
* and the the next queue position points to the next JOB.
|
||||
* and the next queue position points to the next JOB.
|
||||
*/
|
||||
SCR_LOAD_ABS (dsa, 4),
|
||||
PADDR_B (startpos),
|
||||
|
@ -693,7 +693,7 @@ ns8250_bus_probe(struct uart_softc *sc)
|
||||
/*
|
||||
* We should have a sufficiently clean "pipe" to determine the
|
||||
* size of the FIFOs. We send as much characters as is reasonable
|
||||
* and wait for the the overflow bit in the LSR register to be
|
||||
* and wait for the overflow bit in the LSR register to be
|
||||
* asserted, counting the characters as we send them. Based on
|
||||
* that count we know the FIFO size.
|
||||
*/
|
||||
|
@ -462,7 +462,7 @@ usb_proc_drain(struct usb_process *up)
|
||||
/*------------------------------------------------------------------------*
|
||||
* usb_proc_rewakeup
|
||||
*
|
||||
* This function is called to re-wakeup the the given USB
|
||||
* This function is called to re-wakeup the given USB
|
||||
* process. This usually happens after that the USB system has been in
|
||||
* polling mode, like during a panic. This function must be called
|
||||
* having "up->up_mtx" locked.
|
||||
|
@ -112,7 +112,7 @@
|
||||
|
||||
/**************************************************************************
|
||||
* These are the registers for the 3Com 3c509 and their bit patterns when *
|
||||
* applicable. They have been taken out the the "EtherLink III Parallel *
|
||||
* applicable. They have been taken out the "EtherLink III Parallel *
|
||||
* Tasking EISA and ISA Technical Reference" "Beta Draft 10/30/92" manual *
|
||||
* from 3com. *
|
||||
**************************************************************************/
|
||||
|
@ -29,7 +29,7 @@ __FBSDID("$FreeBSD$");
|
||||
* state and told to load boot firmware. The boot firmware loads an init and a
|
||||
* main binary firmware image into SRAM on the card via DMA.
|
||||
* Once the firmware is loaded, the driver/hw then
|
||||
* communicate by way of circular dma rings via the the SRAM to the firmware.
|
||||
* communicate by way of circular dma rings via the SRAM to the firmware.
|
||||
*
|
||||
* There is 6 memory rings. 1 command ring, 1 rx data ring & 4 tx data rings.
|
||||
* The 4 tx data rings allow for prioritization QoS.
|
||||
|
@ -368,7 +368,7 @@ fdesc_open(ap)
|
||||
return (0);
|
||||
|
||||
/*
|
||||
* XXX Kludge: set td->td_proc->p_dupfd to contain the value of the the file
|
||||
* XXX Kludge: set td->td_proc->p_dupfd to contain the value of the file
|
||||
* descriptor being sought for duplication. The error return ensures
|
||||
* that the vnode for this device will be released by vn_open. Open
|
||||
* will detect this special error and take the actions in dupfdopen.
|
||||
|
@ -1530,7 +1530,7 @@ msdosfs_readdir(ap)
|
||||
|
||||
/*
|
||||
* msdosfs_readdir() won't operate properly on regular files since
|
||||
* it does i/o only with the the filesystem vnode, and hence can
|
||||
* it does i/o only with the filesystem vnode, and hence can
|
||||
* retrieve the wrong block from the buffer cache for a plain file.
|
||||
* So, fail attempts to readdir() on a plain file.
|
||||
*/
|
||||
|
@ -109,7 +109,7 @@ g_vfs_strategy(struct bufobj *bo, struct buf *bp)
|
||||
/* G_VALID_CONSUMER(cp); We likely lack topology lock */
|
||||
|
||||
/*
|
||||
* If the the provider has orphaned us, just return EXIO.
|
||||
* If the provider has orphaned us, just return EXIO.
|
||||
*/
|
||||
if (cp->provider == NULL) {
|
||||
bp->b_error = ENXIO;
|
||||
|
@ -591,7 +591,7 @@ g_part_ebr_write(struct g_part_table *basetable, struct g_consumer *cp)
|
||||
while (baseentry != NULL && baseentry->gpe_deleted)
|
||||
baseentry = LIST_NEXT(baseentry, gpe_entry);
|
||||
|
||||
/* Wipe-out the the first EBR when there are no slices. */
|
||||
/* Wipe-out the first EBR when there are no slices. */
|
||||
if (baseentry == NULL) {
|
||||
error = g_write_data(cp, 0, buf, pp->sectorsize);
|
||||
goto out;
|
||||
|
@ -144,7 +144,7 @@ struct g_sched_class {
|
||||
|
||||
/*
|
||||
* Manipulate the classifier's data. g_sched_get_class() gets a reference
|
||||
* to the the class corresponding to bp in gp, allocating and initializing
|
||||
* to the class corresponding to bp in gp, allocating and initializing
|
||||
* it if necessary. g_sched_put_class() releases the reference.
|
||||
* The returned value points to the private data for the class.
|
||||
*/
|
||||
|
@ -2153,7 +2153,7 @@ xfs_dir_leaf_getdents_int(
|
||||
}
|
||||
|
||||
/*
|
||||
* Format a dirent64 structure and copy it out the the user's buffer.
|
||||
* Format a dirent64 structure and copy it out the user's buffer.
|
||||
*/
|
||||
int
|
||||
xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa)
|
||||
@ -2185,7 +2185,7 @@ xfs_dir_put_dirent64_direct(xfs_dir_put_args_t *pa)
|
||||
}
|
||||
|
||||
/*
|
||||
* Format a dirent64 structure and copy it out the the user's buffer.
|
||||
* Format a dirent64 structure and copy it out the user's buffer.
|
||||
*/
|
||||
int
|
||||
xfs_dir_put_dirent64_uio(xfs_dir_put_args_t *pa)
|
||||
|
@ -777,7 +777,7 @@ xfs_inumbers(
|
||||
xfs_buf_relse(agbp);
|
||||
agbp = NULL;
|
||||
/*
|
||||
* Move up the the last inode in the current
|
||||
* Move up the last inode in the current
|
||||
* chunk. The lookup_ge will always get
|
||||
* us the first inode in the next chunk.
|
||||
*/
|
||||
|
@ -255,7 +255,7 @@ trap(struct trapframe *frame)
|
||||
* A trap can occur while DTrace executes a probe. Before
|
||||
* executing the probe, DTrace blocks re-scheduling and sets
|
||||
* a flag in it's per-cpu flags to indicate that it doesn't
|
||||
* want to fault. On returning from the the probe, the no-fault
|
||||
* want to fault. On returning from the probe, the no-fault
|
||||
* flag is cleared and finally re-scheduling is enabled.
|
||||
*
|
||||
* If the DTrace kernel module has registered a trap handler,
|
||||
|
@ -41,7 +41,7 @@
|
||||
*
|
||||
* If a mutex is not provided when the unit number space is created, a
|
||||
* default global mutex is used. The advantage to passing a mutex in, is
|
||||
* that the the alloc_unrl() function can be called with the mutex already
|
||||
* that the alloc_unrl() function can be called with the mutex already
|
||||
* held (it will not be released by alloc_unrl()).
|
||||
*
|
||||
* The allocation function alloc_unr{l}() never sleeps (but it may block on
|
||||
@ -52,7 +52,7 @@
|
||||
*
|
||||
* A userland test program is included.
|
||||
*
|
||||
* Memory usage is a very complex function of the the exact allocation
|
||||
* Memory usage is a very complex function of the exact allocation
|
||||
* pattern, but always very compact:
|
||||
* * For the very typical case where a single unbroken run of unit
|
||||
* numbers are allocated 44 bytes are used on i386.
|
||||
|
@ -1175,7 +1175,7 @@ witness_checkorder(struct lock_object *lock, int flags, const char *file,
|
||||
mtx_assert(&w_mtx, MA_OWNED);
|
||||
|
||||
/*
|
||||
* If we know that the the lock we are acquiring comes after
|
||||
* If we know that the lock we are acquiring comes after
|
||||
* the lock we most recently acquired in the lock order tree,
|
||||
* then there is no need for any further checks.
|
||||
*/
|
||||
|
@ -280,7 +280,7 @@ mb_free_ext(struct mbuf *m)
|
||||
}
|
||||
|
||||
/*
|
||||
* Attach the the cluster from *m to *n, set up m_ext in *n
|
||||
* Attach the cluster from *m to *n, set up m_ext in *n
|
||||
* and bump the refcount of the cluster.
|
||||
*/
|
||||
static void
|
||||
|
@ -2018,7 +2018,7 @@ pmap_enter(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m,
|
||||
pmap_update_page(pmap, va, newpte);
|
||||
|
||||
/*
|
||||
* Sync I & D caches for executable pages. Do this only if the the
|
||||
* Sync I & D caches for executable pages. Do this only if the
|
||||
* target pmap belongs to the current process. Otherwise, an
|
||||
* unresolvable TLB miss may occur.
|
||||
*/
|
||||
@ -2152,7 +2152,7 @@ pmap_enter_quick_locked(pmap_t pmap, vm_offset_t va, vm_page_t m,
|
||||
else {
|
||||
*pte |= PTE_RO;
|
||||
/*
|
||||
* Sync I & D caches. Do this only if the the target pmap
|
||||
* Sync I & D caches. Do this only if the target pmap
|
||||
* belongs to the current process. Otherwise, an
|
||||
* unresolvable TLB miss may occur. */
|
||||
if (pmap == &curproc->p_vmspace->vm_pmap) {
|
||||
|
@ -99,7 +99,7 @@ static int msgring_maxthreads = 3;
|
||||
TUNABLE_INT("hw.fmn.maxthreads", &msgring_maxthreads);
|
||||
|
||||
/*
|
||||
* The device drivers can register a handler for the the messages sent
|
||||
* The device drivers can register a handler for the messages sent
|
||||
* from a station (corresponding to the device).
|
||||
*/
|
||||
struct tx_stn_handler {
|
||||
@ -148,7 +148,7 @@ xlr_msgring_cpu_init(void)
|
||||
* For sending FMN messages, we need credits on the destination
|
||||
* bucket. Program the credits this core has on the 128 possible
|
||||
* destination buckets.
|
||||
* We cannot use a loop here, because the the first argument has
|
||||
* We cannot use a loop here, because the first argument has
|
||||
* to be a constant integer value.
|
||||
*/
|
||||
MSGRNG_CC_INIT_CPU_DEST(0, cc_config->counters);
|
||||
|
@ -110,7 +110,7 @@ zbpci_attach(device_t dev)
|
||||
panic("%s: port_rman", __func__);
|
||||
|
||||
/*
|
||||
* Reserve the the physical memory that is used to read/write to the
|
||||
* Reserve the physical memory that is used to read/write to the
|
||||
* pci config space but don't activate it. We are using a page worth
|
||||
* of KVA as a window over this region.
|
||||
*/
|
||||
|
@ -235,7 +235,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd)
|
||||
/*
|
||||
* If no change, we're done.
|
||||
* XXX Automedia may invole software intervention.
|
||||
* Keep going in case the the connected media changed.
|
||||
* Keep going in case the connected media changed.
|
||||
* Similarly, if best match changed (kernel debugger?).
|
||||
*/
|
||||
if ((IFM_SUBTYPE(newmedia) != IFM_AUTO) &&
|
||||
|
@ -539,7 +539,7 @@ rtredirect_fib(struct sockaddr *dst,
|
||||
goto done;
|
||||
/*
|
||||
* Create a new entry if we just got back a wildcard entry
|
||||
* or the the lookup failed. This is necessary for hosts
|
||||
* or the lookup failed. This is necessary for hosts
|
||||
* which use routing redirects generated by smart gateways
|
||||
* to dynamically build the routing tables.
|
||||
*/
|
||||
|
@ -560,7 +560,7 @@ ng_btsocket_rfcomm_connect(struct socket *so, struct sockaddr *nam,
|
||||
soclose(l2so); /* we don't need new L2CAP socket */
|
||||
|
||||
/*
|
||||
* Check if we already have the same DLCI the the same session
|
||||
* Check if we already have the same DLCI the same session
|
||||
*/
|
||||
|
||||
mtx_lock(&s->session_mtx);
|
||||
|
@ -604,7 +604,7 @@ ng_source_disconnect(hook_p hook)
|
||||
}
|
||||
|
||||
/*
|
||||
* Set sc->output_ifp to point to the the struct ifnet of the interface
|
||||
* Set sc->output_ifp to point to the struct ifnet of the interface
|
||||
* reached via our output hook.
|
||||
*/
|
||||
static int
|
||||
|
@ -810,7 +810,7 @@ in_arpinput(struct mbuf *m)
|
||||
|
||||
/*
|
||||
* Also check that the node which sent the ARP packet
|
||||
* is on the the interface we expect it to be on. This
|
||||
* is on the interface we expect it to be on. This
|
||||
* avoids ARP chaos if an interface is connected to the
|
||||
* wrong network.
|
||||
*/
|
||||
|
@ -1031,7 +1031,7 @@ ip_reass(struct mbuf *m)
|
||||
* segment. If it provides all of our data, drop us, otherwise
|
||||
* stick new segment in the proper place.
|
||||
*
|
||||
* If some of the data is dropped from the the preceding
|
||||
* If some of the data is dropped from the preceding
|
||||
* segment, then it's checksum is invalidated.
|
||||
*/
|
||||
if (p) {
|
||||
|
@ -90,7 +90,7 @@ struct ip_fw_args {
|
||||
/*
|
||||
* On return, it points to the matching rule.
|
||||
* On entry, rule.slot > 0 means the info is valid and
|
||||
* contains the the starting rule for an ipfw search.
|
||||
* contains the starting rule for an ipfw search.
|
||||
* If chain_id == chain->id && slot >0 then jump to that slot.
|
||||
* Otherwise, we locate the first rule >= rulenum:rule_id
|
||||
*/
|
||||
|
@ -1929,7 +1929,7 @@ UP_process(struct libalias *la, int direction, struct sctp_nat_assoc *assoc, str
|
||||
* @brief Process SCTP message while association is in the process of closing
|
||||
*
|
||||
* This function waits for a SHUT-COMP to close the association. Depending on
|
||||
* the the setting of sysctl_holddown_timer it may not remove the association
|
||||
* the setting of sysctl_holddown_timer it may not remove the association
|
||||
* immediately, but leave it up until SN_X_T(la). Only SHUT-COMP, SHUT-ACK, and
|
||||
* ABORT packets are permitted in this state. All other packets are dropped.
|
||||
*
|
||||
|
@ -56,7 +56,7 @@
|
||||
*
|
||||
* It is assumed that individuals deploying TOE will want connections
|
||||
* to be offloaded without software changes so all connections on an
|
||||
* interface providing TOE are offloaded unless the the SO_NO_OFFLOAD
|
||||
* interface providing TOE are offloaded unless the SO_NO_OFFLOAD
|
||||
* flag is set on the socket.
|
||||
*
|
||||
*
|
||||
|
@ -1383,7 +1383,7 @@ tcp_ctlinput(int cmd, struct sockaddr *sa, void *vip)
|
||||
mtu = V_tcp_minmss
|
||||
+ sizeof(struct tcpiphdr);
|
||||
/*
|
||||
* Only cache the the MTU if it
|
||||
* Only cache the MTU if it
|
||||
* is smaller than the interface
|
||||
* or route MTU. tcp_mtudisc()
|
||||
* will do right thing by itself.
|
||||
|
@ -524,7 +524,7 @@ syncache_chkrst(struct in_conninfo *inc, struct tcphdr *th)
|
||||
* used, or we are under memory pressure, a valid RST
|
||||
* may not find a syncache entry. In that case we're
|
||||
* done and no SYN|ACK retransmissions will happen.
|
||||
* Otherwise the the RST was misdirected or spoofed.
|
||||
* Otherwise the RST was misdirected or spoofed.
|
||||
*/
|
||||
if (sc == NULL) {
|
||||
if ((s = tcp_log_addrs(inc, th, NULL, NULL)))
|
||||
|
@ -397,7 +397,7 @@ tcp_twcheck(struct inpcb *inp, struct tcpopt *to, struct tcphdr *th,
|
||||
}
|
||||
|
||||
/*
|
||||
* Drop the the segment if it does not contain an ACK.
|
||||
* Drop the segment if it does not contain an ACK.
|
||||
*/
|
||||
if ((thflags & TH_ACK) == 0)
|
||||
goto drop;
|
||||
|
@ -78,7 +78,7 @@
|
||||
|
||||
/*
|
||||
* IPv6 port allocation rules should mirror the IPv4 rules and are controlled
|
||||
* by the the net.inet.ip.portrange sysctl tree. The following defines exist
|
||||
* by the net.inet.ip.portrange sysctl tree. The following defines exist
|
||||
* for compatibility with userland applications that need them.
|
||||
*/
|
||||
#if __BSD_VISIBLE
|
||||
|
@ -2378,7 +2378,7 @@ fdmisccmd(struct cdev *dev, u_int cmd, void *data)
|
||||
|
||||
/*
|
||||
* Set up a bio request for fdstrategy(). bio_offset is faked
|
||||
* so that fdstrategy() will seek to the the requested
|
||||
* so that fdstrategy() will seek to the requested
|
||||
* cylinder, and use the desired head.
|
||||
*/
|
||||
bp->bio_cmd = cmd;
|
||||
|
@ -194,7 +194,7 @@
|
||||
* Unfortunately, sabres on UltraSPARC IIi and IIe processors does not use
|
||||
* this scheme to determine the IOVA base address. Instead, bits 31-29 are
|
||||
* used to check against the Target Address Space register in the IIi and
|
||||
* the the IOMMU is used if they hit. God knows what goes on in the IIe.
|
||||
* the IOMMU is used if they hit. God knows what goes on in the IIe.
|
||||
*
|
||||
*/
|
||||
|
||||
|
@ -335,7 +335,7 @@ sbbc_pci_attach(device_t dev)
|
||||
rid = SBBC_PCI_BAR;
|
||||
/*
|
||||
* Note that we don't activate the resource so it's not mapped twice
|
||||
* but only once by the the firmware.
|
||||
* but only once by the firmware.
|
||||
*/
|
||||
sc->sc_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, 0);
|
||||
if (sc->sc_res == NULL) {
|
||||
|
@ -433,7 +433,7 @@ trap_cecc(void)
|
||||
cache_flush();
|
||||
/* Ensure the caches are still turned on (should be). */
|
||||
cache_enable(PCPU_GET(impl));
|
||||
/* Clear the the error from the AFSR. */
|
||||
/* Clear the error from the AFSR. */
|
||||
stxa_sync(0, ASI_AFSR, ldxa(0, ASI_AFSR));
|
||||
corrected_ecc++;
|
||||
printf("corrected ECC error\n");
|
||||
|
@ -117,7 +117,7 @@ union aac_statrequest {
|
||||
/* Do the native version of the ioctls. Since the BSD encoding scheme
|
||||
* conflicts with the 'standard' AAC encoding scheme, the resulting numbers
|
||||
* will be different. The '8' comes from the fact that the previous scheme
|
||||
* used 12 bits for the number, with the the 12th bit being the only set
|
||||
* used 12 bits for the number, with the 12th bit being the only set
|
||||
* bit above bit 8. Thus the value of 8, with the lower 8 bits holding the
|
||||
* command number. 9 is used for the odd overflow case.
|
||||
*/
|
||||
|
@ -707,7 +707,7 @@ const char str[];
|
||||
}
|
||||
|
||||
|
||||
/* readable_form - return the the human-readable form of a character
|
||||
/* readable_form - return the human-readable form of a character
|
||||
*
|
||||
* The returned string is in static storage.
|
||||
*/
|
||||
|
@ -54,7 +54,7 @@ int mimic_gnu = 0;
|
||||
|
||||
/*
|
||||
* Support for include path search
|
||||
* First search in the the current directory.
|
||||
* First search in the current directory.
|
||||
* If not found, and the path is not absolute, include path kicks in.
|
||||
* First, -I options, in the order found on the command line.
|
||||
* Then M4PATH env variable
|
||||
|
@ -98,7 +98,7 @@ Lst_Append(Lst *list, LstNode *ln, void *d)
|
||||
* LST_CONCLINK if should just be relinked
|
||||
*
|
||||
* Side Effects:
|
||||
* New elements are created and appended the the first list.
|
||||
* New elements are created and appended the first list.
|
||||
*/
|
||||
void
|
||||
Lst_Concat(Lst *list1, Lst *list2, int flags)
|
||||
|
@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* rpcinfo: ping a particular rpc program
|
||||
* or dump the the registered programs on the remote machine.
|
||||
* or dump the registered programs on the remote machine.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -492,7 +492,7 @@ install(const char *from_name, const char *to_name, u_long fset, u_int flags)
|
||||
* flags, except for the dump flag.
|
||||
* NFS does not support flags. Ignore EOPNOTSUPP flags if we're just
|
||||
* trying to turn off UF_NODUMP. If we're trying to set real flags,
|
||||
* then warn if the the fs doesn't support it, otherwise fail.
|
||||
* then warn if the fs doesn't support it, otherwise fail.
|
||||
*/
|
||||
if (!devnull && (flags & SETFLAGS ||
|
||||
(from_sb.st_flags & ~UF_NODUMP) != to_sb.st_flags) &&
|
||||
|
@ -931,7 +931,7 @@ main(int argc, char *argv[])
|
||||
/*
|
||||
* We cannot continue because of error. Exit if the
|
||||
* program has not become a daemon. Otherwise, block
|
||||
* until the the user corrects the problem and issues SIGHUP.
|
||||
* until the user corrects the problem and issues SIGHUP.
|
||||
*/
|
||||
if (!background)
|
||||
exit(1);
|
||||
|
@ -237,7 +237,7 @@ addrmerge(struct netbuf *caller, char *serv_uaddr, char *clnt_uaddr,
|
||||
|
||||
found:
|
||||
/*
|
||||
* Construct the new address using the the address from
|
||||
* Construct the new address using the address from
|
||||
* `bestif', and the port number from `serv_uaddr'.
|
||||
*/
|
||||
serv_nbp = uaddr2taddr(nconf, serv_uaddr);
|
||||
|
@ -953,7 +953,7 @@ installFixupBase(dialogMenuItem *self)
|
||||
vsystem("mtree -deU -f /etc/mtree/BSD.usr.dist -p /usr");
|
||||
|
||||
#ifdef __ia64__
|
||||
/* Move /boot to the the EFI partition and make /boot a link to it. */
|
||||
/* Move /boot to the EFI partition and make /boot a link to it. */
|
||||
efi_mntpt = (EfiChunk != NULL) ? ((PartInfo *)EfiChunk->private_data)->mountpoint : NULL;
|
||||
if (efi_mntpt != NULL) {
|
||||
vsystem("if [ ! -L /boot ]; then mv /boot %s; fi", efi_mntpt);
|
||||
|
Loading…
Reference in New Issue
Block a user