Home
last modified time | relevance | path

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

12345678910>>...21

/Linux-v5.4/lib/
Drefcount.c81 WARN_ONCE(new == UINT_MAX, "refcount_t: saturated; leaking memory.\n"); in refcount_add_not_zero_checked()
105 WARN_ONCE(!refcount_add_not_zero_checked(i, r), "refcount_t: addition on 0; use-after-free.\n"); in refcount_add_checked()
136 WARN_ONCE(new == UINT_MAX, "refcount_t: saturated; leaking memory.\n"); in refcount_inc_not_zero_checked()
156 WARN_ONCE(!refcount_inc_not_zero_checked(r), "refcount_t: increment on 0; use-after-free.\n"); in refcount_inc_checked()
190 WARN_ONCE(new > val, "refcount_t: underflow; use-after-free.\n"); in refcount_sub_and_test_checked()
236 WARN_ONCE(refcount_dec_and_test_checked(r), "refcount_t: decrement hit 0; leaking memory.\n"); in refcount_dec_checked()
288 WARN_ONCE(new > val, "refcount_t: underflow; use-after-free.\n"); in refcount_dec_not_one()
/Linux-v5.4/include/linux/
Dregmap.h1293 WARN_ONCE(1, "regmap API is disabled"); in regmap_write()
1300 WARN_ONCE(1, "regmap API is disabled"); in regmap_write_async()
1307 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write()
1314 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write_async()
1321 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_write()
1328 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_write()
1335 WARN_ONCE(1, "regmap API is disabled"); in regmap_read()
1342 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_read()
1349 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_read()
1356 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_read()
[all …]
/Linux-v5.4/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-v5.4/drivers/base/
Dsyscore.c59 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
69 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
97 WARN_ONCE(!irqs_disabled(), in syscore_resume()
105 WARN_ONCE(!irqs_disabled(), in syscore_resume()
/Linux-v5.4/arch/arm/mach-omap2/
Dcm_common.c70 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in cm_split_idlest_reg()
98 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_wait_module_ready()
124 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_wait_module_idle()
147 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_module_enable()
169 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_module_disable()
181 WARN_ONCE(1, "cm: %s: no low-level function defined\n", in omap_cm_xlate_clkctrl()
Dprm_common.c377 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()
/Linux-v5.4/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-v5.4/arch/xtensa/kernel/
Dpci-dma.c113 WARN_ONCE(1, "Default %s implementation is used\n", __func__); in platform_vaddr_cached()
119 WARN_ONCE(1, "Default %s implementation is used\n", __func__); in platform_vaddr_uncached()
125 WARN_ONCE(1, "Default %s implementation is used\n", __func__); in platform_vaddr_to_uncached()
131 WARN_ONCE(1, "Default %s implementation is used\n", __func__); in platform_vaddr_to_cached()
/Linux-v5.4/Documentation/admin-guide/
Dclearing-warn-once.rst1 Clearing WARN_ONCE
4 WARN_ONCE / WARN_ON_ONCE / printk_once only emit a message once.
/Linux-v5.4/drivers/gpu/drm/i915/
Dintel_runtime_pm.h98 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended()
106 WARN_ONCE(!intel_rpm_raw_wakeref_count(wakeref_count), in __assert_rpm_raw_wakeref_held()
114 WARN_ONCE(!intel_rpm_wakelock_count(wakeref_count), in __assert_rpm_wakelock_held()
/Linux-v5.4/tools/perf/util/
Dcloexec.c68 WARN_ONCE(err != EINVAL && err != EBUSY, in perf_flag_probe()
86 if (WARN_ONCE(fd < 0 && err != EBUSY, in perf_flag_probe()
/Linux-v5.4/include/net/
Dmac802154.h274 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-v5.4/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-v5.4/net/core/
Ddst.c175 if (WARN_ONCE(newrefcnt < 0, "dst_release underflow")) in dst_release()
190 if (WARN_ONCE(newrefcnt < 0, "dst_release_immediate underflow")) in dst_release_immediate()
246 WARN_ONCE(1, "Attempting to call output on metadata dst\n"); in dst_md_discard_out()
253 WARN_ONCE(1, "Attempting to call input on metadata dst\n"); in dst_md_discard()
/Linux-v5.4/arch/powerpc/kernel/
Dcacheinfo.c168 WARN_ONCE(iter->next_local == cache, in release_cache_debugcheck()
195 WARN_ONCE(cpumask_test_cpu(cpu, &next->shared_cpu_map), in cache_cpu_set()
402 WARN_ONCE(cache && cache->level != level, in cache_lookup_or_instantiate()
458 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_chain_instantiate()
482 WARN_ONCE(!dev, "no dev for CPU %i\n", cpu_id); in cacheinfo_create_cache_dir()
815 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_lookup_by_cpu()
857 WARN_ONCE(!cpumask_test_cpu(cpu, &cache->shared_cpu_map), in cache_cpu_clear()
/Linux-v5.4/tools/perf/lib/
Dcpumap.c29 WARN_ONCE(refcount_read(&map->refcnt) != 0, in cpu_map__delete()
103 WARN_ONCE(new_max >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__read()
198 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()
/Linux-v5.4/net/hsr/
Dhsr_framereg.c48 WARN_ONCE(1, "HSR: No self node\n"); in hsr_addr_is_self()
195 WARN_ONCE(1, "%s: Non-HSR frame\n", __func__); in hsr_get_node()
271 WARN_ONCE(1, "%s: Mac header not set\n", __func__); in hsr_addr_subst_source()
293 WARN_ONCE(1, "%s: Mac header not set\n", __func__); in hsr_addr_subst_dest()
303 WARN_ONCE(1, "%s: Unknown node\n", __func__); in hsr_addr_subst_dest()
/Linux-v5.4/kernel/
Diomem.c81 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-v5.4/arch/x86/kernel/fpu/
Dxstate.c223 WARN_ONCE((xfeatures_mask & XFEATURE_MASK_SUPERVISOR), in fpu__init_cpu_xstate()
281 WARN_ONCE(last_good_offset > xstate_offsets[i], in setup_xstate_features()
442 WARN_ONCE(1, "No fixed offset for xstate %d\n", xfeature_nr); in xfeature_uncompacted_offset()
519 if (WARN_ONCE(x, "XSAVE consistency problem, dumping leaves")) { \
526 WARN_ONCE(sz != sizeof(__struct), \
564 WARN_ONCE(1, "no structure for xstate: %d\n", nr); in check_xstate_against_struct()
846 WARN_ONCE(!(xfeatures_mask & BIT_ULL(xfeature_nr)), in get_xsave_addr()
/Linux-v5.4/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-v5.4/drivers/net/wireless/mediatek/mt7601u/
Dusb.c130 WARN_ONCE(offset > USHRT_MAX, "read high off:%08x", offset); in __mt7601u_rr()
182 WARN_ONCE(offset > USHRT_MAX, "write high off:%08x", offset); in mt7601u_wr()
215 WARN_ONCE(offset & 3, "unaligned write copy off:%08x", offset); in mt7601u_wr_copy()
216 WARN_ONCE(len & 3, "short write copy off:%08x", offset); in mt7601u_wr_copy()
/Linux-v5.4/arch/x86/mm/
Dkmmio.c194 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()
624 WARN_ONCE(!list_empty(&kmmio_page_table[i]), in kmmio_cleanup()
/Linux-v5.4/include/asm-generic/
Dbug.h149 #define WARN_ONCE(condition, format...) ({ \ macro
196 #define WARN_ONCE(condition, format...) WARN(condition, format) macro
/Linux-v5.4/tools/lib/traceevent/
Dtrace-seq.c24 if (WARN_ONCE((s)->buffer == TRACE_SEQ_POISON, \
88 if (WARN_ONCE(!buf, "Can't allocate trace_seq buffer memory")) { in expand_buffer()

12345678910>>...21