Home
last modified time | relevance | path

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

12345678910>>...98

/Linux-v6.1/tools/testing/selftests/bpf/verifier/
Ddiv_overflow.c2 * an exception from INT_MIN/-1 overflow similarly as with div
6 "DIV32 overflow, check 1",
18 "DIV32 overflow, check 2",
29 "DIV64 overflow, check 1",
44 "DIV64 overflow, check 2",
58 "MOD32 overflow, check 1",
70 "MOD32 overflow, check 2",
81 "MOD64 overflow, check 1",
97 "MOD64 overflow, check 2",
/Linux-v6.1/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.1/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
137 * with any overflow causing the return value to be SIZE_MAX. The
156 * with any overflow causing the return value to be SIZE_MAX. The
175 * with any overflow causing the return value to be SIZE_MAX. For
[all …]
/Linux-v6.1/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()
69 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_anonymous_memory_mapping()
105 map_size = sizes[run] + UNDERFLOW + OVERFLOW; in check_file_memory_mapping()
140 map_size = sizes[run] + OVERFLOW + UNDERFLOW; in check_clear_prot_mte_flag()
142 UNDERFLOW, OVERFLOW); in check_clear_prot_mte_flag()
144 UNDERFLOW, OVERFLOW) != KSFT_PASS) in check_clear_prot_mte_flag()
150 UNDERFLOW, OVERFLOW); in check_clear_prot_mte_flag()
155 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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/arch/s390/kernel/
Dperf_cpum_sf.c485 debug_sprintf_event(sfdbg, 5, "%s: overflow %llu ratio %lu num %lu\n", in sfb_account_overflows()
494 * Use this function to extend the sampling buffer based on the overflow counter
845 /* Initialize sample data overflow accounting */ in __hw_perf_event_init()
873 /* If PID/TID sampling is active, replace the default overflow in __hw_perf_event_init()
968 * Account number of overflow-designated in cpumsf_pmu_enable()
1073 * possible event overflows. If an event overflow occurs, the PMU is
1076 * Return non-zero if an event overflow occurred.
1081 int overflow; in perf_push_sample() local
1135 overflow = 0; in perf_push_sample()
1139 overflow = 1; in perf_push_sample()
[all …]
/Linux-v6.1/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.1/arch/x86/kernel/
Dirq_32.c31 /* Debugging check for stack overflow: is there less than 1KB free? */
74 static inline int execute_on_irq_stack(int overflow, struct irq_desc *desc) in execute_on_irq_stack() argument
97 if (unlikely(overflow)) in execute_on_irq_stack()
156 int overflow = check_stack_overflow(); in __handle_irq() local
158 if (user_mode(regs) || !execute_on_irq_stack(overflow, desc)) { in __handle_irq()
159 if (unlikely(overflow)) in __handle_irq()
/Linux-v6.1/Documentation/devicetree/bindings/perf/
Darm,cmn.yaml29 - description: Overflow interrupt for DTC0
30 - description: Overflow interrupt for DTC1
31 - description: Overflow interrupt for DTC2
32 - description: Overflow interrupt for DTC3
/Linux-v6.1/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 …]
/Linux-v6.1/drivers/misc/lkdtm/
Dfortify.c33 pr_err("FAIL: fortify did not block a strncpy() object write overflow!\n"); in lkdtm_FORTIFY_STR_OBJECT()
62 pr_err("FAIL: fortify did not block a strncpy() struct member write overflow!\n"); in lkdtm_FORTIFY_STR_MEMBER()
98 pr_err("FAIL: fortify did not block a memcpy() object write overflow!\n"); in lkdtm_FORTIFY_MEM_OBJECT()
127 pr_err("FAIL: fortify did not block a memcpy() struct member write overflow!\n"); in lkdtm_FORTIFY_MEM_MEMBER()
135 * strscpy and generate a panic because there is a write overflow (i.e. src
196 * a runtime write overflow. in lkdtm_FORTIFY_STRSCPY()
200 pr_err("FAIL: strscpy() overflow not detected!\n"); in lkdtm_FORTIFY_STRSCPY()
/Linux-v6.1/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()
114 unsigned int overflow; in st_thermal_get_temp() local
117 ret = regmap_field_read(sensor->overflow, &overflow); in st_thermal_get_temp()
120 if (overflow) in st_thermal_get_temp()

12345678910>>...98