/linux/include/linux/ |
A D | regmap.h | 1567 WARN_ONCE(1, "regmap API is disabled"); in regmap_write() 1574 WARN_ONCE(1, "regmap API is disabled"); in regmap_write_async() 1581 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write() 1588 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write_async() 1595 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_write() 1602 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_write() 1609 WARN_ONCE(1, "regmap API is disabled"); in regmap_read() 1616 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_read() 1623 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_read() 1630 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_read() [all …]
|
A D | min_heap.h | 84 if (WARN_ONCE(heap->nr <= 0, "Popping an empty heap")) in min_heap_pop() 116 if (WARN_ONCE(heap->nr >= heap->size, "Pushing on a full heap")) in min_heap_push()
|
/linux/arch/xtensa/platforms/iss/include/platform/ |
A D | simcall.h | 29 WARN_ONCE(1, "%s: not implemented\n", __func__); in simc_exit() 49 WARN_ONCE(1, "%s: not implemented\n", __func__); in simc_ioctl() 71 WARN_ONCE(1, "%s: not implemented\n", __func__); in simc_poll() 86 WARN_ONCE(1, "%s: not implemented\n", __func__); in simc_argc() 96 WARN_ONCE(1, "%s: not implemented\n", __func__); in simc_argv_size() 106 WARN_ONCE(1, "%s: not implemented\n", __func__); in simc_argv()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
A D | d11.c | 120 WARN_ONCE(1, "Invalid chanspec 0x%04x\n", ch->chspec); in brcmu_d11n_decchspec() 132 WARN_ONCE(1, "Invalid chanspec 0x%04x\n", ch->chspec); in brcmu_d11n_decchspec() 159 WARN_ONCE(1, "Invalid chanspec 0x%04x\n", ch->chspec); in brcmu_d11ac_decchspec() 180 WARN_ONCE(1, "Invalid chanspec 0x%04x\n", ch->chspec); in brcmu_d11ac_decchspec() 214 WARN_ONCE(1, "Invalid chanspec 0x%04x\n", ch->chspec); in brcmu_d11ac_decchspec() 220 WARN_ONCE(1, "Invalid chanspec 0x%04x\n", ch->chspec); in brcmu_d11ac_decchspec() 232 WARN_ONCE(1, "Invalid chanspec 0x%04x\n", ch->chspec); in brcmu_d11ac_decchspec()
|
/linux/arch/arm/mach-omap2/ |
A D | prm_common.c | 377 WARN_ONCE(1, "prm: %s: no mapping function defined for reset sources\n", __func__); in prm_read_reset_sources() 401 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in prm_was_any_context_lost_old() 423 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in prm_clear_context_loss_flags_old() 439 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_assert_hardreset() 462 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_deassert_hardreset() 483 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_is_hardreset_asserted() 515 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_reset_system() 541 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_clear_mod_irqs() 558 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_vp_check_txdone() 575 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_vp_clear_txdone()
|
A D | cm_common.c | 57 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in cm_split_idlest_reg() 85 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_wait_module_ready() 111 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_wait_module_idle() 134 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_module_enable() 156 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_module_disable() 168 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_xlate_clkctrl()
|
/linux/drivers/base/ |
A D | syscore.c | 59 WARN_ONCE(!irqs_disabled(), in syscore_suspend() 68 WARN_ONCE(!irqs_disabled(), in syscore_suspend() 96 WARN_ONCE(!irqs_disabled(), in syscore_resume() 103 WARN_ONCE(!irqs_disabled(), in syscore_resume()
|
/linux/scripts/coccinelle/misc/ |
A D | warn.cocci | 84 cocci.print_main("printk + WARN_ON_ONCE can be just WARN_ONCE",p) 90 msg = "SUGGESTION: printk + WARN_ON_ONCE can be just WARN_ONCE" 99 +WARN_ONCE(1, 109 WARN_ONCE(1,es);
|
/linux/arch/powerpc/kernel/ |
A D | cacheinfo.c | 173 WARN_ONCE(iter->next_local == cache, in release_cache_debugcheck() 200 WARN_ONCE(cpumask_test_cpu(cpu, &next->shared_cpu_map), in cache_cpu_set() 413 WARN_ONCE(cache && cache->level != level, in cache_lookup_or_instantiate() 437 WARN_ONCE((smaller->level == 1 && bigger->level > 2) || in link_cache_lists() 445 WARN_ONCE(cache->level != 1, in do_subsidiary_caches_debugcheck() 449 WARN_ONCE(!of_node_is_type(cache->ofnode, "cpu"), in do_subsidiary_caches_debugcheck() 510 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_chain_instantiate() 536 WARN_ONCE(!dev, "no dev for CPU %i\n", cpu_id); in cacheinfo_create_cache_dir() 852 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_lookup_by_cpu() 895 WARN_ONCE(!cpumask_test_cpu(cpu, &cache->shared_cpu_map), in cache_cpu_clear()
|
/linux/Documentation/translations/zh_TW/admin-guide/ |
A D | clearing-warn-once.rst | 7 清除 WARN_ONCE 10 WARN_ONCE / WARN_ON_ONCE / printk_once 僅僅列印一次消息.
|
/linux/drivers/gpu/drm/i915/ |
A D | intel_runtime_pm.h | 96 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended() 104 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held() 112 WARN_ONCE(!intel_rpm_wakelock_count(wakeref_count), in __assert_rpm_wakelock_held()
|
/linux/Documentation/admin-guide/ |
A D | clearing-warn-once.rst | 1 Clearing WARN_ONCE 4 WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.
|
/linux/arch/x86/mm/ |
A D | extable.c | 47 WARN_ONCE(1, "Bad FPU state detected at %pB, reinitializing FPU registers.", in ex_handler_fprestore() 57 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_uaccess() 64 …WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_copy()
|
A D | kmmio.c | 194 WARN_ONCE(f->armed, KERN_ERR pr_fmt("kmmio page already armed.\n")); in arm_kmmio_fault_page() 200 WARN_ONCE(ret < 0, KERN_ERR pr_fmt("arming at 0x%08lx failed.\n"), in arm_kmmio_fault_page() 210 WARN_ONCE(ret < 0, in disarm_kmmio_fault_page() 619 WARN_ONCE(!list_empty(&kmmio_page_table[i]), in kmmio_cleanup()
|
/linux/arch/arm/kernel/ |
A D | perf_event_v6.c | 231 WARN_ONCE(1, "invalid counter number (%d)\n", counter); in armv6_pmcr_counter_has_overflowed() 249 WARN_ONCE(1, "invalid counter number (%d)\n", counter); in armv6pmu_read_counter() 266 WARN_ONCE(1, "invalid counter number (%d)\n", counter); in armv6pmu_write_counter() 289 WARN_ONCE(1, "invalid counter number (%d)\n", idx); in armv6pmu_enable_event() 438 WARN_ONCE(1, "invalid counter number (%d)\n", idx); in armv6pmu_disable_event() 470 WARN_ONCE(1, "invalid counter number (%d)\n", idx); in armv6mpcore_pmu_disable_event()
|
A D | perf_event_xscale.c | 138 WARN_ONCE(1, "invalid counter number (%d)\n", counter); in xscale1_pmnc_counter_has_overflowed() 228 WARN_ONCE(1, "invalid counter number (%d)\n", idx); in xscale1pmu_enable_event() 262 WARN_ONCE(1, "invalid counter number (%d)\n", idx); in xscale1pmu_disable_event() 490 WARN_ONCE(1, "invalid counter number (%d)\n", counter); in xscale2_pmnc_counter_has_overflowed() 586 WARN_ONCE(1, "invalid counter number (%d)\n", idx); in xscale2pmu_enable_event() 637 WARN_ONCE(1, "invalid counter number (%d)\n", idx); in xscale2pmu_disable_event()
|
/linux/include/net/ |
A D | mac802154.h | 274 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_dst_pan() 327 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_src_pan() 333 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_src_pan()
|
/linux/tools/perf/util/ |
A D | cloexec.c | 68 WARN_ONCE(err != EINVAL && err != EBUSY && err != EACCES, in perf_flag_probe() 86 if (WARN_ONCE(fd < 0 && err != EBUSY && err != EACCES, in perf_flag_probe()
|
/linux/lib/ |
A D | refcount.c | 11 #define REFCOUNT_WARN(str) WARN_ONCE(1, "refcount_t: " str ".\n") 87 WARN_ONCE(new > val, "refcount_t: underflow; use-after-free.\n"); in refcount_dec_not_one()
|
/linux/kernel/ |
A D | iomem.c | 81 WARN_ONCE(1, "memremap attempted on mixed range %pa size: %#lx\n", in memremap() 107 WARN_ONCE(1, "memremap attempted on ram %pa size: %#lx\n", in memremap()
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
A D | usb.c | 131 WARN_ONCE(offset > USHRT_MAX, "read high off:%08x", offset); in __mt7601u_rr() 183 WARN_ONCE(offset > USHRT_MAX, "write high off:%08x", offset); in mt7601u_wr() 216 WARN_ONCE(offset & 3, "unaligned write copy off:%08x", offset); in mt7601u_wr_copy() 217 WARN_ONCE(len & 3, "short write copy off:%08x", offset); in mt7601u_wr_copy()
|
/linux/include/asm-generic/ |
A D | bug.h | 149 #define WARN_ONCE(condition, format...) \ macro 180 #define WARN_ONCE(condition, format...) WARN(condition, format) macro
|
/linux/drivers/soc/tegra/ |
A D | flowctrl.c | 40 if (WARN_ONCE(IS_ERR_OR_NULL(tegra_flowctrl_base), in flowctrl_update() 55 if (WARN_ONCE(IS_ERR_OR_NULL(tegra_flowctrl_base), in flowctrl_read_cpu_csr()
|
/linux/arch/x86/kvm/mmu/ |
A D | spte.c | 180 WARN_ONCE(is_rsvd_spte(&vcpu->arch.mmu->shadow_zero_check, spte, level), in make_spte() 256 WARN_ONCE((spte & PT_WRITABLE_MASK) && in mark_spte_for_access_track() 260 WARN_ONCE(spte & (SHADOW_ACC_TRACK_SAVED_BITS_MASK << in mark_spte_for_access_track()
|
/linux/drivers/clk/ingenic/ |
A D | tcu.c | 134 WARN_ONCE(ret < 0, "Unable to read TCSR %d", tcu_clk->idx); in ingenic_tcu_get_parent() 150 WARN_ONCE(ret < 0, "Unable to update TCSR %d", tcu_clk->idx); in ingenic_tcu_set_parent() 167 WARN_ONCE(ret < 0, "Unable to read TCSR %d", tcu_clk->idx); in ingenic_tcu_recalc_rate() 213 WARN_ONCE(ret < 0, "Unable to update TCSR %d", tcu_clk->idx); in ingenic_tcu_set_rate()
|