/linux/arch/arm/kernel/ |
H A 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()
|
/linux/drivers/net/wireless/silabs/wfx/ |
H A 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 …]
|
H A D | bh.c | 72 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 D | bus_sdio.c | 58 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()
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rohm,bd96801-pmic.yaml | 103 regulator-temp-warn-kelvin = <0>; 114 regulator-temp-warn-kelvin = <1>; 122 regulator-ov-warn-microvolt = <18000>; 123 regulator-uv-warn-microvolt = <18000>; 133 regulator-ov-warn-microvolt = <18000>; 134 regulator-uv-warn-microvolt = <18000>; 147 regulator-temp-warn-kelvin = <0>; 158 regulator-temp-warn-kelvin = <0>; 169 regulator-temp-warn-kelvin = <0>;
|
/linux/scripts/ |
H A 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"; 599 …-z0-9]+_){1,2}(?:printk|emerg|alert|crit|err|warning|warn|notice|info|debug|dbg|vdbg|devel|cont|WA… 601 WARN(?:_RATELIMIT|_ONCE|)| 954 warn "No typos will be found - file '$spelling_file': $!\n"; 977 warn "No codespell typos will be found - file '$codespellfile': $!\n"; 1013 or warn "No structs that should be const will be found - file '$conststructsfile': $!\n"; [all …]
|
/linux/tools/objtool/ |
H A D | elf.c | 23 #include <objtool/warn.h> 82 WARN("mmap fail " #name); \ 369 WARN("unexpected data attributes for %s", in read_sections() 390 WARN("section entry mismatch"); in read_sections() 499 WARN("couldn't find section for symbol %s", in read_symbols() 539 WARN("%s(): failed to allocate memory", in read_symbols() 548 WARN("%s(): can't find parent function", in read_symbols() 646 WARN("index out of range"); in elf_update_symbol() 657 WARN("malloc"); in elf_update_symbol() 672 WARN("malloc"); in elf_update_symbol() [all …]
|
H A D | objtool.c | 17 #include <objtool/warn.h> 86 WARN("won't handle more than one file at a time"); in objtool_open_read() 98 WARN("can't create backup file"); in objtool_open_read() 121 WARN("paravirt confusion"); in objtool_pv_add()
|
/linux/scripts/coccinelle/misc/ |
H A 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);
|
/linux/arch/sh/drivers/pci/ |
H A 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()
|
/linux/lib/ |
H A D | test_rhashtable.c | 301 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 321 if (WARN(!h, "key not found during iteration %d of %d", i, entries)) { in test_rhltable() 329 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone")) in test_rhltable() 347 if (WARN(!found, "element %d not found", i)) in test_rhltable() 351 WARN(err, "rhltable_remove: err %d for iteration %d\n", err, i); in test_rhltable() 360 WARN(test_bit(i, obj_in_table), "elem %d allegedly still present", i); in test_rhltable() 364 if (WARN(err, "error %d on element %d\n", err, i)) in test_rhltable() 380 if (WARN(err, "cannot remove element at slot %d", i)) in test_rhltable() 383 if (WARN(err != -ENOENT, "removed non-existent element %d, error %d not %d", in test_rhltable() 391 if (WARN(test_and_set_bi in test_rhltable() [all...] |
H A D | logic_iomem.c | 74 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()
|
/linux/tools/objtool/include/objtool/ |
H A 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))
|
/linux/arch/arm/mach-davinci/ |
H A 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()
|
/linux/drivers/gpu/drm/ |
H A D | drm_mode_config.c | 552 * so politely WARN about this. in drm_mode_config_cleanup() 599 WARN(!!(encoder->possible_clones & drm_encoder_mask(other)) != in validate_encoder_possible_clones() 610 WARN((encoder->possible_clones & drm_encoder_mask(encoder)) == 0 || in validate_encoder_possible_clones() 633 WARN((encoder->possible_crtcs & crtc_mask) == 0 || in validate_encoder_possible_crtcs() 661 WARN(!crtc->primary, "Missing primary plane on [CRTC:%d:%s]\n", in drm_mode_config_validate() 664 WARN(crtc->cursor && crtc->funcs->cursor_set, in drm_mode_config_validate() 667 WARN(crtc->cursor && crtc->funcs->cursor_set2, in drm_mode_config_validate() 670 WARN(crtc->cursor && crtc->funcs->cursor_move, in drm_mode_config_validate() 675 WARN(!(crtc->primary->possible_crtcs & drm_crtc_mask(crtc)), in drm_mode_config_validate() 679 WARN(primary_with_crtc & drm_plane_mask(crtc->primary), in drm_mode_config_validate() [all …]
|
/linux/mm/ |
H A D | early_ioremap.c | 90 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 D | memremap.c | 184 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range() 191 WARN(1, "Conflicting mapping in same section\n"); in pagemap_range() 308 WARN(1, "Device private memory not supported\n"); in memremap_pages() 312 WARN(1, "Missing migrate_to_ram method\n"); in memremap_pages() 316 WARN(1, "Missing page_free method\n"); in memremap_pages() 320 WARN(1, "Missing owner\n"); in memremap_pages() 326 WARN(1, "Missing page_free method\n"); in memremap_pages() 330 WARN(1, "Missing owner\n"); in memremap_pages() 336 WARN(1, "File system DAX not supported\n"); in memremap_pages() 347 WARN( in memremap_pages() [all...] |
/linux/arch/sh/mm/ |
H A D | alignment.c | 26 /* bitfield: 1: warn 2: fixup 4: signal -> combinations 2|4 && 1|2|4 are not 113 "warn", 115 "fixup+warn", 117 "signal+warn" 131 se_kernmode_warn ? "+warn" : ""); in alignment_proc_show()
|
/linux/fs/sysfs/ |
H A D | symlink.c | 22 const char *name, int warn) in sysfs_do_create_link_sd() argument 50 if (warn && PTR_ERR(kn) == -EEXIST) in sysfs_do_create_link_sd() 68 const char *name, int warn) in sysfs_do_create_link() argument 80 return sysfs_do_create_link_sd(parent, target, name, warn); in sysfs_do_create_link() 103 * doesn't warn if the link already exists.
|
/linux/arch/arm/include/asm/ |
H A D | insn.h | 33 __arm_gen_branch(unsigned long pc, unsigned long addr, bool link, bool warn); 42 arm_gen_branch_link(unsigned long pc, unsigned long addr, bool warn) in arm_gen_branch_link() argument 44 return __arm_gen_branch(pc, addr, true, warn); in arm_gen_branch_link()
|
/linux/fs/quota/ |
H A D | dquot.c | 1189 static int need_print_warning(struct dquot_warn *warn) in need_print_warning() argument 1194 switch (warn->w_dq_id.type) { in need_print_warning() 1196 return uid_eq(current_fsuid(), warn->w_dq_id.uid); in need_print_warning() 1198 return in_group_p(warn->w_dq_id.gid); in need_print_warning() 1206 static void print_warning(struct dquot_warn *warn) in print_warning() argument 1210 int warntype = warn->w_type; in print_warning() 1215 warntype == QUOTA_NL_BSOFTBELOW || !need_print_warning(warn)) in print_warning() 1221 tty_write_message(tty, warn->w_sb->s_id); in print_warning() 1226 tty_write_message(tty, quotatypes[warn->w_dq_id.type]); in print_warning() 1252 static void prepare_warning(struct dquot_warn *warn, struct dquot *dquot, in prepare_warning() argument [all …]
|
/linux/fs/jfs/ |
H A D | jfs_unicode.c | 24 static int warn_again = 5; /* Only warn up to 5 times total */ in jfs_strfromUCS_le() 25 int warn = !!warn_again; /* once per string */ in jfs_strfromUCS_le() local 43 if (unlikely(warn)) { in jfs_strfromUCS_le() 44 warn--; in jfs_strfromUCS_le()
|
/linux/include/linux/ |
H A D | refcount.h | 163 * Will saturate at REFCOUNT_SATURATED and WARN. 200 * Similar to atomic_add(), but will saturate at REFCOUNT_SATURATED and WARN. 226 * and WARN. 248 * Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN. 253 * Will WARN if the refcount is 0, as this represents a possible use-after-free 285 * Similar to atomic_dec_and_test(), but it will WARN, return false and 314 * Similar to atomic_dec_and_test(), it will WARN on underflow and fail to 343 * Similar to atomic_dec(), it will WARN on underflow and fail to decrement
|
/linux/arch/mips/mm/ |
H A D | uasm.c | 79 WARN(arg & ~RS_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rs() 86 WARN(arg & ~RT_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rt() 93 WARN(arg & ~RD_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_rd() 100 WARN(arg & ~RE_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_re() 107 WARN(arg > 0x7fff || arg < -0x8000, in build_simm() 115 WARN(arg & ~IMM_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_uimm() 122 WARN(arg & ~SCIMM_MASK, in build_scimm() 130 WARN((arg > 0xff || arg < -0x100), in build_scimm9() 138 WARN(arg & ~FUNC_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_func() 145 WARN(arg & ~SET_MASK, KERN_WARNING "Micro-assembler field overflow\n"); in build_set()
|
/linux/fs/proc/ |
H A D | generic.c | 172 WARN(1, "name '%s'\n", name); in __xlate_proc_name() 375 WARN(1, "proc_dir_entry '%s/%s' already registered\n", in proc_register() 405 WARN(1, "name len %u\n", qstr.len); in __proc_create() 409 WARN(1, "name '.'\n"); in __proc_create() 413 WARN(1, "name '..'\n"); in __proc_create() 417 WARN(1, "create '/proc/%s' by hand\n", qstr.name); in __proc_create() 421 WARN(1, "attempt to add to permanently empty directory"); in __proc_create() 701 WARN(1, "removing permanent /proc entry '%s'", de->name); in remove_proc_entry() 711 WARN(1, "name '%s'\n", name); in remove_proc_entry() 717 WARN(pde_subdir_first(de), in remove_proc_entry() [all …]
|