Home
last modified time | relevance | path

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

12345678910>>...26

/linux-6.6.21/include/linux/
Dregmap.h1691 WARN_ONCE(1, "regmap API is disabled"); in regmap_write()
1698 WARN_ONCE(1, "regmap API is disabled"); in regmap_write_async()
1705 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write()
1712 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write_async()
1719 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_write()
1726 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_write()
1733 WARN_ONCE(1, "regmap API is disabled"); in regmap_read()
1740 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_read()
1747 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_read()
1754 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_read()
[all …]
Dmin_heap.h84 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-6.6.21/arch/xtensa/platforms/iss/include/platform/
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-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmutil/
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-6.6.21/drivers/base/
Dsyscore.c59 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-6.6.21/arch/arm/mach-omap2/
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()
Dprm_common.c366 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in prm_was_any_context_lost_old()
388 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in prm_clear_context_loss_flags_old()
404 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_assert_hardreset()
427 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_deassert_hardreset()
448 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_is_hardreset_asserted()
464 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_reset_system()
490 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_clear_mod_irqs()
507 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_vp_check_txdone()
524 WARN_ONCE(1, "prm: %s: no mapping function defined\n", in omap_prm_vp_clear_txdone()
/linux-6.6.21/include/linux/soundwire/
Dsdw.h1093 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_stream_add_slave()
1100 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_stream_remove_slave()
1107 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_read()
1113 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_write()
1119 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_write_no_pm()
1125 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_read_no_pm()
1131 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nread()
1137 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nread_no_pm()
1143 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nwrite()
1149 WARN_ONCE(1, "SoundWire API is disabled"); in sdw_nwrite_no_pm()
[all …]
/linux-6.6.21/scripts/coccinelle/misc/
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-6.6.21/Documentation/translations/zh_CN/admin-guide/
Dclearing-warn-once.rst1 清除 WARN_ONCE
4 WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息.
/linux-6.6.21/drivers/net/mdio/
Dmdio-mscc-miim.c81 WARN_ONCE(1, "mscc miim status read error %d\n", ret); in mscc_miim_status()
124 WARN_ONCE(1, "mscc miim write cmd reg error %d\n", ret); in mscc_miim_read()
135 WARN_ONCE(1, "mscc miim read data reg error %d\n", ret); in mscc_miim_read()
168 WARN_ONCE(1, "mscc miim write error %d\n", ret); in mscc_miim_write()
187 WARN_ONCE(1, "mscc reset set error %d\n", ret); in mscc_miim_reset()
193 WARN_ONCE(1, "mscc reset clear error %d\n", ret); in mscc_miim_reset()
/linux-6.6.21/Documentation/translations/zh_TW/admin-guide/
Dclearing-warn-once.rst7 清除 WARN_ONCE
10 WARN_ONCE / WARN_ON_ONCE / printk_once 僅僅列印一次消息.
/linux-6.6.21/Documentation/admin-guide/
Dclearing-warn-once.rst1 Clearing WARN_ONCE
4 WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.
/linux-6.6.21/lib/
Drcuref.c214 if (WARN_ONCE(cnt > RCUREF_MAXREF, "rcuref saturated - leaking memory")) in rcuref_get_slowpath()
267 if (WARN_ONCE(cnt >= RCUREF_RELEASED, "rcuref - imbalanced put()")) { in rcuref_put_slowpath()
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-6.6.21/arch/powerpc/kernel/
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-6.6.21/drivers/gpu/drm/i915/
Dintel_runtime_pm.h113 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
121 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held()
129 WARN_ONCE(!intel_rpm_wakelock_count(wakeref_count), in __assert_rpm_wakelock_held()
/linux-6.6.21/tools/perf/util/
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-6.6.21/include/net/
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-6.6.21/arch/arm/kernel/
Dperf_event_v6.c231 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()
Dperf_event_xscale.c138 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-6.6.21/drivers/gpu/drm/
Ddrm_cache.c115 WARN_ONCE(1, "Architecture has no drm_cache.c support\n"); in drm_clflush_pages()
145 WARN_ONCE(1, "Architecture has no drm_cache.c support\n"); in drm_clflush_sg()
178 WARN_ONCE(1, "Architecture has no drm_cache.c support\n"); in drm_clflush_virt_range()
/linux-6.6.21/kernel/
Diomem.c78 WARN_ONCE(1, "memremap attempted on mixed range %pa size: %#lx\n", in memremap()
104 WARN_ONCE(1, "memremap attempted on ram %pa size: %#lx\n", in memremap()
/linux-6.6.21/drivers/soc/tegra/
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-6.6.21/include/asm-generic/
Dbug.h151 #define WARN_ONCE(condition, format...) \ macro
182 #define WARN_ONCE(condition, format...) WARN(condition, format) macro

12345678910>>...26