Home
last modified time | relevance | path

Searched refs:WARN_ON (Results 1 – 25 of 3750) sorted by relevance

12345678910>>...150

/linux-6.15/mm/
H A Ddebug_vm_pgtable.c127 if (WARN_ON(!args->ptep)) in pte_advanced_tests()
135 WARN_ON(pte_write(pte)); in pte_advanced_tests()
138 WARN_ON(!pte_none(pte)); in pte_advanced_tests()
152 WARN_ON(!pte_none(pte)); in pte_advanced_tests()
160 WARN_ON(pte_young(pte)); in pte_advanced_tests()
235 WARN_ON(pmd_write(pmd)); in pmd_advanced_tests()
238 WARN_ON(!pmd_none(pmd)); in pmd_advanced_tests()
519 WARN_ON(pud_bad(pud)); in pud_populate_tests()
557 WARN_ON(p4d_bad(p4d)); in p4d_populate_tests()
590 WARN_ON(pgd_bad(pgd)); in pgd_populate_tests()
[all …]
/linux-6.15/arch/powerpc/sysdev/
H A Dmsi_bitmap.c161 WARN_ON(msi_bitmap_alloc(&bmp, 0, NULL) == 0); in test_basics()
164 WARN_ON(msi_bitmap_alloc(&bmp, size, NULL)); in test_basics()
195 WARN_ON(rc < 0 && rc % 2 != 0); in test_basics()
197 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
199 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
201 WARN_ON(rc < 0 && rc % 16 != 0); in test_basics()
203 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
205 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
207 WARN_ON(rc < 0 && rc % 128 != 0); in test_basics()
212 WARN_ON(bmp.bitmap != NULL); in test_basics()
[all …]
/linux-6.15/include/linux/gpio/
H A Dconsumer.h242 WARN_ON(desc); in gpiod_put()
251 WARN_ON(desc); in devm_gpiod_unhinge()
312 WARN_ON(desc); in devm_gpiod_put()
328 WARN_ON(desc); in gpiod_get_direction()
334 WARN_ON(desc); in gpiod_direction_input()
340 WARN_ON(desc); in gpiod_direction_output()
346 WARN_ON(desc); in gpiod_direction_output_raw()
352 WARN_ON(desc); in gpiod_get_value()
367 WARN_ON(desc); in gpiod_set_value()
382 WARN_ON(desc); in gpiod_get_raw_value()
[all …]
/linux-6.15/net/wireless/
H A Dcore.c184 WARN_ON(err); in cfg80211_switch_netns()
204 WARN_ON(err); in cfg80211_switch_netns()
634 if (WARN_ON(!c->n_limits)) in wiphy_verify_iface_combinations()
744 if (WARN_ON(wiphy->wowlan && in wiphy_register()
748 if (WARN_ON(wiphy->wowlan && in wiphy_register()
810 if (WARN_ON(wiphy->coalesce && in wiphy_register()
825 if (WARN_ON(wiphy->addresses && in wiphy_register()
856 WARN_ON(!ifmodes); in wiphy_register()
967 WARN_ON(1); in wiphy_register()
1299 if (WARN_ON(curbss)) { in _cfg80211_unregister_wdev()
[all …]
/linux-6.15/include/linux/
H A Drpmsg.h219 WARN_ON(1); in rpmsg_unregister_device()
228 WARN_ON(1); in __register_rpmsg_driver()
236 WARN_ON(1); in unregister_rpmsg_driver()
242 WARN_ON(1); in rpmsg_destroy_ept()
251 WARN_ON(1); in rpmsg_create_ept()
259 WARN_ON(1); in rpmsg_send()
268 WARN_ON(1); in rpmsg_sendto()
278 WARN_ON(1); in rpmsg_send_offchannel()
286 WARN_ON(1); in rpmsg_trysend()
295 WARN_ON(1); in rpmsg_trysendto()
[all …]
H A Dgpio.h145 WARN_ON(1); in gpio_free()
161 WARN_ON(1); in gpio_get_value()
168 WARN_ON(1); in gpio_set_value()
174 WARN_ON(1); in gpio_get_value_cansleep()
181 WARN_ON(1); in gpio_set_value_cansleep()
187 WARN_ON(1); in gpio_to_irq()
194 WARN_ON(1); in devm_gpio_request()
201 WARN_ON(1); in devm_gpio_request_one()
/linux-6.15/kernel/trace/
H A Dsynth_event_gen_test.c448 WARN_ON(trace_array_set_clr_event(gen_synth_test->tr, in synth_event_gen_test_init()
452 WARN_ON(synth_event_delete("gen_synth_test")); in synth_event_gen_test_init()
462 WARN_ON(synth_event_delete("gen_synth_test")); in synth_event_gen_test_init()
468 WARN_ON(synth_event_delete("empty_synth_test")); in synth_event_gen_test_init()
473 WARN_ON(ret); in synth_event_gen_test_init()
476 WARN_ON(ret); in synth_event_gen_test_init()
479 WARN_ON(ret); in synth_event_gen_test_init()
498 WARN_ON(trace_array_set_clr_event(gen_synth_test->tr, in synth_event_gen_test_exit()
506 WARN_ON(synth_event_delete("gen_synth_test")); in synth_event_gen_test_exit()
517 WARN_ON(synth_event_delete("empty_synth_test")); in synth_event_gen_test_exit()
[all …]
H A Dkprobe_event_gen_test.c229 WARN_ON(trace_array_set_clr_event(gen_kretprobe_test->tr, in kprobe_event_gen_test_init()
234 WARN_ON(kprobe_event_delete("gen_kretprobe_test")); in kprobe_event_gen_test_init()
244 WARN_ON(trace_array_set_clr_event(gen_kprobe_test->tr, in kprobe_event_gen_test_exit()
254 WARN_ON(kprobe_event_delete("gen_kprobe_test")); in kprobe_event_gen_test_exit()
258 WARN_ON(trace_array_set_clr_event(gen_kretprobe_test->tr, in kprobe_event_gen_test_exit()
268 WARN_ON(kprobe_event_delete("gen_kretprobe_test")); in kprobe_event_gen_test_exit()
/linux-6.15/security/selinux/
H A Dima.c38 WARN_ON(rc < 0); in selinux_ima_collect_state()
41 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
44 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
47 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
50 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
53 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
57 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
61 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
/linux-6.15/kernel/kcsan/
H A Dselftest.c46 if (WARN_ON(!check_encodable(addr, size))) in test_encode_decode()
52 …if (WARN_ON(decode_watchpoint(INVALID_WATCHPOINT, &verif_masked_addr, &verif_size, &verif_is_write… in test_encode_decode()
60 if (WARN_ON(verif_masked_addr != (addr & WATCHPOINT_ADDR_MASK))) in test_encode_decode()
62 if (WARN_ON(verif_size != size)) in test_encode_decode()
64 if (WARN_ON(is_write != verif_is_write)) in test_encode_decode()
81 if (WARN_ON(!matching_access(10, 1, 10, 1))) in test_matching_access()
83 if (WARN_ON(!matching_access(10, 2, 11, 1))) in test_matching_access()
85 if (WARN_ON(!matching_access(10, 1, 9, 2))) in test_matching_access()
87 if (WARN_ON(matching_access(10, 1, 11, 1))) in test_matching_access()
89 if (WARN_ON(matching_access(9, 1, 10, 1))) in test_matching_access()
[all …]
/linux-6.15/drivers/remoteproc/
H A Dmtk_scp_ipi.c40 if (WARN_ON(id >= SCP_IPI_MAX) || WARN_ON(handler == NULL)) in scp_ipi_register()
65 if (WARN_ON(id >= SCP_IPI_MAX)) in scp_ipi_unregister()
121 if (WARN_ON(id >= SCP_IPI_MAX)) in scp_ipi_lock()
137 if (WARN_ON(id >= SCP_IPI_MAX)) in scp_ipi_unlock()
169 if (WARN_ON(id <= SCP_IPI_INIT) || WARN_ON(id >= SCP_IPI_MAX) || in scp_ipi_send()
170 WARN_ON(id == SCP_IPI_NS_SERVICE) || in scp_ipi_send()
171 WARN_ON(len > scp_sizes->ipi_share_buffer_size) || WARN_ON(!buf)) in scp_ipi_send()
/linux-6.15/include/linux/clk/
H A Dtegra.h50 if (WARN_ON(!tegra_cpu_car_ops->wait_for_reset)) in tegra_wait_cpu_in_reset()
58 if (WARN_ON(!tegra_cpu_car_ops->put_in_reset)) in tegra_put_cpu_in_reset()
66 if (WARN_ON(!tegra_cpu_car_ops->out_of_reset)) in tegra_cpu_out_of_reset()
74 if (WARN_ON(!tegra_cpu_car_ops->enable_clock)) in tegra_enable_cpu_clock()
82 if (WARN_ON(!tegra_cpu_car_ops->disable_clock)) in tegra_disable_cpu_clock()
112 if (WARN_ON(!tegra_cpu_car_ops->rail_off_ready)) in tegra_cpu_rail_off_ready()
120 if (WARN_ON(!tegra_cpu_car_ops->suspend)) in tegra_cpu_clock_suspend()
128 if (WARN_ON(!tegra_cpu_car_ops->resume)) in tegra_cpu_clock_resume()
/linux-6.15/net/mac802154/
H A Ddriver-ops.h35 WARN_ON(1); in drv_set_pan_id()
57 WARN_ON(1); in drv_set_extended_addr()
79 WARN_ON(1); in drv_set_short_addr()
101 WARN_ON(1); in drv_set_pan_coord()
122 WARN_ON(1); in drv_set_promiscuous_mode()
203 WARN_ON(1); in drv_start()
252 WARN_ON(1); in drv_set_tx_power()
270 WARN_ON(1); in drv_set_cca_mode()
287 WARN_ON(1); in drv_set_lbt_mode()
305 WARN_ON(1); in drv_set_cca_ed_level()
[all …]
/linux-6.15/drivers/dpll/
H A Ddpll_core.c138 if (WARN_ON(!reg)) in dpll_xa_ref_pin_del()
219 if (WARN_ON(!reg)) in dpll_xa_ref_dpll_del()
238 WARN_ON(!ref); in dpll_xa_ref_dpll_first()
361 if (WARN_ON(!ops)) in dpll_device_register()
363 if (WARN_ON(!ops->mode_get)) in dpll_device_register()
419 if (WARN_ON(!reg)) { in dpll_device_unregister()
532 WARN_ON(!dpll_pin); in dpll_netdev_pin_set()
645 if (WARN_ON(!ops) || in dpll_pin_register()
723 if (WARN_ON(!ops) || in dpll_pin_on_pin_register()
793 WARN_ON(!reg); in dpll_device_registration_first()
[all …]
/linux-6.15/net/ceph/
H A Dmessenger_v2.c252 WARN_ON(con->v2.out_zero); in add_out_kvec()
265 WARN_ON(con->v2.out_zero); in reset_out_kvecs()
277 WARN_ON(con->v2.out_zero); in set_out_bvec()
722 WARN_ON(con_secret_len); in setup_crypto()
744 WARN_ON(con_secret_len); in setup_crypto()
2112 WARN_ON(!tail_len); in prepare_read_tail_secure()
2896 WARN_ON(!con->in_msg); in process_message_header()
3541 WARN_ON(!resid); in revoke_at_queue_data()
3628 WARN_ON(!resid); in revoke_at_finish_message()
3668 WARN_ON(!resid); in revoke_at_prepare_read_data()
[all …]
/linux-6.15/kernel/livepatch/
H A Dpatch.c131 if (WARN_ON(!func->patched)) in klp_unpatch_func()
133 if (WARN_ON(!func->old_func)) in klp_unpatch_func()
137 if (WARN_ON(!ops)) in klp_unpatch_func()
144 if (WARN_ON(!ftrace_loc)) in klp_unpatch_func()
147 WARN_ON(unregister_ftrace_function(&ops->fops)); in klp_unpatch_func()
148 WARN_ON(ftrace_set_filter_ip(&ops->fops, ftrace_loc, 1, 0)); in klp_unpatch_func()
165 if (WARN_ON(!func->old_func)) in klp_patch_func()
168 if (WARN_ON(func->patched)) in klp_patch_func()
257 if (WARN_ON(obj->patched)) in klp_patch_object()
/linux-6.15/drivers/hwtracing/coresight/
H A Dcoresight-trbe.h111 WARN_ON(is_trbe_enabled()); in set_trbe_write_pointer()
120 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in get_trbe_limit_pointer()
129 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in get_trbe_base_pointer()
135 WARN_ON(is_trbe_enabled()); in set_trbe_base_pointer()
136 WARN_ON(!IS_ALIGNED(addr, (1UL << TRBBASER_EL1_BASE_SHIFT))); in set_trbe_base_pointer()
137 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in set_trbe_base_pointer()
/linux-6.15/drivers/infiniband/sw/rxe/
H A Drxe_task.c38 WARN_ON(rxe_read(task->qp) <= 0); in __reserve_if_idle()
111 WARN_ON(rxe_read(task->qp) <= 0); in do_task()
158 WARN_ON(1); in do_task()
167 if (WARN_ON(task->num_done != task->num_sched)) in do_task()
193 WARN_ON(rxe_read(qp) <= 0); in rxe_init_task()
245 WARN_ON(rxe_read(task->qp) <= 0); in rxe_run_task()
263 WARN_ON(rxe_read(task->qp) <= 0); in rxe_sched_task()
279 WARN_ON(rxe_read(task->qp) <= 0); in rxe_disable_task()
303 WARN_ON(rxe_read(task->qp) <= 0); in rxe_enable_task()
/linux-6.15/drivers/clk/mvebu/
H A Dcommon.c117 if (WARN_ON(!base)) in mvebu_coreclk_setup()
129 if (WARN_ON(!clk_data.clks)) { in mvebu_coreclk_setup()
140 WARN_ON(IS_ERR(clk_data.clks[0])); in mvebu_coreclk_setup()
153 WARN_ON(IS_ERR(clk_data.clks[1])); in mvebu_coreclk_setup()
165 WARN_ON(IS_ERR(clk_data.clks[2+n])); in mvebu_coreclk_setup()
176 WARN_ON(IS_ERR(clk_data.clks[2 + desc->num_ratios])); in mvebu_coreclk_setup()
248 if (WARN_ON(!base)) in mvebu_clk_gating_setup()
258 if (WARN_ON(!ctrl)) in mvebu_clk_gating_setup()
273 if (WARN_ON(!ctrl->gates)) in mvebu_clk_gating_setup()
282 WARN_ON(IS_ERR(ctrl->gates[n])); in mvebu_clk_gating_setup()
/linux-6.15/drivers/gpu/drm/
H A Ddrm_modeset_lock.c150 if (WARN_ON(!ctx)) in drm_modeset_lock_all()
171 WARN_ON(config->acquire_ctx); in drm_modeset_lock_all()
202 if (WARN_ON(!ctx)) in drm_modeset_unlock_all()
230 WARN_ON(!drm_modeset_is_locked(&crtc->mutex)); in drm_warn_on_modeset_not_all_locked()
232 WARN_ON(!drm_modeset_is_locked(&dev->mode_config.connection_mutex)); in drm_warn_on_modeset_not_all_locked()
233 WARN_ON(!mutex_is_locked(&dev->mode_config.mutex)); in drm_warn_on_modeset_not_all_locked()
276 if (WARN_ON(ctx->contended)) in drm_modeset_drop_locks()
296 if (WARN_ON(ctx->contended)) in modeset_lock()
317 WARN_ON(!list_empty(&lock->head)); in modeset_lock()
353 if (WARN_ON(!contended)) in drm_modeset_backoff()
/linux-6.15/drivers/media/mc/
H A Dmc-request.c34 if (WARN_ON(state >= ARRAY_SIZE(request_state))) in media_request_state_str()
44 WARN_ON(req->state != MEDIA_REQUEST_STATE_CLEANING); in media_request_clean()
45 WARN_ON(req->updating_count); in media_request_clean()
46 WARN_ON(req->access_count); in media_request_clean()
55 WARN_ON(req->num_incomplete_objects); in media_request_clean()
351 if (WARN_ON(req)) in media_request_object_release()
365 if (WARN_ON(!ops || !priv)) in media_request_object_find()
406 if (WARN_ON(!ops->release)) in media_request_object_bind()
438 if (WARN_ON(!req)) in media_request_object_unbind()
457 if (WARN_ON(!req->num_incomplete_objects)) in media_request_object_unbind()
[all …]
/linux-6.15/drivers/net/wireless/st/cw1200/
H A Dbh.c79 WARN_ON(err); in cw1200_register_bh()
163 if (WARN_ON(priv->hw_bufs_used < 0)) in wsm_release_tx_buffer()
199 if (WARN_ON(ret)) in cw1200_device_wakeup()
205 if (WARN_ON(ret)) in cw1200_device_wakeup()
209 if (WARN_ON(ret)) in cw1200_device_wakeup()
273 if (WARN_ON(!skb_rx)) in cw1200_bh_rx_helper()
279 if (WARN_ON(!data)) in cw1200_bh_rx_helper()
293 if (WARN_ON(wsm_len > read_len)) in cw1200_bh_rx_helper()
312 if (WARN_ON(wsm_seq != priv->wsm_rx_seq)) in cw1200_bh_rx_helper()
320 if (WARN_ON(rc < 0)) in cw1200_bh_rx_helper()
[all …]
/linux-6.15/drivers/hwspinlock/
H A Dhwspinlock_core.c324 if (WARN_ON(!hwlock)) in hwspin_lock_bust()
349 if (WARN_ON(hwlock_spec->args_count != 1)) in of_hwspin_lock_simple_xlate()
471 WARN_ON(tmp != hwlock); in hwspin_lock_register_single()
579 WARN_ON(tmp != hwlock); in hwspin_lock_unregister()
596 if (WARN_ON(!bank || !*bank)) in devm_hwspin_lock_device_match()
622 WARN_ON(ret); in devm_hwspin_lock_unregister()
707 WARN_ON(tmp != hwlock); in __hwspin_lock_request()
740 WARN_ON(hwlock_to_id(hwlock) != id); in hwspin_lock_request_specific()
805 WARN_ON(tmp != hwlock); in hwspin_lock_free()
819 if (WARN_ON(!hwlock || !*hwlock)) in devm_hwspin_lock_match()
[all …]
/linux-6.15/lib/
H A Dlocking-selftest.c1687 WARN_ON(ret); in ww_test_fail_acquire()
1741 WARN_ON(1); in ww_test_normal()
1750 WARN_ON(1); in ww_test_normal()
1760 WARN_ON(1); in ww_test_normal()
1767 WARN_ON(ret); in ww_test_normal()
1862 WARN_ON(ret); in ww_test_edeadlk_normal()
1888 WARN_ON(ret); in ww_test_edeadlk_normal_slow()
1914 WARN_ON(ret); in ww_test_edeadlk_no_unlock()
1939 WARN_ON(ret); in ww_test_edeadlk_no_unlock_slow()
1964 WARN_ON(ret); in ww_test_edeadlk_acquire_more()
[all …]
/linux-6.15/drivers/gpu/drm/nouveau/nvkm/subdev/bar/
H A Dr535.c52 if (WARN_ON(IS_ERR_OR_NULL(rpc))) in r535_bar_bar2_update_pde()
70 WARN_ON(r535_bar_bar2_update_pde(gsp, 0)); in r535_bar_bar2_fini()
80 WARN_ON(r535_bar_bar2_update_pde(gsp, vmm->pd->pde[0]->pt[0]->addr)); in r535_bar_bar2_init()
92 WARN_ON(ret); in r535_bar_bar2_init()
97 WARN_ON(!bar->flushBAR2); in r535_bar_bar2_init()
120 if (WARN_ON(ret)) in r535_bar_bar1_init()
127 if (WARN_ON(ret)) in r535_bar_bar1_init()

12345678910>>...150