Home
last modified time | relevance | path

Searched full:overflow (Results 1 – 25 of 2156) sorted by relevance

12345678910>>...87

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dverifier_div_overflow.c10 * an exception from INT_MIN/-1 overflow similarly as with div
15 __description("DIV32 overflow, check 1")
30 __description("DIV32 overflow, check 2")
44 __description("DIV64 overflow, check 1")
62 __description("DIV64 overflow, check 2")
79 __description("MOD32 overflow, check 1")
94 __description("MOD32 overflow, check 2")
108 __description("MOD64 overflow, check 1")
127 __description("MOD64 overflow, check 2")
/Linux-v6.6/include/linux/
Doverflow.h24 * overflow checkers only almost work for _Bool, but that's
49 static inline bool __must_check __must_check_overflow(bool overflow) in __must_check_overflow() argument
51 return unlikely(overflow); in __must_check_overflow()
55 * check_add_overflow() - Calculate addition with overflow checking
70 * check_sub_overflow() - Calculate subtraction with overflow checking
85 * check_mul_overflow() - Calculate multiplication with overflow checking
100 * check_shl_overflow() - Calculate a left-shifted value and check overflow
155 * Returns: true if overflow can occur, false otherwise.
169 * first argument. If this value would not overflow into an assignment
184 * with any overflow causing the return value to be SIZE_MAX. The
[all …]
/Linux-v6.6/Documentation/i2c/
Di2c_bus.svg27 style="overflow:visible"
38 style="overflow:visible"
54 style="overflow:visible"
73 style="overflow:visible"
85 style="overflow:visible"
104 style="overflow:visible"
119 style="overflow:visible"
134 style="overflow:visible"
149 style="overflow:visible"
164 style="overflow:visible"
[all …]
/Linux-v6.6/tools/testing/selftests/arm64/mte/
Dcheck_mmap_options.c23 #define OVERFLOW MT_GRANULE_SIZE macro
49 mte_initialize_current_context(mode, (uintptr_t)ptr, size + OVERFLOW); in check_mte_memory()
50 memset(ptr + size, '3', OVERFLOW); in check_mte_memory()
68 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping()
104 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping()
139 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_clear_prot_mte_flag()
141 UNDERFLOW, OVERFLOW); in check_clear_prot_mte_flag()
143 UNDERFLOW, OVERFLOW) != KSFT_PASS) in check_clear_prot_mte_flag()
149 UNDERFLOW, OVERFLOW); in check_clear_prot_mte_flag()
154 mte_free_memory_tag_range((void *)ptr, sizes[run], mem_type, UNDERFLOW, OVERFLOW); in check_clear_prot_mte_flag()
[all …]
Dcheck_child_memory.c21 #define OVERFLOW MT_GRANULE_SIZE macro
65 mte_initialize_current_context(mode, (uintptr_t)ptr, size + OVERFLOW); in check_child_tag_inheritance()
66 memset(ptr + size, '3', OVERFLOW); in check_child_tag_inheritance()
94 UNDERFLOW, OVERFLOW); in check_child_memory_mapping()
96 UNDERFLOW, OVERFLOW) != KSFT_PASS) in check_child_memory_mapping()
99 mte_free_memory_tag_range((void *)ptr, sizes[run], mem_type, UNDERFLOW, OVERFLOW); in check_child_memory_mapping()
118 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_child_file_mapping()
/Linux-v6.6/drivers/iio/test/
Diio-test-rescale.c9 #include <linux/overflow.h>
329 * INT_PLUS_{MICRO,NANO} decimal part overflow
332 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, positive",
341 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, negative",
350 .name = "decimal overflow IIO_VAL_INT_PLUS_NANO, negative schan",
359 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, positive",
368 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, negative",
377 .name = "decimal overflow IIO_VAL_INT_PLUS_MICRO, negative schan",
386 * 32-bit overflow conditions
389 .name = "overflow IIO_VAL_FRACTIONAL, positive",
[all …]
/Linux-v6.6/tools/perf/pmu-events/arch/powerpc/power8/
Dpmc.json5 "BriefDescription": "Overflow from counter 1",
11 "BriefDescription": "Overflow from counter 2",
29 "BriefDescription": "Overflow from counter 3",
35 "BriefDescription": "Overflow from counter 4",
53 "BriefDescription": "Overflow from counter 5",
59 "BriefDescription": "Overflow from counter 6",
/Linux-v6.6/drivers/net/ethernet/sun/
Dsunqe.h74 #define CREG_STAT_CCOFLOW 0x00100000 /* TX Coll-counter Overflow */
79 #define CREG_STAT_RCCOFLOW 0x00001000 /* RX Coll-counter Overflow */
80 #define CREG_STAT_RUOFLOW 0x00000800 /* Runt Counter Overflow */
81 #define CREG_STAT_MCOFLOW 0x00000400 /* Missed Counter Overflow */
82 #define CREG_STAT_RXFOFLOW 0x00000200 /* RX FIFO Overflow */
84 #define CREG_STAT_FCOFLOW 0x00000080 /* Frame Counter Overflow */
85 #define CREG_STAT_CECOFLOW 0x00000040 /* CRC Error-counter Overflow*/
102 #define CREG_QMASK_COFLOW 0x00100000 /* CollCntr overflow */
120 #define CREG_MMASK_OFLOW 0x00000800 /* Overflow */
121 #define CREG_MMASK_RXCOLL 0x00000400 /* RX Coll-Cntr overflow */
[all …]
/Linux-v6.6/tools/testing/selftests/drivers/net/netdevsim/
Dudp_tunnel_nic.sh375 # Overflow the table
435 overflow_table0 "overflow NIC table"
436 overflow_table1 "overflow NIC table"
438 msg="replace VxLAN in overflow table"
442 msg="vacate VxLAN in overflow table"
446 msg="replace GENEVE in overflow table"
450 msg="vacate GENEVE in overflow table"
458 msg="table sharing - overflow"
460 msg="table sharing - overflow v6"
492 overflow_table0 "overflow NIC table"
[all …]
/Linux-v6.6/Documentation/RCU/Design/Memory-Ordering/
DTreeRCU-dyntick.svg43 style="overflow:visible">
57 style="overflow:visible">
71 style="overflow:visible">
85 style="overflow:visible">
99 style="overflow:visible">
113 style="overflow:visible">
127 style="overflow:visible">
141 style="overflow:visible">
155 style="overflow:visible">
169 style="overflow:visible">
[all …]
DTreeRCU-hotplug.svg43 style="overflow:visible">
57 style="overflow:visible">
71 style="overflow:visible">
85 style="overflow:visible">
99 style="overflow:visible">
113 style="overflow:visible">
127 style="overflow:visible">
141 style="overflow:visible">
155 style="overflow:visible">
169 style="overflow:visible">
[all …]
/Linux-v6.6/drivers/media/rc/
Digorplugusb.c51 unsigned i, start, overflow; in igorplugusb_irdata() local
57 * overwrites its buffer from the beginning. The overflow value is the in igorplugusb_irdata()
61 overflow = ir->buf_in[2]; in igorplugusb_irdata()
62 i = start = overflow + HEADERLEN; in igorplugusb_irdata()
65 dev_err(ir->dev, "receive overflow invalid: %u", overflow); in igorplugusb_irdata()
67 if (overflow > 0) { in igorplugusb_irdata()
68 dev_warn(ir->dev, "receive overflow, at least %u lost", in igorplugusb_irdata()
69 overflow); in igorplugusb_irdata()
/Linux-v6.6/arch/xtensa/kernel/
Dvectors.S5 * as well as the window vectors (overflow and underflow), and the debug
117 * already in an exception, such as window overflow/underflow exception,
235 /* Window overflow/underflow exception. Get stack pointer. */
239 /* Check for overflow/underflow exception, jump if overflow. */
353 * Restart window OVERFLOW exception.
362 * overflow exception. Therefore, we change window base to the value
363 * before we entered the window overflow exception and prepare the
374 * To keep things simple, we take advantage of the fact all overflow
386 bbsi.l a0, 8, 1f # don't restore except for overflow 8 and 12
390 * overflow handler's reference thru a0 gets a hardware TLB refill
[all …]
/Linux-v6.6/Documentation/admin-guide/media/
Dipu3_rcb.svg5 <symbol overflow="visible" id="glyph0-0">
8 <symbol overflow="visible" id="glyph0-1">
11 <symbol overflow="visible" id="glyph0-2">
14 <symbol overflow="visible" id="glyph0-3">
17 <symbol overflow="visible" id="glyph0-4">
20 <symbol overflow="visible" id="glyph0-5">
23 <symbol overflow="visible" id="glyph0-6">
26 <symbol overflow="visible" id="glyph0-7">
29 <symbol overflow="visible" id="glyph0-8">
32 <symbol overflow="visible" id="glyph0-9">
[all …]
/Linux-v6.6/tools/testing/selftests/lkdtm/
Dtests.txt78 FORTIFY_STRSCPY detected buffer overflow
79 FORTIFY_STR_OBJECT detected buffer overflow
80 FORTIFY_STR_MEMBER detected buffer overflow
81 FORTIFY_MEM_OBJECT detected buffer overflow
/Linux-v6.6/arch/m68k/fpsp040/
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
[all …]
Dx_ovfl.S4 | fpsp_ovfl --- FPSP handler for overflow exception
6 | Overflow occurs when a floating-point intermediate result is
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
/Linux-v6.6/arch/x86/math-emu/
Dreg_u_div.S39 Overflow flag: ovfl_flag
54 Overflow flag: ovfl_flag
129 subl %ecx,%edx /* Prevent the overflow */
198 cmpl SIGH(%ebx),%edx /* Test for imminent overflow */
206 /* The dividend is greater or equal, would cause overflow */
210 sbbl SIGH(%ebx),%edx /* Prevent the overflow */
273 /* need to check for possible subsequent overflow */
282 /* The numerator is greater or equal, would cause overflow */
283 /* prevent overflow */
363 /* need to check for possible subsequent overflow */
[all …]
/Linux-v6.6/drivers/thermal/st/
Dst_thermal.c32 sensor->overflow = devm_regmap_field_alloc(dev, regmap, in st_thermal_alloc_regfields()
33 reg_fields[OVERFLOW]); in st_thermal_alloc_regfields()
39 IS_ERR(sensor->overflow) || in st_thermal_alloc_regfields()
113 unsigned int overflow; in st_thermal_get_temp() local
116 ret = regmap_field_read(sensor->overflow, &overflow); in st_thermal_get_temp()
119 if (overflow) in st_thermal_get_temp()
/Linux-v6.6/arch/x86/kernel/
Dirq_32.c31 /* Debugging check for stack overflow: is there less than 1KB free? */
71 static inline int execute_on_irq_stack(int overflow, struct irq_desc *desc) in execute_on_irq_stack() argument
94 if (unlikely(overflow)) in execute_on_irq_stack()
153 int overflow = check_stack_overflow(); in __handle_irq() local
155 if (user_mode(regs) || !execute_on_irq_stack(overflow, desc)) { in __handle_irq()
156 if (unlikely(overflow)) in __handle_irq()
/Linux-v6.6/tools/perf/pmu-events/arch/powerpc/power10/
Dpmc.json15 "BriefDescription": "The event selected for PMC4 caused the event counter to overflow."
40 "BriefDescription": "The event selected for PMC5 caused the event counter to overflow."
85 "BriefDescription": "The event selected for PMC1 caused the event counter to overflow."
110 "BriefDescription": "The event selected for PMC2 caused the event counter to overflow."
125 "BriefDescription": "The event selected for PMC6 caused the event counter to overflow."
145 "BriefDescription": "The event selected for PMC3 caused the event counter to overflow."
/Linux-v6.6/arch/alpha/include/uapi/asm/
Dgentrap.h10 #define GEN_INTOVF -1 /* integer overflow */
12 #define GEN_FLTOVF -3 /* fp overflow */
17 #define GEN_DECOVF -8 /* decimal overflow (for COBOL??) */
23 #define GEN_STKOVF -14 /* stack overflow */
/Linux-v6.6/arch/s390/kernel/
Dperf_cpum_sf.c538 debug_sprintf_event(sfdbg, 5, "%s: overflow %llu ratio %lu num %lu\n", in sfb_account_overflows()
547 * Use this function to extend the sampling buffer based on the overflow counter
884 /* Initialize sample data overflow accounting */ in __hw_perf_event_init()
912 /* If PID/TID sampling is active, replace the default overflow in __hw_perf_event_init()
1003 * Account number of overflow-designated in cpumsf_pmu_enable()
1106 * possible event overflows. If an event overflow occurs, the PMU is
1109 * Return non-zero if an event overflow occurred.
1114 int overflow; in perf_push_sample() local
1168 overflow = 0; in perf_push_sample()
1172 overflow = 1; in perf_push_sample()
[all …]
/Linux-v6.6/include/linux/sunrpc/
Dxdr.h219 * Provide some simple tools for XDR buffer overflow-checking etc.
393 * %-EMSGSIZE on XDR buffer overflow
412 * %-EMSGSIZE on XDR buffer overflow
446 * %-EMSGSIZE on XDR buffer overflow
466 * %-EMSGSIZE on XDR buffer overflow
487 * %-EMSGSIZE on XDR buffer overflow
508 * %-EMSGSIZE on XDR buffer overflow
530 * %-EMSGSIZE on XDR buffer overflow
555 * %-EMSGSIZE on XDR buffer overflow
576 * %-EMSGSIZE on XDR buffer overflow
[all …]
/Linux-v6.6/Documentation/gpu/amdgpu/display/
Dpipeline_4k_no_split.svg27 style="overflow:visible"
42 style="overflow:visible"
57 style="overflow:visible"
72 style="overflow:visible"
87 style="overflow:visible"
102 style="overflow:visible"
117 style="overflow:visible"
132 style="overflow:visible"
147 style="overflow:visible"
162 style="overflow:visible"
[all …]

12345678910>>...87