Searched refs:overflow (Results 1 - 200 of 1382) sorted by relevance

1234567

/linux-4.1.27/lib/
H A Dusercopy.c7 WARN(1, "Buffer overflow detected!\n"); copy_from_user_overflow()
H A Dkstrtox.c42 * Return number of characters consumed maybe or-ed with overflow bit.
43 * If overflow occurs, result integer (incorrect) is still returned.
51 int overflow; _parse_integer() local
55 overflow = 0; _parse_integer()
69 * Check for overflow only if we are within range of _parse_integer()
74 overflow = 1; _parse_integer()
81 if (overflow) _parse_integer()
118 * Returns 0 on success, -ERANGE on overflow and -EINVAL on parsing error.
142 * Returns 0 on success, -ERANGE on overflow and -EINVAL on parsing error.
214 * Returns 0 on success, -ERANGE on overflow and -EINVAL on parsing error.
245 * Returns 0 on success, -ERANGE on overflow and -EINVAL on parsing error.
H A Dseq_buf.c54 * Returns zero on success, -1 on overflow.
80 * Returns zero on success, -1 on overflow.
110 * Returns zero on success, -1 on overflow.
138 * Returns zero on success, -1 on overflow
162 * Returns zero on success, -1 on overflow
186 * Returns zero on success, -1 on overflow
214 * Returns zero on success, -1 on overflow
258 * Returns the number of written bytes on success, -1 on overflow
H A Dextable.c28 /* avoid overflow */ cmp_ex()
/linux-4.1.27/arch/frv/include/uapi/asm/
H A Dsiginfo.h7 #define FPE_MDAOVF (__SI_FAULT|9) /* media overflow */
H A Dstat.h64 overflow. */
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dgentrap.h9 #define GEN_INTOVF -1 /* integer overflow */
11 #define GEN_FLTOVF -3 /* fp overflow */
16 #define GEN_DECOVF -8 /* decimal overflow (for COBOL??) */
22 #define GEN_STKOVF -14 /* stack overflow */
H A Dfpu.h12 #define FPCR_OVFD (1UL<<51) /* overflow disable (optional) */
15 #define FPCR_OVF (1UL<<54) /* overflow */
18 #define FPCR_IOV (1UL<<57) /* integer overflow */
45 #define IEEE_TRAP_ENABLE_OVF (1UL<<3) /* overflow */
/linux-4.1.27/arch/blackfin/include/uapi/asm/
H A Dsiginfo.h32 #define TRAP_TRACEFLOW (__SI_FAULT|2) /* trace buffer overflow ************* */
39 #define SEGV_STACKFLOW (__SI_FAULT|3) /* stack overflow */
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dsiginfo.h22 #define EMT_TAGOVF (__SI_FAULT|1) /* tag overflow */
H A Dpsr.h32 #define PSR_V 0x00200000 /* overflow bit */
H A Dpsrcompat.h18 #define PSR_V 0x00200000 /* overflow bit */
/linux-4.1.27/drivers/atm/
H A DuPD98402.h67 #define uPD98402_INT_RFO 0x04 /* receive FIFO overflow */
68 #define uPD98402_INT_PCO 0x08 /* performance counter overflow */
95 #define uPD98402_PCO_B1EC 0x01 /* B1ECT overflow */
96 #define uPD98402_PCO_B2EC 0x02 /* B2ECT overflow */
97 #define uPD98402_PCO_B3EC 0x04 /* B3ECT overflow */
98 #define uPD98402_PCO_PFBC 0x08 /* PFEBC overflow */
99 #define uPD98402_PCO_LFBC 0x10 /* LFEVC overflow */
100 #define uPD98402_PCO_HECC 0x20 /* HECCT overflow */
101 #define uPD98402_PCO_FJC 0x40 /* FJCT overflow */
H A Dmidway.h78 #define MID_TX_DMA_OVFL 0x00000100 /* DMA to adapter overflow */
86 #define MID_STAT_OVFL 0x00000001 /* statistics overflow */
117 #define MID_OVFL_TRASH 0x0000FFFF /* trashed cells because of overflow */
/linux-4.1.27/arch/x86/math-emu/
H A Dexception.h26 #define EX_StackOver Const_(0x0041|SW_C1) /* stack overflow */
31 #define EX_Overflow Const_(0x0008) /* overflow */
H A Dpolynom_Xsig.S20 | This function must be used carefully: most overflow of intermediate |
21 | results is controlled, but overflow of the result is not. |
36 #define OVERFLOWED -16(%ebp) /* addition overflow flag */
98 adcl %eax,ACCUM_MS /* This could overflow too */
H A Dreg_u_div.S128 subl %ecx,%edx /* Prevent the overflow */
197 cmpl SIGH(%ebx),%edx /* Test for imminent overflow */
205 /* The dividend is greater or equal, would cause overflow */
209 sbbl SIGH(%ebx),%edx /* Prevent the overflow */
272 /* need to check for possible subsequent overflow */
281 /* The numerator is greater or equal, would cause overflow */
282 /* prevent overflow */
362 /* need to check for possible subsequent overflow */
371 /* prevent overflow */
382 /* This is a tricky spot, there is an overflow of the answer */
H A Ddiv_Xsig.S22 | prevent overflow. |
113 /* Divide by 2 to prevent overflow */
190 /* need to check for possible subsequent overflow */
199 /* The numerator is greater or equal, would cause overflow */
200 /* prevent overflow */
310 /* need to check for possible subsequent overflow */
314 /* prevent overflow */
H A Dcontrol_w.h24 #define CW_Overflow Const_(0x0008) /* overflow mask */
H A Dreg_u_mul.S16 | Does not check the resulting exponent for overflow/underflow |
80 /* adcl $0,%ecx // overflow here is not possible */
H A Dstatus_w.h32 #define SW_Overflow Const__(0x0008) /* overflow */
H A Dpoly.h72 /* Add the 12 byte Xsig x2 to Xsig dest, with no checks for overflow. */ add_Xsig_Xsig()
83 /* Add the 12 byte Xsig x2 to Xsig dest, adjust exp if overflow occurs. */
H A Dreg_ld_str.c453 goto overflow; FPU_store_double()
470 overflow: FPU_store_double()
637 goto overflow; FPU_store_single()
651 overflow: FPU_store_single()
660 /* Masked response is overflow to infinity. */ FPU_store_single()
918 /* Check for overflow, by comparing with 999999999999999999 decimal. */ FPU_store_bcd()
967 In the case of overflow, the returned significand always has the
982 return 1; /* overflow */ FPU_round_to_int()
995 return 1; /* overflow */ FPU_round_to_int()
1003 return 1; /* overflow */ FPU_round_to_int()
1011 return 1; /* overflow */ FPU_round_to_int()
H A Derrors.c143 printk("SW: overflow\n"); FPU_printall()
214 EX_StackOver, "stack overflow"}, {
218 EX_Overflow, "overflow"}, {
587 /* The overflow exception is masked. */ arith_overflow()
H A Dfpu_trig.c53 FPU_round_to_int(&tmp, tag); /* Fortunately, this can't overflow trig_arg()
95 so it can't overflow into yet another quadrant. */ trig_arg()
132 The correction is always < pi/2, so it can't overflow trig_arg()
524 /* Fortunately, this can't overflow to 2^64 */ frndint_()
821 overflow to 2^64 */ do_fprem()
879 /* prevent overflow here */ do_fprem()
897 overflow to 2^64 */ do_fprem()
1514 FPU_round_to_int(&tmp, st1_tag); /* This can never overflow here */ fscale()
1521 /* Use FPU_round() to properly detect under/overflow etc */ fscale()
H A Dreg_norm.S100 /* Normalise without reporting underflow or overflow */
/linux-4.1.27/arch/mn10300/lib/
H A D__ashldi3.S37 lsr a1,d0,a1 # get overflow from LSW -> MSW
39 or_asl a1,d1,a0,d0 # insert overflow into MSW and
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
H A Dpmc56_overflow_test.c13 * Test that PMC5 & 6 are frozen (ie. don't overflow) when they are not being
81 printf("PMC5/6 overflow %d\n", pmc56_overflowed); pmc56_overflow()
H A Dtrace.c33 tb->overflow = false; trace_buffer_allocate()
48 * buffer should just stop when overflow happened, not be patchy. If trace_check_alloc()
51 if (tb->overflow) trace_check_alloc()
55 tb->overflow = true; trace_check_alloc()
279 printf(" overflow %s\n", tb->overflow ? "TRUE" : "false"); trace_buffer_print()
H A Dtrace.h27 bool overflow; member in struct:trace_buffer
H A Dback_to_back_ebbs_test.c16 * Test that if we overflow the counter while in the EBB handler, we take
20 * overflow the PMU while we're still in the EBB handler, leading to another
H A Dno_handler_test.c39 /* Spin to make sure the event has time to overflow */ no_handler_test()
/linux-4.1.27/arch/x86/kernel/
H A Dirq_32.c34 /* Debugging check for stack overflow: is there less than 1KB free? */ check_stack_overflow()
78 execute_on_irq_stack(int overflow, struct irq_desc *desc, int irq) execute_on_irq_stack() argument
101 if (unlikely(overflow)) execute_on_irq_stack()
160 int overflow; handle_irq() local
162 overflow = check_stack_overflow(); handle_irq()
168 if (user_mode(regs) || !execute_on_irq_stack(overflow, desc, irq)) { handle_irq()
169 if (unlikely(overflow)) handle_irq()
H A Dmodule.c178 goto overflow; apply_relocate_add()
183 goto overflow; apply_relocate_add()
190 goto overflow; apply_relocate_add()
201 overflow: apply_relocate_add()
202 pr_err("overflow in relocation type %d val %Lx\n", apply_relocate_add()
H A Dirq_64.c32 * Probabilistic stack overflow check:
H A Dpci-nommu.c20 "nommu_%s: overflow %Lx+%zu of device mask %Lx\n", check_addr()
/linux-4.1.27/net/bridge/netfilter/
H A Debt_limit.c60 /* If multiplying would overflow... */ user2credits()
72 /* Check for overflow. */ ebt_limit_mt_check()
75 pr_info("overflow, try lower: %u/%u\n", ebt_limit_mt_check()
/linux-4.1.27/drivers/media/rc/
H A Digorplugusb.c60 unsigned i, start, overflow; igorplugusb_irdata() local
66 * overwrites its buffer from the beginning. The overflow value is the igorplugusb_irdata()
70 overflow = ir->buf_in[2]; igorplugusb_irdata()
71 i = start = overflow + HEADERLEN; igorplugusb_irdata()
74 dev_err(ir->dev, "receive overflow invalid: %u", overflow); igorplugusb_irdata()
76 if (overflow > 0) igorplugusb_irdata()
77 dev_warn(ir->dev, "receive overflow, at least %u lost", igorplugusb_irdata()
78 overflow); igorplugusb_irdata()
/linux-4.1.27/arch/mips/include/asm/
H A Dbreak.h24 #define BRK_MULOVF 1023 /* Multiply overflow */
H A Ddelay.h23 /* make sure "usecs *= ..." in udelay do not overflow. */
H A Dmc146818-time.h28 * BUG: This routine does not handle hour overflow properly; it just
51 * don't interfere with hour overflow. This avoids mc146818_set_rtc_mmss()
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dtimex.h19 /* Convert the value in step of 10 ns to 1us without overflow: */
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dperfmon_default_smpl.h56 * In the case where multiple counters overflow at the same time, multiple
67 unsigned long ip; /* where did the overflow interrupt happened */
70 unsigned short cpu; /* cpu on which the overflow occurred */
71 unsigned short set; /* event set active when overflow occurred */
H A Dfpu.h15 #define FPSR_TRAP_OD (1 << 3) /* overflow trap disabled */
34 #define FPSF_O (1 << 10) /* overflow (IEEE) flag */
H A Dperfmon.h41 #define PFM_FL_OVFL_NO_MSG 0x80 /* do not post overflow/end messages for notification */
51 #define PFM_REGFL_OVFL_NOTIFY 0x1 /* send notification on overflow */
92 unsigned long reg_long_reset; /* reset after buffer overflow notification */
93 unsigned long reg_short_reset; /* reset after counter overflow */
95 unsigned long reg_reset_pmds[4]; /* which other counters to reset on overflow */
132 unsigned short msg_active_set; /* active set at the time of overflow */
150 #define PFM_MSG_OVFL 1 /* an overflow happened */
H A Dsiginfo.h106 #define __FPE_DECOVF (__SI_FAULT|9) /* decimal overflow */
117 #define __SEGV_PSTKOVF (__SI_FAULT|4) /* paragraph stack overflow */
/linux-4.1.27/drivers/staging/octeon/
H A Dethernet-spi.c73 pr_err("SPI1: SRX Selected port has hit TPA overflow\n"); cvm_oct_spi_rml_interrupt()
77 pr_err("SPI1: SRX Spi4 receive FIFO drowning/overflow\n"); cvm_oct_spi_rml_interrupt()
81 pr_err("SPI1: SRX Spi4 async FIFO overflow\n"); cvm_oct_spi_rml_interrupt()
104 pr_err("SPI1: STX Spi4 FIFO overflow error\n"); cvm_oct_spi_rml_interrupt()
137 pr_err("SPI0: SRX Selected port has hit TPA overflow\n"); cvm_oct_spi_rml_interrupt()
141 pr_err("SPI0: SRX Spi4 receive FIFO drowning/overflow\n"); cvm_oct_spi_rml_interrupt()
145 pr_err("SPI0: SRX Spi4 async FIFO overflow\n"); cvm_oct_spi_rml_interrupt()
168 pr_err("SPI0: STX Spi4 FIFO overflow error\n"); cvm_oct_spi_rml_interrupt()
/linux-4.1.27/arch/x86/include/asm/
H A Dpage.h46 * overflow during __pa() calculation and can optimize it unexpectedly.
47 * Newer versions of gcc provide -fno-strict-overflow switch to handle this
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_bfin_jtag.c23 #define EMUDOOVF 0x00000004 /* EMUDAT_OUT overflow */
24 #define EMUDIOVF 0x00000008 /* EMUDAT_IN overflow */
H A Dhvsi.c354 * throttles us at TTY_THRESHOLD_THROTTLE (128) bytes, so we could overflow
366 int overflow = datalen - TTY_THRESHOLD_THROTTLE; hvsi_recv_data() local
373 if (overflow > 0) { hvsi_recv_data()
380 if (overflow > 0) { hvsi_recv_data()
383 * overflow and send it later hvsi_recv_data()
385 pr_debug("%s: deferring overflow\n", __func__); hvsi_recv_data()
386 memcpy(hp->throttle_buf, data + TTY_THRESHOLD_THROTTLE, overflow); hvsi_recv_data()
387 hp->n_throttle = overflow; hvsi_recv_data()
475 pr_debug("%s: delivering %i bytes overflow\n", __func__, hvsi_send_overflow()
/linux-4.1.27/arch/ia64/include/asm/
H A Dperfmon.h41 unsigned int notify_user:1; /* notify user program of overflow */
51 unsigned char ovfl_notify; /* =1 if monitor requested overflow notification */
52 unsigned short active_set; /* event set active at the time of the overflow */
56 unsigned long smpl_pmds[4]; /* bitmask of other PMD of interest on overflow */
103 int debug_ovfl; /* turn on/off debug printk in overflow handler */
/linux-4.1.27/sound/core/seq/
H A Dseq_fifo.c53 atomic_set(&f->overflow, 0); snd_seq_fifo_new()
98 /* clear overflow flag */ snd_seq_fifo_clear()
99 atomic_set(&f->overflow, 0); snd_seq_fifo_clear()
126 atomic_inc(&f->overflow); snd_seq_fifo_event_in()
259 /* NOTE: overflow flag is not cleared */ snd_seq_fifo_resize()
H A Dseq_fifo.h38 atomic_t overflow; member in struct:snd_seq_fifo
/linux-4.1.27/arch/metag/kernel/perf/
H A Dperf_event.h22 * cores generate an overflow interrupt on transition from 0xffffff to 0.
61 * @handle_irq: overflow interrupt handler
68 * @max_period: maximum value of the counter before overflow
H A Dperf_event.c71 /* Early cores don't have overflow interrupts */ release_pmu_hardware()
91 /* Early cores don't have overflow interrupts */ reserve_pmu_hardware()
280 * the period, then we'll either: a) get an overflow too soon; metag_pmu_start()
281 * or b) too late if the overflow happened since disabling. metag_pmu_start()
282 * Obviously, this has little bearing on cores without the overflow metag_pmu_start()
655 * Cores supporting overflow interrupts may have had the counter metag_pmu_enable_counter()
690 * the overflow interrupt. metag_pmu_disable_counter()
778 * Enable the counter again once core overflow processing has metag_pmu_counter_overflow()
843 * A core without overflow interrupts, and clear-on- init_hw_perf_events()
860 * Early cores have "limited" counters - they have no overflow init_hw_perf_events()
/linux-4.1.27/arch/m68k/fpsp040/
H A Dscosh.S34 | However, invoking exp(|X|) may cause premature overflow.
42 | 5. (|X| > 16480 log2) sinh(X) must overflow. Return
43 | Huge*Huge to generate overflow and an infinity with
H A Dssinh.S34 | However, invoking exp(|X|) may cause premature overflow.
43 | 5. (|X| > 16480 log2) sinh(X) must overflow. Return
44 | sign(X)*Huge*Huge to generate overflow and an infinity with
H A Dutil.S6 | ovf_res: used by overflow to force the correct
70 | ovf_r_k --- overflow result calculation
86 | ovf_r_x2 --- overflow result calculation
157 | ovf_r_x3 --- overflow result calculation
173 | ovf_res --- overflow result calculation
199 tstb LOCAL_SGN(%a0) |if negative overflow
209 tstb LOCAL_SGN(%a0) |if negative overflow
230 tstb LOCAL_SGN(%a0) |if negative overflow
240 tstb LOCAL_SGN(%a0) |if negative overflow
261 tstb LOCAL_SGN(%a0) |if negative overflow
271 tstb LOCAL_SGN(%a0) |if negative overflow
283 tstb LOCAL_SGN(%a0) |if negative overflow
562 tstb LOCAL_SGN(%a0) |if negative overflow
573 tstb LOCAL_SGN(%a0) |if negative overflow
594 tstb LOCAL_SGN(%a0) |if negative overflow
605 tstb LOCAL_SGN(%a0) |if negative overflow
616 tstb LOCAL_SGN(%a0) |if negative overflow
H A Dx_ovfl.S4 | fpsp_ovfl --- FPSP handler for overflow exception
23 | RM For pos overflow, the largest pos number. For neg overflow,
25 | RP For pos overflow, +infinity. For neg overflow, the largest
72 | if overflow traps not enabled check for inexact exception
H A Dscale.S6 | the source operand is (>= 2^14) an overflow or underflow
94 | The result can be denormalized, if src = 0, or overflow,
102 cmpil #0x7fff,%d1 |test for overflow
/linux-4.1.27/arch/arm/nwfpe/
H A Dfpsr.h56 #define BIT_OFE 0x00040000 /* overflow exception enable */
90 #define BIT_MO 0x08000000 /* mantissa overflow bit */
91 #define BIT_EO 0x04000000 /* exponent overflow bit */
/linux-4.1.27/arch/sparc/include/asm/
H A Dpil.h17 * interrupts. Profile counter overflow interrupts arrive at level
H A Dpcr.h35 #define PCR_N4_OV 0x00000001 /* PIC overflow */
/linux-4.1.27/arch/tile/include/asm/
H A Dchecksum.h27 * The implementation does two vector adds to capture any overflow.
/linux-4.1.27/arch/mips/include/uapi/asm/
H A Dbreak.h27 #define BRK_MULOVF 1023 /* Multiply overflow */
/linux-4.1.27/arch/nios2/kernel/
H A Dsys_nios2.c33 /* Check for overflow */ sys_cacheflush()
H A Dmodule.c81 pr_err("module %s: relocation overflow\n", apply_relocate_add()
96 pr_err("module %s: relocation overflow\n", apply_relocate_add()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dcputime.h73 /* have to be a little careful about overflow */ jiffies_to_cputime()
95 /* have to be a little careful about overflow */ jiffies64_to_cputime64()
127 /* have to be a little careful about overflow */ usecs_to_cputime()
219 /* have to be a little careful about overflow */ clock_t_to_cputime()
H A Ddelay.h29 * Since there is no 32bit overflow issue on 64bit kernels, just call
/linux-4.1.27/arch/blackfin/kernel/
H A Dvmlinux.lds.S184 ASSERT (__text_l1_len <= L1_CODE_LENGTH, "L1 text overflow!")
204 ASSERT (__data_l1_len <= L1_DATA_A_LENGTH, "L1 data A overflow!")
221 ASSERT (__data_b_l1_len <= L1_DATA_B_LENGTH, "L1 data B overflow!")
247 ASSERT (__l2_len <= L2_LENGTH, "L2 overflow!")
H A Dirqchip.c53 /* Debugging check for stack overflow: is there less than STACK_WARN free? */ check_stack_overflow()
58 pr_emerg("irq%i: possible stack overflow only %ld bytes free\n", check_stack_overflow()
/linux-4.1.27/arch/hexagon/
H A DMakefile9 # Do not use single-byte enums; these will overflow.
/linux-4.1.27/tools/perf/util/
H A Dpstack.c58 pr_err("%s: top=%d, overflow!\n", __func__, pstack->top); pstack__push()
/linux-4.1.27/include/linux/
H A Ddelay.h18 * risk overflow for high loops_per_jiffy (high bogomips) machines. The
H A Dseq_buf.h40 * seq_buf have a buffer that might overflow. When this happens
108 /* num must be negative on overflow */ seq_buf_commit()
H A Dhighuid.h25 * This is the "overflow" UID and GID. They are used to signify uid/gid
26 * overflow to old programs when they request uid/gid information but are
H A Dtime64.h102 * overflow. It will return TIME_T_MAX if the returned value would be
148 /* Disallow values that could overflow ktime_t */ timespec64_valid_strict()
H A Dacct.h95 * overflow after 64.99 years. nsec_to_AHZ()
/linux-4.1.27/arch/mips/kernel/
H A Dirq.c121 * Check for stack overflow: is there less than STACK_WARN free? check_stack_overflow()
125 printk("do_IRQ: stack overflow: %ld\n", check_stack_overflow()
H A Dmodule-rela.c45 "module %s: relocation overflow\n", apply_r_mips_26_rela()
/linux-4.1.27/arch/mips/math-emu/
H A Ddp_tint.c53 /* Set invalid. We will only use overflow for floating ieee754dp_tint()
54 point overflow */ ieee754dp_tint()
H A Ddp_tlong.c56 /* Set invalid. We will only use overflow for floating ieee754dp_tlong()
57 point overflow */ ieee754dp_tlong()
H A Dsp_tint.c56 /* Set invalid. We will only use overflow for floating ieee754sp_tint()
57 point overflow */ ieee754sp_tint()
H A Dsp_tlong.c57 /* Set invalid. We will only use overflow for floating ieee754sp_tlong()
58 point overflow */ ieee754sp_tlong()
H A Ddp_fint.c49 /* normalize - result can never be inexact or overflow */ ieee754dp_fint()
H A Ddp_flong.c52 /* shunt out overflow bits */ ieee754dp_flong()
H A Ddp_fsp.c67 * Can't possibly overflow,underflow, or need rounding ieee754dp_fsp()
H A Dsp_fint.c51 /* shunt out overflow bits ieee754sp_fint()
H A Dsp_flong.c51 /* shunt out overflow bits ieee754sp_flong()
H A Ddp_sqrt.c84 /* adjust exponent to prevent overflow */ ieee754dp_sqrt()
/linux-4.1.27/arch/ia64/kernel/
H A Dpci-dma.c71 Problem with this is that if we overflow the IOMMU area and iommu_dma_supported()
79 more gentle handling of IOMMU overflow. */ iommu_dma_supported()
H A Dperfmon.c62 #define PFM_CTX_MASKED 3 /* context is loaded but monitoring is masked due to overflow */
147 * - we need to protect against PMU overflow interrupts (local_irq_disable)
149 * - we need to protect against PMU overflow interrupts (local_irq_disable)
249 unsigned long long_reset; /* reset value on sampling overflow */
250 unsigned long short_reset; /* reset value on overflow */
252 unsigned long smpl_pmds[4]; /* which pmds are accessed when counter overflow */
256 unsigned long eventid; /* overflow event identifier */
270 unsigned int no_msg:1; /* no message sent on overflow */
276 #define PFM_TRAP_REASON_BLOCK 0x1 /* we need to block on overflow */
416 unsigned long ovfl_val; /* overflow value for counters */
932 * counter overflow. In UP, it means that the PMU still pfm_mask_monitoring()
936 * In SMP, a valid overflow only happens when task is pfm_mask_monitoring()
1020 * as it was. Note that there can be no pending overflow at pfm_restore_monitoring()
1997 * The task is currently blocked or will block after an overflow. pfm_close()
2092 * now. should there be subsequent PMU overflow originally pfm_close()
2901 * enforce generation of overflow interrupt. Necessary on all pfm_write_pmcs()
2950 * update overflow information pfm_write_pmcs()
2997 * The value in th_pmcs[] may be modified on overflow, i.e., when pfm_write_pmcs()
3249 * Therefore we know, we do not have to worry about the PMU overflow interrupt. If an
3253 * trivial to treat the overflow while inside the call because you may end up in
3349 * XXX: need to check for overflow when loaded pfm_read_pmds()
3400 * from overflow handler pfm_mod_write_pmcs()
3421 * from overflow handler pfm_mod_read_pmds()
3901 * from overflow handler pfm_mod_write_ibrs()
3922 * from overflow handler pfm_mod_write_dbrs()
4989 * there is no risk of kernel stack overflow due to deep
5098 DPRINT(("ignoring overflow notification, owner is zombie\n")); pfm_notify_user()
5172 * main overflow processing routine.
5214 /* skip pmd which did not overflow */ pfm_overflow_handler()
5228 * check for overflow condition pfm_overflow_handler()
5245 * there was no 64-bit overflow, nothing else to do pfm_overflow_handler()
5256 * if a sampling format module exists, then we "cache" the overflow by pfm_overflow_handler()
5337 * is to notify on overflow if requested by user pfm_overflow_handler()
5414 printk(KERN_ERR "perfmon: CPU%d overflow handler [%d] pmc0=0x%lx\n", pfm_overflow_handler()
5441 * yet one PMU might have a owner and get at most one overflow interrupt for a zombie pfm_overflow_handler()
5509 printk(KERN_INFO "perfmon: spurious overflow interrupt on CPU%d: process %d has no PFM context\n", pfm_do_interrupt_handler()
5514 printk(KERN_INFO "perfmon: spurious overflow interrupt on CPU%d: process %d, invalid flag\n", pfm_do_interrupt_handler()
5657 "CPU%-2d overflow intrs : %lu\n" pfm_proc_show()
5658 "CPU%-2d overflow cycles : %lu\n" pfm_proc_show()
5659 "CPU%-2d overflow min : %lu\n" pfm_proc_show()
5660 "CPU%-2d overflow max : %lu\n" pfm_proc_show()
5850 * This is the last instruction which may generate an overflow pfm_save_regs()
5879 * for pending overflow. pfm_save_regs()
5914 * This is the last instruction which may generate an overflow pfm_save_regs()
5940 * we need to mask PMU overflow here to pfm_lazy_save_regs()
5942 * we save it. overflow interrupts are pfm_lazy_save_regs()
5966 * it is needed to check for pended overflow pfm_lazy_save_regs()
6092 * check for pending overflow at the time the state pfm_load_regs()
6097 * reload pmc0 with the overflow information pfm_load_regs()
6229 * check for pending overflow at the time the state pfm_load_regs()
6234 * reload pmc0 with the overflow information pfm_load_regs()
6293 * This will cause the interrupt handler to do nothing in case an overflow pfm_flush_pmds()
6296 * It virtually gives us full control on overflow processing from that point pfm_flush_pmds()
6303 * read current overflow status: pfm_flush_pmds()
6311 * reset freeze bit, overflow status information destroyed pfm_flush_pmds()
6317 * clear whatever overflow status bits there were pfm_flush_pmds()
6362 * take care of overflow inline pfm_flush_pmds()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_spi.h151 /* Host Interrupt Status bit : I/O write FIFO overflow */
155 /* Host Interrupt Status bit : Data write FIFO overflow */
159 /* Host Interrupt Status bit : Command write FIFO overflow */
175 /* Host Interrupt Status Mask bit : I/O write FIFO overflow */
179 /* Host Interrupt Status Mask bit : Data write FIFO overflow */
183 /* Host Interrupt Status Mask bit : Command write FIFO overflow */
/linux-4.1.27/drivers/thermal/st/
H A Dst_thermal.c37 sensor->overflow = devm_regmap_field_alloc(dev, regmap, st_thermal_alloc_regfields()
44 IS_ERR(sensor->overflow) || st_thermal_alloc_regfields()
120 unsigned int overflow; st_thermal_get_temp() local
123 ret = regmap_field_read(sensor->overflow, &overflow); st_thermal_get_temp()
126 if (overflow) st_thermal_get_temp()
H A Dst_thermal.h91 struct regmap_field *overflow; member in struct:st_thermal_sensor
/linux-4.1.27/arch/s390/kernel/
H A Dperf_cpum_sf.c504 debug_sprintf_event(sfdbg, 5, "sfb: overflow: overflow=%llu ratio=%lu" sfb_account_overflows()
513 * Use this function to extend the sampling buffer based on the overflow counter
774 /* Initialize sample data overflow accounting */ __hw_perf_event_init()
875 /* Account number of overflow-designated buffer extents */ cpumsf_pmu_enable()
971 * possible event overflows. If an event overflow occurs, the PMU is
974 * Return non-zero if an event overflow occurred.
978 int overflow; perf_push_sample() local
1032 overflow = 0; perf_push_sample()
1036 overflow = 1; perf_push_sample()
1041 return overflow; perf_push_sample()
1123 * @overflow: Event overflow counter
1137 * The overflow variables counts the number of samples that has been discarded
1138 * due to a perf event overflow.
1141 unsigned long long *overflow) hw_collect_samples()
1166 /* If an event overflow occurred, the PMU is stopped to hw_collect_samples()
1170 if (!*overflow) { hw_collect_samples()
1174 *overflow = perf_push_sample(event, sfr); hw_collect_samples()
1178 *overflow += 1; hw_collect_samples()
1239 /* Check the sample overflow count */ hw_perf_event_update()
1240 if (te->overflow) hw_perf_event_update()
1245 sampl_overflow += te->overflow; hw_perf_event_update()
1249 "overflow=%llu timestamp=0x%llx\n", hw_perf_event_update()
1250 sdbt, te->overflow, hw_perf_event_update()
1254 * flag if an (perf) event overflow happened. If so, the PMU hw_perf_event_update()
1264 } while (!cmpxchg_double(&te->flags, &te->overflow, hw_perf_event_update()
1265 te->flags, te->overflow, hw_perf_event_update()
1282 /* If an event overflow happened, discard samples by hw_perf_event_update()
1295 "overflow stats: sample=%llu event=%llu\n", hw_perf_event_update()
1140 hw_collect_samples(struct perf_event *event, unsigned long *sdbt, unsigned long long *overflow) hw_collect_samples() argument
H A Dtraps.c134 "fixpoint overflow exception")
136 "HFP overflow exception")
164 else if (fpc & 0x2000) /* overflow */ do_fp_trap()
271 case 3: /* overflow */ vector_exception()
332 printk("Kernel stack overflow.\n"); kernel_stack_overflow()
/linux-4.1.27/arch/mips/mm/
H A Duasm.c73 WARN(arg & ~RS_MASK, KERN_WARNING "Micro-assembler field overflow\n"); build_rs()
80 WARN(arg & ~RT_MASK, KERN_WARNING "Micro-assembler field overflow\n"); build_rt()
87 WARN(arg & ~RD_MASK, KERN_WARNING "Micro-assembler field overflow\n"); build_rd()
94 WARN(arg & ~RE_MASK, KERN_WARNING "Micro-assembler field overflow\n"); build_re()
102 KERN_WARNING "Micro-assembler field overflow\n"); build_simm()
109 WARN(arg & ~IMM_MASK, KERN_WARNING "Micro-assembler field overflow\n"); build_uimm()
117 KERN_WARNING "Micro-assembler field overflow\n"); build_scimm()
125 KERN_WARNING "Micro-assembler field overflow\n"); build_scimm9()
132 WARN(arg & ~FUNC_MASK, KERN_WARNING "Micro-assembler field overflow\n"); build_func()
139 WARN(arg & ~SET_MASK, KERN_WARNING "Micro-assembler field overflow\n"); build_set()
/linux-4.1.27/arch/arm64/kernel/
H A Dmodule.c144 * For unsigned immediates, the overflow check is straightforward. reloc_insn_movw()
222 /* Check for overflow by default. */ apply_relocate_add()
275 /* We're using the top bits so we can't overflow. */ apply_relocate_add()
320 /* We're using the top bits so we can't overflow. */ apply_relocate_add()
390 goto overflow; apply_relocate_add()
396 overflow: apply_relocate_add()
397 pr_err("module %s: overflow in relocation type %d val %Lx\n", apply_relocate_add()
/linux-4.1.27/drivers/net/ethernet/sun/
H A Dsunqe.h101 #define CREG_QMASK_COFLOW 0x00100000 /* CollCntr overflow */
120 #define CREG_MMASK_RXCOLL 0x00000400 /* RX Coll-Cntr overflow */
121 #define CREG_MMASK_RPKT 0x00000200 /* Runt pkt overflow */
122 #define CREG_MMASK_MPKT 0x00000100 /* Missed pkt overflow */
183 #define MREGS_RXFSTAT_OVERFLOW 0x80 /* RX overflow */
195 #define MREGS_IREG_RCCO 0x10 /* IRQ Collision cnt overflow */
196 #define MREGS_IREG_RPKTCO 0x08 /* IRQ Runt packet count overflow */
197 #define MREGS_IREG_MPKTCO 0x04 /* IRQ missed packet cnt overflow */
203 #define MREGS_IMASK_MPKTCO 0x04 /* IMASK Missed pkt cnt overflow */
/linux-4.1.27/drivers/media/pci/ngene/
H A Dngene-dvb.c126 static u32 overflow; variable
151 overflow++; tsin_exchange()
158 if (ok % 100 == 0 && overflow) tsin_exchange()
159 printk(KERN_WARNING "%s: ok %u overflow %u dropped %u\n", __func__, ok, overflow, stripped); tsin_exchange()
/linux-4.1.27/arch/x86/boot/
H A Dvideo-vga.c148 out_idx(0x3e, crtc, 0x07); /* Vertical overflow */ vga_set_480_scanlines()
162 u8 ovfw; /* CRTC overflow register */ vga_set_vertical_end()
169 out_idx(ovfw, crtc, 0x07); /* Vertical overflow */ vga_set_vertical_end()
/linux-4.1.27/lib/lzo/
H A Dlzo1x_decompress_safe.c29 * count without overflowing an integer. The multiply will overflow when
30 * multiplying 255 by more than MAXINT/255. The sum will overflow earlier
33 * or equal to 2*255, thus we can always prevent any overflow by accepting
/linux-4.1.27/sound/isa/gus/
H A Dgus_volume.c122 snd_printk(KERN_ERR "snd_gf1_translate_freq: overflow - freq = 0x%x\n", freq16); snd_gf1_translate_freq()
206 snd_printk(KERN_ERR "patch: (1) fc frequency overflow - %u\n", fc);
213 snd_printk(KERN_ERR "patch: (2) fc frequency overflow - %u\n", fc);
/linux-4.1.27/tools/perf/tests/
H A Dbp_signal.c2 * Inspired by breakpoint overflow test done by
176 pr_debug("count1 %lld, count2 %lld, overflow %d\n", test__bp_signal()
187 pr_debug("failed: wrong overflow hit\n"); test__bp_signal()
H A Dbp_signal_overflow.c118 pr_debug("count %lld, overflow %d\n", test__bp_signal_overflow()
/linux-4.1.27/arch/xtensa/include/asm/
H A Dcmpxchg.h102 * done by the compiler is not guaranteed and a window overflow
105 * where no register reference will cause an overflow.
H A Ddelay.h58 * Inner shift makes sure multiplication doesn't overflow __ndelay()
/linux-4.1.27/arch/xtensa/kernel/
H A Dirq.c43 /* Debugging check for stack overflow: is there less than 1KB free? */ do_IRQ()
51 printk("Stack overflow in do_IRQ: %ld\n", do_IRQ()
H A Dvectors.S5 * as well as the window vectors (overflow and underflow), and the debug
116 * already in an exception, such as window overflow/underflow exception,
232 /* Window overflow/underflow exception. Get stack pointer. */
236 /* Check for overflow/underflow exception, jump if overflow. */
355 * overflow exception. Therefore, we change window base to the value
356 * before we entered the window overflow exception and prepare the
367 * To keep things simple, we take advantage of the fact all overflow
379 bbsi.l a0, 8, 1f # don't restore except for overflow 8 and 12
383 * overflow handler's reference thru a0 gets a hardware TLB refill
500 * the window overflow handler is lost, so we just return to userspace to
501 * retry overflow from start.
646 /* Window overflow and underflow handlers.
648 * handlers underflow-4 to underflow-12, then the overflow handlers
649 * overflow-4 to overflow-12.
H A Dprocess.c183 * the two threads (parent and child) will overflow the same frames onto the
230 of the previous caller for the overflow handlers to work. copy_thread()
231 (Note that it's always legal to overflow live registers). copy_thread()
/linux-4.1.27/arch/tile/kernel/
H A Dmessaging.c58 /* Debugging check for stack overflow: less than 1/8th stack free? */ hv_message_intr()
62 pr_emerg("%s: stack overflow: %ld\n", hv_message_intr()
H A Dpmc.c54 * Get current overflow status of each performance counter,
78 * clear overflow status by writing ones pmc_ack_overflow()
/linux-4.1.27/fs/notify/
H A Dgroup.c59 * Destroy overflow event (we cannot use fsnotify_destroy_event() as fsnotify_destroy_group()
60 * that deliberately ignores overflow events. fsnotify_destroy_group()
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_amd_ibs.c77 int overflow = 0; perf_event_set_period() local
86 overflow = 1; perf_event_set_period()
93 overflow = 1; perf_event_set_period()
97 * If the hw period that triggers the sw overflow is too short perf_event_set_period()
112 return overflow; perf_event_set_period()
293 int overflow; perf_ibs_set_period() local
296 overflow = perf_event_set_period(hwc, 1<<4, perf_ibs->max_period, period); perf_ibs_set_period()
299 return overflow; perf_ibs_set_period()
327 * Set width to 64 since we do not overflow on max width but perf_ibs_event_update()
329 * prev count manually on overflow. perf_ibs_event_update()
549 goto out; /* no sw counter overflow */ perf_ibs_handle_irq()
H A Dperf_event_p4.c859 /* an official way for overflow indication */ p4_pmu_clear_cccr_ovf()
867 * In some circumstances the overflow might issue an NMI but did p4_pmu_clear_cccr_ovf()
1010 int overflow; p4_pmu_handle_irq() local
1024 /* it might be unflagged overflow */ p4_pmu_handle_irq()
1025 overflow = p4_pmu_clear_cccr_ovf(hwc); p4_pmu_handle_irq()
1028 if (!overflow && (val & (1ULL << (x86_pmu.cntval_bits - 1)))) p4_pmu_handle_irq()
1031 handled += overflow; p4_pmu_handle_irq()
1033 /* event overflow for sure */ p4_pmu_handle_irq()
1363 * logical processor when an overflow happens, testing has shown that p4_pmu_init()
1366 * overflow bug, this leads to a stream of unknown NMIs. p4_pmu_init()
/linux-4.1.27/block/partitions/
H A Dsgi.c66 * partitions which we don't care about so we never overflow the sgi_partition()
/linux-4.1.27/drivers/watchdog/
H A Dshwdt.c49 * resolution of a jiffy is enough to trigger the overflow. For things like
56 * overflow periods respectively.
59 * before the overflow happens, we maintain two separate timers .. One in
66 * misses its deadline, the kernel timer will allow the WDT to overflow.
H A Dof_xilinx_wdt.c188 * Twice of the 2^wdt_interval / freq because the first wdt overflow is xwdt_probe()
189 * ignored (interrupt), reset is only generated at second wdt overflow xwdt_probe()
/linux-4.1.27/include/uapi/asm-generic/
H A Derrno-base.h26 #define ENFILE 23 /* File table overflow */
/linux-4.1.27/include/uapi/linux/
H A Dn_r3964.h85 #define R3964_OVERFLOW -2 /* msg queue overflow */
H A Dtaskstats.h64 * xxx_delay_total wraps around to zero on overflow
65 * xxx_count incremented regardless of overflow
90 * and wraps around to zero silently on overflow
98 * and wraps around to zero silently on overflow
H A Dsysctl.h125 KERN_OVERFLOWUID=46, /* int: overflow UID */
126 KERN_OVERFLOWGID=47, /* int: overflow GID */
815 FS_OVERFLOWUID=11, /* int: overflow UID */
816 FS_OVERFLOWGID=12, /* int: overflow GID */
/linux-4.1.27/arch/s390/include/asm/
H A Dcrw.h21 __u32 oflw : 1; /* overflow */
H A Dtimex.h146 * In order to avoid an overflow with the multiplication we can rewrite this.
/linux-4.1.27/arch/mn10300/include/asm/
H A Dintctl-regs.h41 #define NMICR_WDIF 0x0002 /* watchdog timer overflow flag */
H A Dcpu-regs.h41 #define EPSW_FLAG_V 0x00000008 /* overflow flag */
66 #define FPCR_EF_O 0x00000004 /* overflow FPU exception flag */
71 #define FPCR_EE_O 0x00000080 /* overflow FPU exception enable */
76 #define FPCR_EC_O 0x00001000 /* overflow FPU exception cause */
/linux-4.1.27/arch/parisc/math-emu/
H A Dfcnvfut.c70 * Test for overflow sgl_to_sgl_fcnvfut()
139 * Test for overflow sgl_to_dbl_fcnvfut()
209 * Test for overflow dbl_to_sgl_fcnvfut()
278 * Test for overflow dbl_to_dbl_fcnvfut()
H A Dfcnvfxt.c72 * Test for overflow sgl_to_sgl_fcnvfxt()
136 * Test for overflow sgl_to_dbl_fcnvfxt()
210 * Test for overflow dbl_to_sgl_fcnvfxt()
275 * Test for overflow dbl_to_dbl_fcnvfxt()
H A Dfcnvfu.c73 * Test for overflow sgl_to_sgl_fcnvfu()
194 * Test for overflow sgl_to_dbl_fcnvfu()
312 * Test for overflow dbl_to_sgl_fcnvfu()
364 /* check for overflow */ dbl_to_sgl_fcnvfu()
435 * Test for overflow dbl_to_dbl_fcnvfu()
H A Dfcnvfx.c72 * Test for overflow sgl_to_sgl_fcnvfx()
169 * Test for overflow sgl_to_dbl_fcnvfx()
290 * Test for overflow dbl_to_sgl_fcnvfx()
336 /* check for overflow */ dbl_to_sgl_fcnvfx()
401 * Test for overflow dbl_to_dbl_fcnvfx()
H A Dfcnvff.c239 * check for mantissa overflow after rounding dbl_to_sgl_fcnvff()
245 * Test for overflow dbl_to_sgl_fcnvff()
251 * Check for gross overflow dbl_to_sgl_fcnvff()
/linux-4.1.27/arch/cris/include/uapi/arch-v10/arch/
H A Duser.h31 unsigned long mof; /* Multiply overflow register. */
/linux-4.1.27/arch/cris/include/uapi/arch-v32/arch/
H A Duser.h30 unsigned long mof; /* P7, Multiply overflow regiter. */
/linux-4.1.27/arch/cris/kernel/
H A Dirq.c52 printk("do_IRQ: stack overflow: %lX\n", sp); do_IRQ()
/linux-4.1.27/arch/m68k/coldfire/
H A Ddma_timer.c55 * get a ~213 ns resolution and the 32bit register will overflow almost init_cf_dt_clocksource()
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dcpufreq-utils.c40 * down to ensure that we do not overflow 32 bit numbers. s3c2410_cpufreq_setrefresh()
/linux-4.1.27/arch/alpha/mm/
H A Dextable.c36 /* avoid overflow */ cmp_ex()
/linux-4.1.27/fs/ext4/
H A Dtruncate.h38 /* But we need to bound the transaction so we don't overflow the ext4_blocks_for_truncate()
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
H A Dcpupower-monitor.h64 "overflow at %u seconds, results " \
/linux-4.1.27/kernel/time/
H A Dtime.c521 * overflow: msecs_to_jiffies()
531 * we wouldn't overflow: msecs_to_jiffies()
620 * overflow and overestimates.
693 * There are better ways that don't overflow early, jiffies_64_to_clock_t()
694 * but even this doesn't overflow in hundreds of years jiffies_64_to_clock_t()
712 * overflow after 64.99 years. nsec_to_clock_t()
738 /* overflow after 292 years if HZ = 1024 */ nsecs_to_jiffies64()
743 * overflow after 64.99 years, exact for HZ = 60, 72, 90, 120 etc. nsecs_to_jiffies64()
770 * Add two timespec values and do a safety check for overflow.
/linux-4.1.27/tools/perf/scripts/python/
H A Dnetdev-times.py31 of_count_rx_skb_list = 0; # overflow count
34 of_count_tx_queue_list = 0; # overflow count
37 of_count_tx_xmit_list = 0; # overflow count
219 print "xmit Qdisc:remain:%d overflow:%d" % \
221 print "xmit netdevice:remain:%d overflow:%d" % \
223 print "receive:remain:%d overflow:%d" % \
/linux-4.1.27/drivers/media/pci/pluto2/
H A Dpluto2.c120 unsigned int overflow; member in struct:pluto
352 /* overflow interrupt */ pluto_irq()
354 pluto->overflow++; pluto_irq()
355 if (pluto->overflow) { pluto_irq()
356 dev_err(&pluto->pdev->dev, "overflow irq (%d)\n", pluto_irq()
357 pluto->overflow); pluto_irq()
359 pluto->overflow = 0; pluto_irq()
362 pluto->overflow++; pluto_irq()
/linux-4.1.27/arch/sparc/kernel/
H A Dnmi.c29 * up using profiling counter overflow interrupts and interrupt
32 * The profile overflow interrupts at level 15, so we use
H A Dwuf.S17 /* Just like the overflow handler we define macros for registers
220 * mappings. Note that unlike the window overflow handler
234 * Contrary to the arch-specific window overflow stack
/linux-4.1.27/arch/tile/include/gxio/
H A Ddma_queue.h133 * make sure the index doesn't overflow into the credits. __gxio_dma_queue_reserve()
138 /* Make sure the index doesn't overflow into the credits. */ __gxio_dma_queue_reserve()
/linux-4.1.27/arch/mn10300/kernel/
H A Drtc.c48 * BUG: This routine does not handle hour overflow properly; it just
73 * don't interfere with hour overflow. This avoids set_rtc_mmss()
/linux-4.1.27/arch/powerpc/oprofile/
H A Dop_model_7450.c105 * on overflow. So we calculate the starting value fsl7450_reg_setup()
106 * which will give us "count" until overflow. fsl7450_reg_setup()
/linux-4.1.27/arch/blackfin/lib/
H A Ddivsi3.S46 ** r3.31 means overflow, add one to result
76 r1 = r3 >> 31; /* add overflow issue back in */
/linux-4.1.27/arch/m32r/kernel/
H A Dmodule.c148 printk(KERN_ERR "module %s: relocation overflow: %u\n", apply_relocate_add()
180 printk(KERN_ERR "module %s: relocation overflow: %u\n", apply_relocate_add()
/linux-4.1.27/arch/arm/mach-ixp4xx/include/mach/
H A Dqmgr.h194 * qmgr_stat_overflow() - checks if a hardware queue experienced overflow
197 * Returns non-zero value if the queue experienced overflow.
/linux-4.1.27/arch/alpha/lib/
H A Dev6-copy_page.S14 It would be nice if EV6 handled every resource overflow efficiently,
21 path. In doing so, you can prevent the overflow and actually make
/linux-4.1.27/fs/befs/
H A Dbefs_fs_types.h242 fs64 overflow; member in struct:__anon10763
250 befs_off_t overflow; member in struct:__anon10764
H A Dbtree.c58 * it states that the overflow field of node headers is used by internal nodes
63 * greater than the last key in the internal node go into the overflow node.
69 * overflow nodes and leafnodes do not.
221 node->head.overflow = fs64_to_cpu(sb, node->od_node->overflow); befs_bt_read_node()
287 node_off = this_node->head.overflow; befs_btree_find()
288 /* if no match, go to overflow node */ befs_btree_find()
577 this_node->head.overflow); befs_btree_seekleaf()
578 *node_off = this_node->head.overflow; befs_btree_seekleaf()
610 /* all interior nodes (and only interior nodes) have an overflow node */ befs_leafnode()
611 if (node->head.overflow == befs_bt_inval) befs_leafnode()
/linux-4.1.27/arch/sh/lib64/
H A Dmemset.S56 addi r20, -7*8, r8 // loop end address; This might overflow, so we need
/linux-4.1.27/arch/sparc/lib/
H A Dmcount.S5 * This can also be tweaked for kernel stack overflow detection.
/linux-4.1.27/drivers/thunderbolt/
H A Dnhi_regs.h82 * three bitfields: tx, rx, rx overflow
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dpda.h56 * code to verify that we don't overflow the page.
/linux-4.1.27/arch/ia64/mm/
H A Dextable.c19 /* avoid overflow */ cmp_ex()
/linux-4.1.27/arch/alpha/oprofile/
H A Dop_model_ev6.c43 the counters and set the value such that it will overflow ev6_reg_setup()
H A Dop_model_ev4.c43 thing one can do at all is see if you overflow and get an ev4_reg_setup()
/linux-4.1.27/lib/mpi/
H A Dmpih-cmp.c54 * since that expression might give signed overflow. */ mpihelp_cmp()
/linux-4.1.27/drivers/net/phy/
H A Ddp83640.c84 u16 ns_hi; /* overflow[1:0], ns[29:16] */
93 u16 ns_hi; /* overflow[1:0], ns[29:16] */
836 u8 overflow; decode_rxts() local
838 overflow = (phy_rxts->ns_hi >> 14) & 0x3; decode_rxts()
839 if (overflow) decode_rxts()
840 pr_debug("rx timestamp queue overflow, count %d\n", overflow); decode_rxts()
883 u8 overflow; decode_txts() local
894 overflow = (phy_txts->ns_hi >> 14) & 0x3; decode_txts()
895 if (overflow) { decode_txts()
896 pr_debug("tx timestamp queue overflow, count %d\n", overflow); decode_txts()
/linux-4.1.27/drivers/sbus/char/
H A Ductrl.c61 #define UCTRL_INTR_RXO_REQ 0x08 /* receive FIFO overflow int req */
65 #define UCTRL_INTR_RXO_MSK 0x80 /* receive FIFO overflow mask */
71 #define UCTRL_STAT_RXO_STA 0x08 /* receive FIFO overflow status */
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_qmath.c50 * result. If the result overflow 32 bits, the output will be saturated to
67 * result. If the result overflow 16 bits, the output will be saturated to
86 * result. If the result overflow 16 bits, the output will be saturated to
/linux-4.1.27/drivers/net/ethernet/apple/
H A Dmace.h101 #define RCVCCO 0x10 /* RCVCC overflow */
102 #define RNTPCO 0x08 /* RNTPC overflow */
103 #define MPCO 0x04 /* MPC overflow */
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dsie.h35 { 0x0008, "Prog Fixedpoint overflow" }, \
37 { 0x000A, "Prog Decimal overflow" }, \
39 { 0x000C, "Prog HFP exponent overflow" }, \
/linux-4.1.27/arch/arm/include/asm/
H A Ddiv64.h124 /* to represent __m which would overflow it. */ \
133 /* need extra overflow handling later. */ \
154 /* 2) whether or not there might be an overflow in */ \
/linux-4.1.27/arch/frv/include/asm/
H A Dspr-regs.h197 #define ISR_AEXC 0x00000004 /* accrued [overflow] exception */
201 #define ISR_DTT_OVERFLOW 0x00000010 /* - record overflow */
253 #define MSR0_AOVF 0x00000001 /* overflow exception accrued */
254 #define MSRx_OVF 0x00000002 /* overflow exception detected */
263 #define MSR0_MTT_OVERFLOW 0x00001000 /* - overflow detected */
/linux-4.1.27/net/dccp/
H A Dackvec.c70 * overflow from sender-Acks which refer to after the overflow; a simple dccp_ackvec_update_records()
231 DCCP_CRIT("Ack Vector buffer overflow: dropping old entries\n"); dccp_ackvec_add_new()
321 /* This move may not have cleared the overflow flag. */ dccp_ackvec_clear_state()
329 * (empty buffer): in both cases we no longer have any overflow. dccp_ackvec_clear_state()
/linux-4.1.27/net/irda/
H A Dwrapper.c81 * we don't get tx buffer overflow.
132 * Check for the possibility of tx buffer overflow. We use async_wrap_skb()
137 net_err_ratelimited("%s(), tx buffer overflow (n=%d)\n", async_wrap_skb()
423 pr_debug("%s(), Rx buffer overflow, aborting\n", async_unwrap_other()
442 pr_debug("%s(), Rx buffer overflow, aborting\n", async_unwrap_other()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Ds626.h76 /* Audio fifo under/overflow detected. */
78 #define S626_IRQ_COINT1A 0x0400 /* counter 1A overflow interrupt mask */
79 #define S626_IRQ_COINT1B 0x0800 /* counter 1B overflow interrupt mask */
80 #define S626_IRQ_COINT2A 0x1000 /* counter 2A overflow interrupt mask */
81 #define S626_IRQ_COINT2B 0x2000 /* counter 2B overflow interrupt mask */
82 #define S626_IRQ_COINT3A 0x4000 /* counter 3A overflow interrupt mask */
83 #define S626_IRQ_COINT3B 0x8000 /* counter 3B overflow interrupt mask */
137 #define S626_PSR_AFOU 0x00000800 /* Audio FIFO under/overflow
146 * under/overflow detected. */
583 #define S626_CRBBIT_OVERDO_A 14 /* (r) A overflow routed to dig. out. */
585 #define S626_CRBBIT_OVERDO_B 13 /* (r) B overflow routed to dig. out. */
/linux-4.1.27/fs/udf/
H A Dballoc.c119 unsigned long overflow; udf_bitmap_free_blocks() local
136 overflow = 0; udf_bitmap_free_blocks()
144 overflow = bit + count - (sb->s_blocksize << 3); udf_bitmap_free_blocks()
145 count -= overflow; udf_bitmap_free_blocks()
161 if (overflow) { udf_bitmap_free_blocks()
163 count = overflow; udf_bitmap_free_blocks()
165 } while (overflow); udf_bitmap_free_blocks()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dhtc_pipe.c309 int tx_resources, overflow, txqueue_depth, i, good_pkts; htc_try_send() local
336 overflow = get_queue_depth(txq); htc_try_send()
338 /* get how much we will overflow by */ htc_try_send()
339 overflow = txqueue_depth; htc_try_send()
340 overflow += get_queue_depth(txq); htc_try_send()
341 /* get how much we will overflow the TX queue by */ htc_try_send()
342 overflow -= ep->max_txq_depth; htc_try_send()
345 /* if overflow is negative or zero, we are okay */ htc_try_send()
346 if (overflow > 0) { htc_try_send()
348 "%s: Endpoint %d, TX queue will overflow :%d, Tx Depth:%d, Max:%d\n", htc_try_send()
349 __func__, ep->eid, overflow, txqueue_depth, htc_try_send()
352 if ((overflow <= 0) || htc_try_send()
361 good_pkts = get_queue_depth(txq) - overflow; htc_try_send()
368 /* dequeue all non-overflow packets to the sendqueue */ htc_try_send()
/linux-4.1.27/arch/parisc/kernel/
H A Dperf_images.h82 * ctr2 : counts overflow from counter 0
83 * ctr3 : counts overflow from counter 1
222 * ctr0: overflow for ctr1
225 * ctr3: overflow for ctr2
269 * ctr0: overflow for ctr1
272 * ctr3: overflow for ctr2
501 * ctr1: is the overflow for counter 0.
503 * ctr3: is the overflow for counter 2.
688 * ctr2: is the overflow from counter 0
689 * ctr3: is the overflow from counter 1
734 * ctr2: is the overflow from counter 0
735 * ctr3: is the overflow from counter 1
969 * ctr2: is the overflow for ctr0
970 * ctr3: is the overflow for ctr1
1336 * ctr0: is the overflow for counter 1
1339 * ctr3: is the overflow for counter 2
1430 * ctr2: is the overflow from counter 0
1431 * ctr3: is the overflow from counter 1
1476 * ctr2: is the overflow from counter 0
1477 * ctr3: is the overflow from counter 1
1523 * ctr2: is the overflow from counter 0
1524 * ctr3: is the overflow from counter 1
1630 * ctr0: is the overflow for ctr1
1634 * ctr3: is the overflow for ctr2
1677 * ctr0: is the overflow for ctr1
1680 * ctr3: is the overflow for ctr2
1723 * ctr0: is the overflow for ctr1
1726 * ctr3: is the overflow for ctr2
1769 * ctr0: is the overflow for ctr1
1772 * ctr3: is the overflow for ctr2
1815 * ctr0: is the overflow for ctr1
1818 * ctr3: is the overflow for ctr2
1861 * ctr0: is the overflow for ctr1
1864 * ctr3: is the overflow for ctr2
1907 * ctr0: is the overflow for ctr1
1910 * ctr3: is the overflow for ctr2
1954 * ctr1: is the overflow for ctr0
1956 * ctr3: is the overflow for ctr2
2150 * ctr2 : counts overflow from counter 0
2151 * ctr3 : counts overflow from counter 1
2247 * ctr3: overflow of ctr2
/linux-4.1.27/lib/zlib_deflate/
H A Ddeftree.c423 int overflow = 0; /* number of elements with bit length too large */ gen_bitlen() local
428 * overflow in the case of the bit length tree). gen_bitlen()
435 if (bits > max_length) bits = max_length, overflow++; gen_bitlen()
448 if (overflow == 0) return; gen_bitlen()
450 Trace((stderr,"\nbit length overflow\n")); gen_bitlen()
458 s->bl_count[bits+1] += 2; /* move one overflow item as its brother */ gen_bitlen()
460 /* The brother of the overflow item also moves one step up, gen_bitlen()
463 overflow -= 2; gen_bitlen()
464 } while (overflow > 0); gen_bitlen()
1058 Assert(s->pending < s->lit_bufsize + 2*lx, "pendingBuf overflow"); compress_block()
/linux-4.1.27/arch/m68k/ifpsp060/
H A Dfskeleton.S70 | This is the exit point for the 060FPSP when an enabled overflow exception
72 | for enabled overflow conditions. The exception stack frame is an overflow
/linux-4.1.27/drivers/isdn/mISDN/
H A Dhwchannel.c267 * from overflow or too small allocation. recv_Bchannel()
280 "B%d receive queue overflow - flushing!\n", recv_Bchannel()
304 printk(KERN_WARNING "B-channel %p receive queue overflow, " recv_Bchannel_skb()
352 printk(KERN_WARNING "B-channel %p receive queue overflow, " confirm_Bsend()
/linux-4.1.27/drivers/mtd/chips/
H A Dfwh_lock.h45 * - block lock registers are 4MiB lower - overflow subtract (danger) fwh_xxlock_oneblock()
/linux-4.1.27/drivers/media/usb/tm6000/
H A Dtm6000-stds.c527 /* Mux overflow workaround */ tm6000_set_standard()
534 /* Mux overflow workaround */ tm6000_set_standard()
546 /* Mux overflow workaround */ tm6000_set_standard()
558 /* Mux overflow workaround */ tm6000_set_standard()
/linux-4.1.27/drivers/media/usb/uvc/
H A Duvc_isight.c94 "(overflow).\n"); isight_decode()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_usb.h20 u32 nRxMsgMiss; /* DPRAM msg dropped due to overflow */
/linux-4.1.27/drivers/rtc/
H A Drtc-imxdi.c78 #define DSR_MCO (1 << 3) /* monotonic counter overflow */
79 #define DSR_TCO (1 << 2) /* time counter overflow */
93 #define DTCR_MOE (1 << 9) /* monotonic overflow enabled */
94 #define DTCR_TOE (1 << 8) /* time overflow enabled */
/linux-4.1.27/drivers/s390/cio/
H A Dcrw.c107 pr_debug("%s: crw overflow detected!\n", __func__); crw_collect_info()
/linux-4.1.27/drivers/staging/unisys/visorutil/
H A Dcharqueue.c60 /* overflow; overwrite the oldest entry */ visor_charqueue_enqueue()
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/
H A Datl2.h151 #define REG_PAUSE_ON_TH 0x15A8 /* RXD high watermark of overflow
153 #define REG_PAUSE_OFF_TH 0x15AA /* RXD lower watermark of overflow
166 #define ISR_RXF_OV 4 /* RXF overflow interrupt */
204 * FIFO overflow */
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.h50 unsigned int respQ_overflow; /* # respQ overflow (fatal) */
/linux-4.1.27/drivers/clocksource/
H A Dmoxart_timer.c42 * TIMEREG_CR_*_INT overflow interrupt enable bit
/linux-4.1.27/drivers/devfreq/
H A Dgovernor_simpleondemand.c51 /* Prevent overflow */ devfreq_simple_ondemand_func()
/linux-4.1.27/arch/tile/lib/
H A Dspinlock_64.c33 * If we notice the overflow bit set on entry, we clear it.
/linux-4.1.27/drivers/acpi/acpica/
H A Ddswstate.c223 /* Check for stack overflow */ acpi_ds_result_stack_push()
227 ACPI_ERROR((AE_INFO, "Result stack overflow: State=%p Num=%u", acpi_ds_result_stack_push()
314 /* Check for stack overflow */ acpi_ds_obj_stack_push()
318 "Object stack overflow! Obj=%p State=%p #Ops=%u", acpi_ds_obj_stack_push()
/linux-4.1.27/fs/quota/
H A Dkqid.c98 * overflow identifier is returned.
/linux-4.1.27/fs/xfs/
H A Dxfs_error.c87 xfs_warn(mp, "error tag overflow, too many turned on"); xfs_errortag_add()
/linux-4.1.27/fs/kernfs/
H A Dkernfs-internal.h29 /* +1 to avoid triggering overflow warning when negating it */
/linux-4.1.27/include/media/davinci/
H A Dvpss.h106 /* clear wbl overflow flag for DM6446 */
/linux-4.1.27/arch/mn10300/unit-asb2364/include/unit/
H A Dtimex.h41 # error MTM tick timer interval value is overflow.
/linux-4.1.27/arch/frv/kernel/
H A Dtime.c95 /* without this time is undefined and can overflow time_t, causing */ read_persistent_clock()
/linux-4.1.27/arch/ia64/sn/include/
H A Dioerror.h31 * A big concern is the potential stack usage (and overflow), if each layer
/linux-4.1.27/arch/arm/mach-rpc/include/mach/
H A Dacornfb.h113 * the FIFO overflow. See VIDC20 manual page 33 (6.0 Setting the acornfb_vidc20_find_rates()
/linux-4.1.27/arch/arm/kernel/
H A Dperf_event_xscale.c146 * NOTE: there's an A stepping erratum that states if an overflow xscale1pmu_handle_irq()
154 * Write the value back to clear the overflow flags. Overflow xscale1pmu_handle_irq()
496 /* Check the overflow flag register. */ xscale2pmu_handle_irq()
501 /* Clear the overflow bits. */ xscale2pmu_handle_irq()

Completed in 5639 milliseconds

1234567