Home
last modified time | relevance | path

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

12345678910>>...23

/OK3568_Linux_fs/kernel/include/linux/
H A Dregmap.h1475 WARN_ONCE(1, "regmap API is disabled"); in regmap_write()
1482 WARN_ONCE(1, "regmap API is disabled"); in regmap_write_async()
1489 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write()
1496 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_write_async()
1503 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_write()
1510 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_write()
1517 WARN_ONCE(1, "regmap API is disabled"); in regmap_read()
1524 WARN_ONCE(1, "regmap API is disabled"); in regmap_raw_read()
1531 WARN_ONCE(1, "regmap API is disabled"); in regmap_noinc_read()
1538 WARN_ONCE(1, "regmap API is disabled"); in regmap_bulk_read()
[all …]
H A 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()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/base/
H A Dsyscore.c60 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
69 WARN_ONCE(!irqs_disabled(), in syscore_suspend()
99 WARN_ONCE(!irqs_disabled(), in syscore_resume()
106 WARN_ONCE(!irqs_disabled(), in syscore_resume()
/OK3568_Linux_fs/kernel/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);
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_mcu_shared_reg.c210 if (WARN_ONCE(!csg_reg, "Update_userio pages: group has no bound csg_reg")) in csg_reg_update_on_csis()
355 if (WARN_ONCE(!csg_reg || csg_reg->grp != group, "Group_%d_%d_%d has no csg_reg bounding", in kbase_csf_mcu_shared_set_group_csg_reg_active()
380 if (WARN_ONCE(!csg_reg || csg_reg->grp != group, "Group_%d_%d_%d has no csg_reg bound", in kbase_csf_mcu_shared_set_group_csg_reg_unused()
388 WARN_ONCE(group->csg_nr >= 0, "Group is assumed vacated from slot"); in kbase_csf_mcu_shared_set_group_csg_reg_unused()
405 if (WARN_ONCE(!group || group->csg_nr < 0, "No bound group, or group is not on-slot")) in kbase_csf_mcu_shared_add_queue()
409 if (WARN_ONCE(!csg_reg || !list_empty(&csg_reg->link), in kbase_csf_mcu_shared_add_queue()
448 if (WARN_ONCE(!group || !group->csg_reg, "Queue/Group has no bound region")) in kbase_csf_mcu_shared_drop_stopped_queue()
455 WARN_ONCE(userio_pages_replace_phys(kbdev, vpfn, NULL), in kbase_csf_mcu_shared_drop_stopped_queue()
470 if (WARN_ONCE(!csg_reg, "Update_pmode_map: the bound csg_reg can't be NULL")) in kbase_csf_mcu_shared_group_update_pmode_map()
533 WARN_ONCE(unlikely(err), "Restore dummy failed for clearing pmod buffer mapping"); in kbase_csf_mcu_shared_clear_evicted_group_csg_reg()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/kernel/
H A Dcacheinfo.c170 WARN_ONCE(iter->next_local == cache, in release_cache_debugcheck()
197 WARN_ONCE(cpumask_test_cpu(cpu, &next->shared_cpu_map), in cache_cpu_set()
404 WARN_ONCE(cache && cache->level != level, in cache_lookup_or_instantiate()
428 WARN_ONCE((smaller->level == 1 && bigger->level > 2) || in link_cache_lists()
436 WARN_ONCE(cache->level != 1, in do_subsidiary_caches_debugcheck()
440 WARN_ONCE(!of_node_is_type(cache->ofnode, "cpu"), in do_subsidiary_caches_debugcheck()
475 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_chain_instantiate()
499 WARN_ONCE(!dev, "no dev for CPU %i\n", cpu_id); in cacheinfo_create_cache_dir()
843 WARN_ONCE(!cpu_node, "no OF node found for CPU %i\n", cpu_id); in cache_lookup_by_cpu()
885 WARN_ONCE(!cpumask_test_cpu(cpu, &cache->shared_cpu_map), in cache_cpu_clear()
/OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/admin-guide/
H A Dclearing-warn-once.rst1 清除 WARN_ONCE
4 WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息.
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/
H A 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()
/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/kernel/arch/arm/kernel/
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/arch/x86/mm/
H A Dextable.c65 WARN_ONCE(1, "Bad FPU state detected at %pB, reinitializing FPU registers.", in ex_handler_fprestore()
78WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_uaccess()
89WARN_ONCE(trapnr == X86_TRAP_GP, "General protection fault in user access. Non-canonical address?"… in ex_handler_copy()
H A 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()
619 WARN_ONCE(!list_empty(&kmmio_page_table[i]), in kmmio_cleanup()
/OK3568_Linux_fs/kernel/include/net/
H A 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()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dcloexec.c68 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()
/OK3568_Linux_fs/kernel/arch/x86/kernel/fpu/
H A Dxstate.c221 WARN_ONCE(unsup_bits, "x86/fpu: Found unsupported supervisor xstates: 0x%llx\n", in fpu__init_cpu_xstate()
294 WARN_ONCE(last_good_offset > xstate_offsets[i], in setup_xstate_features()
346 WARN_ONCE(1, "Checking alignment of disabled xfeature %d\n", in xfeature_is_aligned()
520 WARN_ONCE(1, "No fixed offset for xstate %d\n", xfeature_nr); in xfeature_uncompacted_offset()
597 if (WARN_ONCE(x, "XSAVE consistency problem, dumping leaves")) { \
604 WARN_ONCE(sz != sizeof(__struct), \
644 WARN_ONCE(1, "no structure for xstate: %d\n", nr); in check_xstate_against_struct()
973 WARN_ONCE(!(xfeatures_mask_all & BIT_ULL(xfeature_nr)), in get_xsave_addr()
/OK3568_Linux_fs/kernel/lib/
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()
/OK3568_Linux_fs/kernel/arch/s390/pci/
H A Dpci_bus.c228 WARN_ONCE(1, "zbus is not multifunction\n"); in zpci_bus_device_register()
232 WARN_ONCE(1, "rid_available not set for multifunction\n"); in zpci_bus_device_register()
240 WARN_ONCE(1, "rid_available not set on function 0 for multifunction\n"); in zpci_bus_device_register()
/OK3568_Linux_fs/kernel/kernel/
H A 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()
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion_buffer.c64 WARN_ONCE(1, "This heap needs to set the sgtable"); in ion_buffer_create()
196 if (WARN_ONCE(!buffer || !buffer->sg_table, in ion_buffer_prep_noncached()
259 if (WARN_ONCE(!vaddr, in ion_buffer_kmap_get()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/drivers/clk/ingenic/
H A Dtcu.c129 WARN_ONCE(ret < 0, "Unable to read TCSR %d", tcu_clk->idx); in ingenic_tcu_get_parent()
145 WARN_ONCE(ret < 0, "Unable to update TCSR %d", tcu_clk->idx); in ingenic_tcu_set_parent()
162 WARN_ONCE(ret < 0, "Unable to read TCSR %d", tcu_clk->idx); in ingenic_tcu_recalc_rate()
208 WARN_ONCE(ret < 0, "Unable to update TCSR %d", tcu_clk->idx); in ingenic_tcu_set_rate()

12345678910>>...23