Home
last modified time | relevance | path

Searched refs:WARN_ONCE (Results 1 – 25 of 516) sorted by relevance

12345678910>>...21

/linux/include/linux/
H A Dregmap.h1787 WARN_ONCE(1, "regmap API is disabled"); in regmap_write()
1794 WARN_ONCE(1, "regmap API is disabled"); in regmap_write_async()
1801 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write()
1808 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write_async()
1815 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_write()
1822 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_write()
1829 WARN_ONCE(1, "regmap API is disabled"); in regmap_read()
1836 WARN_ONCE(1, "regmap API is disabled"); in regmap_read_bypassed()
1843 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_read()
1850 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_read()
[all …]
H A Dalloc_tag.h155 WARN_ONCE(ref && ref->ct && !is_codetag_empty(ref), in alloc_tag_add_check()
159 WARN_ONCE(!tag, "current->alloc_tag not set\n"); in alloc_tag_add_check()
164 WARN_ONCE(ref && !ref->ct, "alloc_tag was not set\n"); in alloc_tag_sub_check()
/linux/arch/xtensa/platforms/iss/include/platform/
H A Dsimcall.h29 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/include/sound/
H A Dhda-sdw-bpt.h43 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_open()
50 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_send_async()
57 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_wait()
66 WARN_ONCE(1, "SoundWire BPT is disabled"); in hda_sdw_bpt_close()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmutil/
H A Dd11.c120 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/drivers/base/
H A Dsyscore.c59 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
68 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
98 WARN_ONCE(!irqs_disabled(), in syscore_resume()
105 WARN_ONCE(!irqs_disabled(), in syscore_resume()
/linux/arch/arm/mach-omap2/
H A Dcm_common.c57 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()
H A Dprm_common.c372 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in prm_was_any_context_lost_old()
394 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in prm_clear_context_loss_flags_old()
410 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_assert_hardreset()
433 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_deassert_hardreset()
454 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_is_hardreset_asserted()
470 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_reset_system()
496 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_clear_mod_irqs()
514 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_vp_check_txdone()
532 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_vp_clear_txdone()
/linux/scripts/coccinelle/misc/
H A Dwarn.cocci84 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/Documentation/translations/zh_CN/admin-guide/
H A Dclearing-warn-once.rst1 清除 WARN_ONCE
4 WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息.
/linux/Documentation/translations/zh_TW/admin-guide/
H A Dclearing-warn-once.rst7 清除 WARN_ONCE
10 WARN_ONCE / WARN_ON_ONCE / printk_once 僅僅打印一次消息.
/linux/Documentation/admin-guide/
H A Dclearing-warn-once.rst1 Clearing WARN_ONCE
4 WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.
/linux/lib/
H A Drcuref.c214 if (WARN_ONCE(cnt > RCUREF_MAXREF, "rcuref saturated - leaking memory")) in rcuref_get_slowpath()
266 if (WARN_ONCE(cnt >= RCUREF_RELEASED, "rcuref - imbalanced put()")) { in rcuref_put_slowpath()
H A Drefcount.c11 #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/arch/powerpc/kernel/
H A Dcacheinfo.c172 WARN_ONCE(iter->next_local == cache, in release_cache_debugcheck()
199 WARN_ONCE(cpumask_test_cpu(cpu, &next->shared_cpu_map), in cache_cpu_set()
412 WARN_ONCE(cache && cache->level != level, in cache_lookup_or_instantiate()
436 WARN_ONCE((smaller->level == 1 && bigger->level > 2) || in link_cache_lists()
444 WARN_ONCE(cache->level != 1, in do_subsidiary_caches_debugcheck()
448 WARN_ONCE(!of_node_is_type(cache->ofnode, "cpu"), in do_subsidiary_caches_debugcheck()
509 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_chain_instantiate()
535 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/tools/perf/util/
H A Dcloexec.c55 WARN_ONCE(err != EINVAL && err != EBUSY && err != EACCES, in perf_flag_probe()
73 if (WARN_ONCE(fd < 0 && err != EBUSY && err != EACCES, in perf_flag_probe()
/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.c312 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_send_cmd()
652 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_tx()
669 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_reclaim()
690 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_txq_enable_cfg()
704 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_wait_txq_empty()
714 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_wait_tx_queues_empty()
725 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_freeze_txq_timer()
749 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_set_q_ptrs()
762 if (WARN_ONCE(trans->state != IWL_TRANS_FW_ALIVE, in iwl_trans_txq_alloc()
/linux/include/net/
H A Dmac802154.h270 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_dst_pan()
323 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_src_pan()
329 WARN_ONCE(1, "invalid addr mode detected"); in ieee802154_skb_src_pan()
/linux/drivers/gpu/drm/
H A Ddrm_cache.c114 WARN_ONCE(1, "Architecture has no drm_cache.c support\n"); in drm_clflush_pages()
143 WARN_ONCE(1, "Architecture has no drm_cache.c support\n"); in drm_clflush_sg()
175 WARN_ONCE(1, "Architecture has no drm_cache.c support\n"); in drm_clflush_virt_range()
/linux/mm/
H A Dmemremap.c128 WARN_ONCE(pgmap->altmap.alloc, "failed to free all reserved pages\n"); in memunmap_pages()
152 if (WARN_ONCE(pgmap_altmap(pgmap) && range_id > 0, in pagemap_range()
174 WARN_ONCE(1, "attempted on %s region %#llx-%#llx\n", in pagemap_range()
276 if (WARN_ONCE(!nr_range, "nr_range must be specified\n")) in memremap_pages()
278 if (WARN_ONCE(pgmap->vmemmap_shift > MAX_FOLIO_ORDER, in memremap_pages()
/linux/arch/arm64/kernel/
H A Dtopology.c89 WARN_ONCE(1, "CPU%d: invalid maximum or reference frequency.\n", in freq_inv_set_max_ratio()
110 WARN_ONCE(1, "Reference frequency too low.\n"); in freq_inv_set_max_ratio()
268 WARN_ONCE(1, "Failed to allocate FIE cpumask for CPUs[%*pbl]\n", in amu_fie_setup()
/linux/drivers/soc/tegra/
H A Dflowctrl.c40 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/coco/tdx/
H A Dtdx.c401 WARN_ONCE(1, "ve->instr_len is not defined for EPT violations"); in ve_instr_len()
404 WARN_ONCE(1, "Unexpected #VE-type: %lld\n", ve->exit_reason); in ve_instr_len()
441 if (WARN_ONCE(!irq_disabled, "HLT emulation with IRQs enabled")) in handle_halt()
458 WARN_ONCE(1, "HLT instruction emulation failed\n"); in tdx_halt()
607 WARN_ONCE(1, "Access to userspace address is not supported"); in handle_mmio()
650 WARN_ONCE(1, "Unknown insn_decode_mmio() decode value?"); in handle_mmio()
/linux/arch/x86/kernel/apic/
H A Dx2apic_savic.c94 if (WARN_ONCE(!IS_ALIGNED(reg, 16), in savic_read()
112 if (WARN_ONCE(!(IS_ALIGNED(reg, 16) || in savic_read()
311 if (WARN_ONCE(vec == -1, "EOI write while no active interrupt in APIC_ISR")) in savic_eoi()
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.c131 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()

12345678910>>...21