Home
last modified time | relevance | path

Searched refs:WARN (Results 1 - 25 of 1737) sorted by relevance

12345678910>>...70

/kernel/linux/linux-6.6/include/asm-generic/
H A Dbug.h75 * 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/include/asm-generic/
H A Dbug.h67 * 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-5.10/drivers/staging/wfx/
H A Dkey.c29 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(ke in fill_aes_cmac_group()
[all...]
H A Dbh.c74 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()
H A Dbus_sdio.c42 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_from_io()
43 WARN(((uintptr_t)dst) & 3, "unaligned buffer size"); in wfx_sdio_copy_from_io()
44 WARN(count & 3, "unaligned buffer address"); in wfx_sdio_copy_from_io()
63 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_to_io()
64 WARN(((uintptr_t)src) & 3, "unaligned buffer size"); in wfx_sdio_copy_to_io()
65 WARN(count & 3, "unaligned buffer address"); in wfx_sdio_copy_to_io()
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/
H A Dkey.c29 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(ke in fill_aes_cmac_group()
[all...]
H A Dbh.c72 WARN(read_len > round_down(0xFFF, 2) * sizeof(u16), "request exceed the chip capability"); in rx_helper()
87 WARN(hif->encrypted & 0x3, "encryption is unsupported"); in rx_helper()
88 if (WARN(read_len < sizeof(struct wfx_hif_msg), "corrupted read")) in rx_helper()
107 WARN(wdev->hif.tx_buffers_used < release_count, "corrupted buffer counter"); in rx_helper()
175 WARN(len < sizeof(*hif), "try to send corrupted data"); in tx_helper()
181 WARN(len > le16_to_cpu(wdev->hw_caps.size_inp_ch_buf), in tx_helper()
205 WARN(!mutex_is_locked(&wdev->hif_cmd.lock), "data locking error"); in bh_work_tx()
297 WARN(!wdev->poll_irq, "unexpected IRQ polling can mask IRQ"); in wfx_bh_poll_irq()
H A Dbus_sdio.c58 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_from_io()
59 WARN(!IS_ALIGNED((uintptr_t)dst, 4), "unaligned buffer address"); in wfx_sdio_copy_from_io()
60 WARN(!IS_ALIGNED(count, 4), "unaligned buffer size"); in wfx_sdio_copy_from_io()
78 WARN(reg_id > 7, "chip only has 7 registers"); in wfx_sdio_copy_to_io()
79 WARN(!IS_ALIGNED((uintptr_t)src, 4), "unaligned buffer address"); in wfx_sdio_copy_to_io()
80 WARN(!IS_ALIGNED(count, 4), "unaligned buffer size"); in wfx_sdio_copy_to_io()
/kernel/linux/linux-6.6/scripts/
H A Dcheckpatch.pl202 } elsif ($level eq "WARN") {
595 (?:[a-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)|
597 WARN(?:_RATELIMIT|_ONCE|)|
2474 sub WARN { subroutine
2518 WARN("USE_RELATIVE_PATH",
2864 WARN("PATCH_PREFIX",
2888 WARN("OBSOLETE",
2905 WARN("DT_SPLIT_BINDING_PATCH",
2928 WARN("COMMIT_MESSAGE",
3029 WARN("BAD_SIGN_OF
[all...]
/kernel/linux/linux-5.10/scripts/
H A Dcheckpatch.pl479 (?:[a-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WARN)(?:_ratelimited|_once|)|
481 WARN(?:_RATELIMIT|_ONCE|)|
2221 sub WARN { subroutine
2265 WARN("USE_RELATIVE_PATH",
2600 WARN("PATCH_PREFIX",
2624 WARN("OBSOLETE",
2641 WARN("DT_SPLIT_BINDING_PATCH",
2664 WARN("COMMIT_MESSAGE",
2763 WARN("BAD_SIGN_OFF",
2767 if (WARN("BAD_SIGN_OF
[all...]
/kernel/linux/linux-5.10/tools/objtool/
H A Dwarn.h43 #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))
H A Dcheck.c280 WARN("calloc failed"); in cfi_alloc()
336 WARN("mmap fail cfi_hash"); in cfi_hash_alloc()
378 WARN("malloc failed"); in decode_instructions()
406 WARN("%s(): can't find starting instruction", in decode_instructions()
465 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends()
474 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends()
479 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends()
500 WARN("unexpected relocation symbol type in %s", sec->name); in add_dead_ends()
509 WARN("can't find reachable insn at %s+0x%" PRIx64, in add_dead_ends()
514 WARN("ca in add_dead_ends()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dasn1_encoder.c32 if (WARN(integer < 0, in asn1_encode_integer()
148 if (WARN(oid_len < 2, "OID must have at least two elements")) in asn1_encode_oid()
151 if (WARN(oid_len > 32, "OID is too large")) in asn1_encode_oid()
229 if (WARN(len > 0xffffff, "ASN.1 length can't be > 0xffffff")) in asn1_encode_length()
276 if (WARN(tag > 30, "ASN.1 tag can't be > 30")) in asn1_encode_tag()
279 if (!string && WARN(len > 127, in asn1_encode_tag()
379 if (!seq && WARN(len > 127, in asn1_encode_sequence()
H A Dtest_rhashtable.c300 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_bi in test_rhltable()
[all...]
H A Dlogic_iomem.c74 WARN(1, "invalid ioremap(0x%llx, 0x%zx)\n", in real_ioremap()
81 WARN(1, "invalid iounmap for addr 0x%llx\n", in real_iounmap()
175 WARN(1, "Invalid read" #op " at address %llx\n", \
183 WARN(1, "Invalid writeq" #op " of 0x%llx at address %llx\n", \
197 WARN(1, "Invalid memset_io at address 0x%llx\n", in real_memset_io()
204 WARN(1, "Invalid memcpy_fromio at address 0x%llx\n", in real_memcpy_fromio()
213 WARN(1, "Invalid memcpy_toio at address 0x%llx\n", in real_memcpy_toio()
/kernel/linux/linux-6.6/tools/objtool/include/objtool/
H A Dwarn.h44 #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/tools/objtool/
H A Delf.c84 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()
687 WARN("zer in elf_update_symbol()
[all...]
H A Dcheck.c296 WARN("calloc failed"); in cfi_alloc()
352 WARN("mmap fail cfi_hash"); in cfi_hash_alloc()
408 WARN("malloc failed"); in decode_instructions()
453 WARN("%s(): STT_FUNC at end of section", in decode_instructions()
462 WARN("%s(): can't find starting instruction", in decode_instructions()
599 WARN("unexpected relocation symbol type in %s", rsec->name); in add_dead_ends()
611 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends()
616 WARN("can't find unreachable insn at %s+0x%" PRIx64, in add_dead_ends()
638 WARN("unexpected relocation symbol type in %s", rsec->name); in add_dead_ends()
650 WARN("ca in add_dead_ends()
[all...]
/kernel/linux/linux-5.10/mm/
H A Dearly_ioremap.c96 if (WARN(count, KERN_WARNING in check_early_ioremap_leak()
124 if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", in __early_ioremap()
161 WARN(early_ioremap_debug, "%s(%pa, %08lx) [%d] => %08lx + %08lx\n", in __early_ioremap()
184 if (WARN(slot < 0, "early_iounmap(%p, %08lx) not found slot\n", in early_iounmap()
188 if (WARN(prev_size[slot] != size, in early_iounmap()
193 WARN(early_ioremap_debug, "early_iounmap(%p, %08lx) [%d]\n", in early_iounmap()
/kernel/linux/linux-6.6/mm/
H A Dearly_ioremap.c90 if (WARN(count, KERN_WARNING in check_early_ioremap_leak()
118 if (WARN(slot < 0, "%s(%pa, %08lx) not found slot\n", in __early_ioremap()
155 WARN(early_ioremap_debug, "%s(%pa, %08lx) [%d] => %08lx + %08lx\n", in __early_ioremap()
178 if (WARN(slot < 0, "%s(%p, %08lx) not found slot\n", in early_iounmap()
182 if (WARN(prev_size[slot] != size, in early_iounmap()
187 WARN(early_ioremap_debug, "%s(%p, %08lx) [%d]\n", in early_iounmap()
H A Dmemremap.c183 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range()
190 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range()
307 WARN(1, "Device private memory not supported\n"); in memremap_pages()
311 WARN(1, "Missing migrate_to_ram method\n"); in memremap_pages()
315 WARN(1, "Missing page_free method\n"); in memremap_pages()
319 WARN(1, "Missing owner\n"); in memremap_pages()
325 WARN(1, "Missing page_free method\n"); in memremap_pages()
329 WARN(1, "Missing owner\n"); in memremap_pages()
335 WARN(1, "File system DAX not supported\n"); in memremap_pages()
346 WARN( in memremap_pages()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dtest_rhashtable.c300 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_bi in test_rhltable()
[all...]
/kernel/linux/linux-5.10/drivers/tty/
H A Dtty_mutex.c17 if (WARN(tty->magic != TTY_MAGIC, "L Bad %p\n", tty)) in tty_lock()
28 if (WARN(tty->magic != TTY_MAGIC, "L Bad %p\n", tty)) in tty_lock_interruptible()
39 if (WARN(tty->magic != TTY_MAGIC, "U Bad %p\n", tty)) in tty_unlock()
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_mode_config.c545 * so politely WARN about this. in drm_mode_config_cleanup()
592 WARN(!!(encoder->possible_clones & drm_encoder_mask(other)) != in validate_encoder_possible_clones()
603 WARN((encoder->possible_clones & drm_encoder_mask(encoder)) == 0 || in validate_encoder_possible_clones()
626 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs()
654 WARN(!crtc->primary, "Missing primary plane on [CRTC:%d:%s]\n", in drm_mode_config_validate()
657 WARN(crtc->cursor && crtc->funcs->cursor_set, in drm_mode_config_validate()
660 WARN(crtc->cursor && crtc->funcs->cursor_set2, in drm_mode_config_validate()
663 WARN(crtc->cursor && crtc->funcs->cursor_move, in drm_mode_config_validate()
668 WARN(!(crtc->primary->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate()
672 WARN(primary_with_crt in drm_mode_config_validate()
[all...]
/kernel/linux/linux-5.10/drivers/misc/cxl/
H A Dhcalls.c68 WARN(1, "Warning: Giving up waiting for CXL hcall " \
165 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_attach_process()
195 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_detach_process()
236 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_function()
423 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_collect_int_info()
468 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_faults()
507 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_control_facility()
583 WARN(1, "Warning: Giving up waiting for CXL hcall " in cxl_h_download_facility()
614 WARN(1, "Unexpected return code: %lx", rc); in cxl_h_download_facility()

Completed in 20 milliseconds

12345678910>>...70