| /kernel/uniproton/src/om/cpup/ |
| D | prt_cpup_warn.c | 34 static bool warn = FALSE; in OsCpupWarn() local 37 if (cpup > g_cpupWarnInfo.warn) { /* 当超过阀值时,发出告警信息。 */ in OsCpupWarn() 39 if ((warn == FALSE) && (g_hookCb[OS_HOOK_CPUP_WARN].sigHook != NULL)) { in OsCpupWarn() 40 warn = TRUE; in OsCpupWarn() 45 if (warn == TRUE) { in OsCpupWarn() 46 warn = FALSE; in OsCpupWarn() 58 OS_SEC_L4_TEXT U32 PRT_CpupSetWarnValue(U32 warn, U32 resume) in PRT_CpupSetWarnValue() argument 70 if (warn > CPUP_USE_RATE || warn == 0) { in PRT_CpupSetWarnValue() 74 if (resume >= warn) { in PRT_CpupSetWarnValue() 80 g_cpupWarnInfo.warn = warn; in PRT_CpupSetWarnValue() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/kernel/ |
| D | insn.c | 8 bool warn) in __arm_gen_branch_thumb2() argument 16 WARN_ON_ONCE(warn); in __arm_gen_branch_thumb2() 38 bool link, bool warn) in __arm_gen_branch_arm() argument 48 WARN_ON_ONCE(warn); in __arm_gen_branch_arm() 58 __arm_gen_branch(unsigned long pc, unsigned long addr, bool link, bool warn) in __arm_gen_branch() argument 61 return __arm_gen_branch_thumb2(pc, addr, link, warn); in __arm_gen_branch() 63 return __arm_gen_branch_arm(pc, addr, link, warn); in __arm_gen_branch()
|
| /kernel/linux/linux-6.6/arch/arm/kernel/ |
| D | insn.c | 8 bool warn) in __arm_gen_branch_thumb2() argument 16 WARN_ON_ONCE(warn); in __arm_gen_branch_thumb2() 38 bool link, bool warn) in __arm_gen_branch_arm() argument 48 WARN_ON_ONCE(warn); in __arm_gen_branch_arm() 58 __arm_gen_branch(unsigned long pc, unsigned long addr, bool link, bool warn) in __arm_gen_branch() argument 61 return __arm_gen_branch_thumb2(pc, addr, link, warn); in __arm_gen_branch() 63 return __arm_gen_branch_arm(pc, addr, link, warn); in __arm_gen_branch()
|
| /kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/ |
| D | key.c | 29 WARN(!(wdev->key_map & BIT(idx)), "inconsistent key allocation"); in wfx_free_key() 36 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_pair() 46 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_group() 58 WARN(key->keylen != sizeof(msg->tkip_key_data) + sizeof(msg->tx_mic_key) + in fill_tkip_pair() 74 WARN(key->keylen != sizeof(msg->tkip_key_data) + 2 * sizeof(msg->rx_mic_key), in fill_tkip_group() 93 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_pair() 102 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_group() 115 WARN(key->keylen != sizeof(msg->wapi_key_data) + sizeof(msg->mic_key_data), in fill_sms4_pair() 130 WARN(key->keylen != sizeof(msg->wapi_key_data) + sizeof(msg->mic_key_data), in fill_sms4_group() 142 WARN(key->keylen != sizeof(msg->igtk_key_data), "inconsistent data"); in fill_aes_cmac_group() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/wfx/ |
| D | key.c | 29 WARN(!(wdev->key_map & BIT(idx)), "inconsistent key allocation"); in wfx_free_key() 36 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_pair() 46 WARN(key->keylen > sizeof(msg->key_data), "inconsistent data"); in fill_wep_group() 58 WARN(key->keylen != sizeof(msg->tkip_key_data) in fill_tkip_pair() 77 WARN(key->keylen != sizeof(msg->tkip_key_data) in fill_tkip_group() 98 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_pair() 108 WARN(key->keylen != sizeof(msg->aes_key_data), "inconsistent data"); in fill_ccmp_group() 121 WARN(key->keylen != sizeof(msg->wapi_key_data) in fill_sms4_pair() 136 WARN(key->keylen != sizeof(msg->wapi_key_data) in fill_sms4_group() 149 WARN(key->keylen != sizeof(msg->igtk_key_data), "inconsistent data"); in fill_aes_cmac_group() [all …]
|
| D | bh.c | 74 WARN(read_len > round_down(0xFFF, 2) * sizeof(u16), in rx_helper() 90 WARN(hif->encrypted & 0x3, "encryption is unsupported"); in rx_helper() 91 if (WARN(read_len < sizeof(struct hif_msg), "corrupted read")) in rx_helper() 109 WARN(wdev->hif.tx_buffers_used < release_count, "corrupted buffer counter"); in rx_helper() 177 WARN(len < sizeof(*hif), "try to send corrupted data"); in tx_helper() 183 WARN(len > wdev->hw_caps.size_inp_ch_buf, in tx_helper() 207 WARN(!mutex_is_locked(&wdev->hif_cmd.lock), "data locking error"); in bh_work_tx() 307 WARN(!wdev->poll_irq, "unexpected IRQ polling can mask IRQ"); in wfx_bh_poll_irq()
|
| /kernel/linux/linux-6.6/include/asm-generic/ |
| D | bug.h | 75 * WARN(), WARN_ON(), WARN_ON_ONCE, and so on can be used to report 130 #ifndef WARN 131 #define WARN(condition, format...) ({ \ macro 152 DO_ONCE_LITE_IF(condition, WARN, 1, format) 173 #ifndef WARN 174 #define WARN(condition, format...) ({ \ macro 182 #define WARN_ONCE(condition, format...) WARN(condition, format) 183 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) 184 #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format)
|
| /kernel/linux/linux-5.10/scripts/ |
| D | checkpatch.pl | 104 if exceeded, warn on patches 106 --min-conf-desc-length=n set the min description length, if shorter, warn 179 or warn "$P: Can't find a readable $configuration_file file $!\n"; 479 …-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WA… 481 WARN(?:_RATELIMIT|_ONCE|)| 721 warn "No typos will be found - file '$spelling_file': $!\n"; 744 warn "No codespell typos will be found - file '$codespellfile': $!\n"; 780 or warn "No structs that should be const will be found - file '$conststructsfile': $!\n"; 786 or warn "No additional types will be considered - file '$typedefsfile': $!\n"; 878 or warn "$P: Can't read '$file' $!\n"; [all …]
|
| D | faddr2line | 52 warn() { function 107 warn "bad func+offset $func_addr" 137 warn "bad section size: section: $sym_sec" 148 warn "bad section name: section: $sym_sec" 184 …warn "can't find symbol: sym_name: $sym_name sym_sec: $sym_sec sym_addr: $sym_addr sym_elf_size: $… 194 warn "bad symbol size: sym_addr: $sym_addr cur_sym_addr: $cur_sym_addr" 204 warn "bad address: $sym_addr + $func_offset" 290 warn "no match for $func_addr"
|
| /kernel/linux/linux-6.6/scripts/coccinelle/misc/ |
| D | warn.cocci | 2 /// Use WARN(1,...) rather than printk followed by WARN_ON(1) 35 cocci.print_main("printk + WARN_ON can be just WARN",p) 41 msg = "SUGGESTION: printk + WARN_ON can be just WARN" 50 +WARN(1, 60 WARN(1,es);
|
| /kernel/linux/linux-5.10/scripts/coccinelle/misc/ |
| D | warn.cocci | 2 /// Use WARN(1,...) rather than printk followed by WARN_ON(1) 35 cocci.print_main("printk + WARN_ON can be just WARN",p) 41 msg = "SUGGESTION: printk + WARN_ON can be just WARN" 50 +WARN(1, 60 WARN(1,es);
|
| /kernel/linux/linux-5.10/include/asm-generic/ |
| D | bug.h | 67 * WARN(), WARN_ON(), WARN_ON_ONCE, and so on can be used to report 126 #ifndef WARN 127 #define WARN(condition, format...) ({ \ macro 161 WARN(1, format); \ 193 #ifndef WARN 194 #define WARN(condition, format...) ({ \ macro 202 #define WARN_ONCE(condition, format...) WARN(condition, format) 203 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) 204 #define WARN_TAINT_ONCE(condition, taint, format...) WARN(condition, format)
|
| /kernel/linux/linux-6.6/scripts/ |
| D | checkpatch.pl | 114 if exceeded, warn on patches 116 --min-conf-desc-length=n set the min description length, if shorter, warn 204 } elsif ($level eq "WARN") { 225 or warn "$P: Can't find a readable $configuration_file file $!\n"; 249 or warn "$P: Can't read the documentation file $docsfile $!\n"; 598 …-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WA… 600 WARN(?:_RATELIMIT|_ONCE|)| 953 warn "No typos will be found - file '$spelling_file': $!\n"; 976 warn "No codespell typos will be found - file '$codespellfile': $!\n"; 1012 or warn "No structs that should be const will be found - file '$conststructsfile': $!\n"; [all …]
|
| /kernel/linux/linux-5.10/arch/sh/drivers/pci/ |
| D | pci.c | 194 unsigned int status_mask, int warn) in pcibios_bus_report_status_early() argument 213 if (warn) in pcibios_bus_report_status_early() 225 int warn) in pcibios_bus_report_status() argument 249 if (warn) in pcibios_bus_report_status() 255 pcibios_bus_report_status(dev->subordinate, status_mask, warn); in pcibios_bus_report_status() 258 void __ref pcibios_report_status(unsigned int status_mask, int warn) in pcibios_report_status() argument 265 hose->index, status_mask, warn); in pcibios_report_status() 267 pcibios_bus_report_status(hose->bus, status_mask, warn); in pcibios_report_status()
|
| /kernel/linux/linux-6.6/arch/sh/drivers/pci/ |
| D | pci.c | 194 unsigned int status_mask, int warn) in pcibios_bus_report_status_early() argument 213 if (warn) in pcibios_bus_report_status_early() 225 int warn) in pcibios_bus_report_status() argument 249 if (warn) in pcibios_bus_report_status() 255 pcibios_bus_report_status(dev->subordinate, status_mask, warn); in pcibios_bus_report_status() 258 void __ref pcibios_report_status(unsigned int status_mask, int warn) in pcibios_report_status() argument 265 hose->index, status_mask, warn); in pcibios_report_status() 267 pcibios_bus_report_status(hose->bus, status_mask, warn); in pcibios_report_status()
|
| /kernel/linux/linux-6.6/tools/objtool/ |
| D | elf.c | 23 #include <objtool/warn.h> 84 WARN("mmap fail " #name); \ 366 WARN("unexpected data attributes for %s", in read_sections() 387 WARN("section entry mismatch"); in read_sections() 496 WARN("couldn't find section for symbol %s", in read_symbols() 535 WARN("%s(): parent function name exceeds maximum length of %d characters", in read_symbols() 545 WARN("%s(): can't find parent function", in read_symbols() 643 WARN("index out of range"); in elf_update_symbol() 654 WARN("malloc"); in elf_update_symbol() 669 WARN("malloc"); in elf_update_symbol() [all …]
|
| /kernel/linux/linux-5.10/tools/objtool/ |
| D | warn.h | 43 #define WARN(format, ...) \ macro 51 WARN("%s: " format, _str, ##__VA_ARGS__); \ 59 WARN(" %s: " format, _str, ##__VA_ARGS__); \ 64 WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1))
|
| /kernel/linux/linux-5.10/include/acpi/platform/ |
| D | acintel.h | 43 /* warn C4100: unreferenced formal parameter */ 46 /* warn C4127: conditional expression is constant */ 49 /* warn C4706: assignment within conditional expression */ 52 /* warn C4214: bit field types other than int */
|
| /kernel/linux/linux-5.10/arch/arm/include/asm/ |
| D | insn.h | 16 __arm_gen_branch(unsigned long pc, unsigned long addr, bool link, bool warn); 25 arm_gen_branch_link(unsigned long pc, unsigned long addr, bool warn) in arm_gen_branch_link() argument 27 return __arm_gen_branch(pc, addr, true, warn); in arm_gen_branch_link()
|
| /kernel/linux/linux-6.6/tools/objtool/include/objtool/ |
| D | warn.h | 44 #define WARN(format, ...) \ macro 52 WARN("%s: " format, _str, ##__VA_ARGS__); \ 71 WARN(" %s: " format, _str, ##__VA_ARGS__); \ 77 WARN(format ": %s", ##__VA_ARGS__, elf_errmsg(-1))
|
| /kernel/linux/linux-6.6/arch/arm/mach-davinci/ |
| D | mux.c | 38 unsigned int mask, warn = 0; in davinci_cfg_reg() local 78 warn = 1; in davinci_cfg_reg() 84 if (warn) { in davinci_cfg_reg() 91 if (cfg->debug || warn) { in davinci_cfg_reg()
|
| /kernel/linux/linux-5.10/arch/arm/probes/kprobes/ |
| D | Makefile | 18 # don't warn about intentionally bogus instructions 19 CFLAGS_test-arm.o += -Wa,--no-warn 20 CFLAGS_test-thumb.o += -Wa,--no-warn
|
| /kernel/linux/linux-5.10/lib/ |
| D | test_rhashtable.c | 300 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 320 if (WARN(!h, "key not found during iteration %d of %d", i, entries)) { in test_rhltable() 328 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone")) in test_rhltable() 346 if (WARN(!found, "element %d not found", i)) in test_rhltable() 350 WARN(err, "rhltable_remove: err %d for iteration %d\n", err, i); in test_rhltable() 359 WARN(test_bit(i, obj_in_table), "elem %d allegedly still present", i); in test_rhltable() 363 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 387 if (WARN(err, "cannot remove element at slot %d", i)) in test_rhltable() 390 if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d", in test_rhltable() 402 if (WARN(test_and_set_bit(i, obj_in_table), "succeeded to insert same object %d", i)) in test_rhltable() [all …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | test_rhashtable.c | 300 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 320 if (WARN(!h, "key not found during iteration %d of %d", i, entries)) { in test_rhltable() 328 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone")) in test_rhltable() 346 if (WARN(!found, "element %d not found", i)) in test_rhltable() 350 WARN(err, "rhltable_remove: err %d for iteration %d\n", err, i); in test_rhltable() 359 WARN(test_bit(i, obj_in_table), "elem %d allegedly still present", i); in test_rhltable() 363 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 379 if (WARN(err, "cannot remove element at slot %d", i)) in test_rhltable() 382 if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d", in test_rhltable() 390 if (WARN(test_and_set_bit(i, obj_in_table), "succeeded to insert same object %d", i)) in test_rhltable() [all …]
|
| /kernel/linux/linux-5.10/tools/perf/tests/ |
| D | vmlinux-kallsyms.c | 140 pr_debug("WARN: %#" PRIx64 ": diff end addr for %s v: %#" PRIx64 " k: %#" PRIx64 "\n", in test__vmlinux_matches_kallsyms() 157 pr_debug("WARN: %#" PRIx64 ": diff name v: %s k: %s\n", in test__vmlinux_matches_kallsyms() 160 pr_debug("WARN: %#" PRIx64 ": diff name v: %s k: %s\n", in test__vmlinux_matches_kallsyms() 200 pr_info("WARN: Maps only in vmlinux:\n"); in test__vmlinux_matches_kallsyms() 221 pr_info("WARN: Maps in vmlinux with a different name in kallsyms:\n"); in test__vmlinux_matches_kallsyms() 225 pr_info("WARN: %" PRIx64 "-%" PRIx64 " %" PRIx64 " %s in kallsyms as", in test__vmlinux_matches_kallsyms() 242 pr_info("WARN: Maps only in kallsyms:\n"); in test__vmlinux_matches_kallsyms()
|