| /kernel/liteos_m/testsuites/sample/kernel/lms/ |
| D | It_los_lms_010.c | 48 PRINTK("0x%x\n", newPtr[0x8+0x3]); /* not trigger overflow at newPtr[0x3] */ in TestCase() 50 PRINTK("Trigger write overflow\n"); in TestCase() 51 newPtr[0x8+0x4] = 0x01; /* write 0x1,trigger overflow at newPtr[0x4] */ in TestCase() 53 PRINTK("Trigger read overflow\n"); in TestCase() 54 PRINTK("0x%x\n", newPtr[0x8+0x4]); /* trigger read overflow at newPtr[0x4] */ in TestCase() 57 PRINTK("Trigger back offset write overflow\n"); in TestCase() 60 PRINTK("Trigger back offset read overflow\n"); in TestCase() 61 PRINTK("0x%x\n", *backStr); /* trigger overflow */ in TestCase() 63 PRINTK("Trigger read overflow\n"); /* trigger read overflow */ in TestCase() 64 PRINTK("0x%x\n", newPtr[0x8+0x5]); /* trigger overflow at newPtr[0x5] */ in TestCase()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/verifier/ |
| D | div_overflow.c | 2 * 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",
|
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
| D | verifier_div_overflow.c | 10 * 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")
|
| /kernel/linux/linux-5.10/drivers/atm/ |
| D | uPD98402.h | 30 #define uPD98402_PCOCR 0x10 /* Perf. Counter Overflow Cause Reg */ 31 #define uPD98402_PCOMR 0x11 /* Perf. Counter Overflow Mask Reg */ 68 #define uPD98402_INT_RFO 0x04 /* receive FIFO overflow */ 69 #define uPD98402_INT_PCO 0x08 /* performance counter overflow */ 96 #define uPD98402_PCO_B1EC 0x01 /* B1ECT overflow */ 97 #define uPD98402_PCO_B2EC 0x02 /* B2ECT overflow */ 98 #define uPD98402_PCO_B3EC 0x04 /* B3ECT overflow */ 99 #define uPD98402_PCO_PFBC 0x08 /* PFEBC overflow */ 100 #define uPD98402_PCO_LFBC 0x10 /* LFEVC overflow */ 101 #define uPD98402_PCO_HECC 0x20 /* HECCT overflow */ [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | overflow.h | 24 * overflow checkers only almost work for _Bool, but that's 51 static inline bool __must_check __must_check_overflow(bool overflow) in __must_check_overflow() argument 53 return unlikely(overflow); in __must_check_overflow() 57 * check_add_overflow() - Calculate addition with overflow checking 72 * check_sub_overflow() - Calculate subtraction with overflow checking 87 * check_mul_overflow() - Calculate multiplication with overflow checking 102 * check_shl_overflow() - Calculate a left-shifted value and check overflow 157 * Returns: true if overflow can occur, false otherwise. 171 * first argument. If this value would not overflow into an assignment 186 * with any overflow causing the return value to be SIZE_MAX. The [all …]
|
| /kernel/linux/linux-6.6/Documentation/i2c/ |
| D | i2c_bus.svg | 27 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 …]
|
| /kernel/linux/linux-5.10/Documentation/i2c/ |
| D | i2c_bus.svg | 27 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/ |
| D | check_mmap_options.c | 23 #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 …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/arm64/mte/ |
| D | check_mmap_options.c | 23 #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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | overflow.h | 26 * overflow checkers only almost work for _Bool, but that's 52 static inline bool __must_check __must_check_overflow(bool overflow) in __must_check_overflow() argument 54 return unlikely(overflow); in __must_check_overflow() 61 * macros), whereas gcc's type-generic overflow checkers accept 96 /* Checking for unsigned overflow is relatively easy without causing UB. */ 131 * For signed types, detecting overflow is much harder, especially if 142 * Adding two signed integers can overflow only if they have the same 143 * sign, and overflow has happened iff the result has the opposite 158 * Subtraction is similar, except that overflow can now happen only 159 * when the signs are opposite. In this case, overflow has happened if [all …]
|
| /kernel/linux/linux-5.10/tools/perf/pmu-events/arch/powerpc/power8/ |
| D | pmc.json | 5 "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",
|
| /kernel/linux/linux-6.6/tools/perf/pmu-events/arch/powerpc/power8/ |
| D | pmc.json | 5 "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",
|
| /kernel/linux/linux-6.6/drivers/iio/test/ |
| D | iio-test-rescale.c | 9 #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 …]
|
| /kernel/liteos_a/apps/lms/src/ |
| D | sample_usr_lms.c | 59 …printf("[LmsMallocTest] read overflow & underflow error should be triggered, read range[-1, TEST_S… in LmsMallocTest() 61 printf("[LmsMallocTest] write overflow error should be triggered, write range[0, TEST_SIZE]\n"); in LmsMallocTest() 74 …printf("[LmsReallocTest] read overflow & underflow error should be triggered, read range[-1, TEST_… in LmsReallocTest() 82 …printf("[LmsReallocTest] read overflow & underflow error should be triggered, read range[-1, TEST_… in LmsReallocTest() 96 …printf("[LmsCallocTest] read overflow & underflow error should be triggered, read range[-1, TEST_S… in LmsCallocTest() 110 …printf("[LmsVallocTest] read overflow & underflow error should be triggered, read range[-1, TEST_S… in LmsVallocTest() 125 …printf("[LmsAlignedAllocTest] read overflow & underflow error should be triggered, read range[-1,1… in LmsAlignedAllocTest() 139 …printf("[LmsMemsetTest] memset overflow & underflow error should be triggered, memset size:%d\n", … in LmsMemsetTest() 154 …printf("[LmsMemcpyTest] memcpy overflow error should be triggered, memcpy size:%d\n", TEST_SIZE + … in LmsMemcpyTest() 168 printf("[LmsMemmoveTest] memmove overflow error should be triggered\n"); in LmsMemmoveTest() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
| D | sunqe.h | 74 #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 …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
| D | sunqe.h | 74 #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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/ |
| D | udp_tunnel_nic.sh | 376 # Overflow the table 437 overflow_table0 "overflow NIC table" 438 overflow_table1 "overflow NIC table" 440 msg="replace VxLAN in overflow table" 444 msg="vacate VxLAN in overflow table" 448 msg="replace GENEVE in overflow table" 452 msg="vacate GENEVE in overflow table" 460 msg="table sharing - overflow" 462 msg="table sharing - overflow v6" 495 overflow_table0 "overflow NIC table" [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/netdevsim/ |
| D | udp_tunnel_nic.sh | 376 # Overflow the table 437 overflow_table0 "overflow NIC table" 438 overflow_table1 "overflow NIC table" 440 msg="replace VxLAN in overflow table" 444 msg="vacate VxLAN in overflow table" 448 msg="replace GENEVE in overflow table" 452 msg="vacate GENEVE in overflow table" 460 msg="table sharing - overflow" 462 msg="table sharing - overflow v6" 495 overflow_table0 "overflow NIC table" [all …]
|
| /kernel/linux/linux-5.10/Documentation/RCU/Design/Memory-Ordering/ |
| D | TreeRCU-dyntick.svg | 43 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 …]
|
| /kernel/linux/linux-6.6/Documentation/RCU/Design/Memory-Ordering/ |
| D | TreeRCU-dyntick.svg | 43 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 …]
|
| /kernel/linux/linux-5.10/tools/include/linux/ |
| D | overflow.h | 25 * overflow checkers only almost work for _Bool, but that's 44 * macros), whereas gcc's type-generic overflow checkers accept 79 /* Checking for unsigned overflow is relatively easy without causing UB. */ 114 * For signed types, detecting overflow is much harder, especially if 125 * Adding two signed integers can overflow only if they have the same 126 * sign, and overflow has happened iff the result has the opposite 141 * Subtraction is similar, except that overflow can now happen only 142 * when the signs are opposite. In this case, overflow has happened if 159 * overflow check like this: 214 * overflow. [all …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | igorplugusb.c | 51 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()
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| D | igorplugusb.c | 51 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()
|
| /kernel/linux/linux-5.10/arch/xtensa/kernel/ |
| D | vectors.S | 5 * as well as the window vectors (overflow and underflow), and the debug 117 * already in an exception, such as window overflow/underflow exception, 234 /* Window overflow/underflow exception. Get stack pointer. */ 238 /* Check for overflow/underflow exception, jump if overflow. */ 347 * Restart window OVERFLOW exception. 356 * overflow exception. Therefore, we change window base to the value 357 * before we entered the window overflow exception and prepare the 368 * To keep things simple, we take advantage of the fact all overflow 380 bbsi.l a0, 8, 1f # don't restore except for overflow 8 and 12 384 * overflow handler's reference thru a0 gets a hardware TLB refill [all …]
|
| /kernel/linux/linux-6.6/arch/xtensa/kernel/ |
| D | vectors.S | 5 * 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 …]
|