Home
last modified time | relevance | path

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

12345678910>>...133

/linux-6.3-rc2/mm/
A Ddebug_vm_pgtable.c146 WARN_ON(pte_write(pte)); in pte_advanced_tests()
149 WARN_ON(!pte_none(pte)); in pte_advanced_tests()
163 WARN_ON(!pte_none(pte)); in pte_advanced_tests()
171 WARN_ON(pte_young(pte)); in pte_advanced_tests()
246 WARN_ON(pmd_write(pmd)); in pmd_advanced_tests()
249 WARN_ON(!pmd_none(pmd)); in pmd_advanced_tests()
263 WARN_ON(!pmd_none(pmd)); in pmd_advanced_tests()
523 WARN_ON(pud_bad(pud)); in pud_populate_tests()
562 WARN_ON(p4d_bad(p4d)); in p4d_populate_tests()
596 WARN_ON(pgd_bad(pgd)); in pgd_populate_tests()
[all …]
/linux-6.3-rc2/arch/powerpc/sysdev/
A Dmsi_bitmap.c164 WARN_ON(msi_bitmap_alloc(&bmp, 0, NULL) == 0); in test_basics()
167 WARN_ON(msi_bitmap_alloc(&bmp, size, NULL)); in test_basics()
198 WARN_ON(rc < 0 && rc % 2 != 0); in test_basics()
200 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
202 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
204 WARN_ON(rc < 0 && rc % 16 != 0); in test_basics()
206 WARN_ON(rc < 0 && rc % 4 != 0); in test_basics()
208 WARN_ON(rc < 0 && rc % 8 != 0); in test_basics()
210 WARN_ON(rc < 0 && rc % 128 != 0); in test_basics()
215 WARN_ON(bmp.bitmap != NULL); in test_basics()
[all …]
/linux-6.3-rc2/include/linux/gpio/
A Dconsumer.h244 WARN_ON(desc); in gpiod_put()
253 WARN_ON(desc); in devm_gpiod_unhinge()
314 WARN_ON(desc); in devm_gpiod_put()
330 WARN_ON(desc); in gpiod_get_direction()
336 WARN_ON(desc); in gpiod_direction_input()
342 WARN_ON(desc); in gpiod_direction_output()
348 WARN_ON(desc); in gpiod_direction_output_raw()
354 WARN_ON(desc); in gpiod_enable_hw_timestamp_ns()
360 WARN_ON(desc); in gpiod_disable_hw_timestamp_ns()
366 WARN_ON(desc); in gpiod_get_value()
[all …]
/linux-6.3-rc2/include/linux/
A Dgpio.h129 WARN_ON(1); in gpio_free()
137 WARN_ON(1); in gpio_free_array()
158 WARN_ON(1); in gpio_get_value()
165 WARN_ON(1); in gpio_set_value()
171 WARN_ON(1); in gpio_cansleep()
178 WARN_ON(1); in gpio_get_value_cansleep()
185 WARN_ON(1); in gpio_set_value_cansleep()
191 WARN_ON(1); in gpio_export()
198 WARN_ON(1); in gpio_unexport()
204 WARN_ON(1); in gpio_to_irq()
[all …]
A Drpmsg.h212 WARN_ON(1); in rpmsg_unregister_device()
221 WARN_ON(1); in __register_rpmsg_driver()
229 WARN_ON(1); in unregister_rpmsg_driver()
235 WARN_ON(1); in rpmsg_destroy_ept()
244 WARN_ON(1); in rpmsg_create_ept()
252 WARN_ON(1); in rpmsg_send()
261 WARN_ON(1); in rpmsg_sendto()
271 WARN_ON(1); in rpmsg_send_offchannel()
279 WARN_ON(1); in rpmsg_trysend()
288 WARN_ON(1); in rpmsg_trysendto()
[all …]
/linux-6.3-rc2/net/wireless/
A Dcore.c186 WARN_ON(err); in cfg80211_switch_netns()
203 WARN_ON(err); in cfg80211_switch_netns()
593 if (WARN_ON(!c->n_limits)) in wiphy_verify_combinations()
667 if (WARN_ON(wiphy->wowlan && in wiphy_register()
671 if (WARN_ON(wiphy->wowlan && in wiphy_register()
748 if (WARN_ON(wiphy->coalesce && in wiphy_register()
763 if (WARN_ON(wiphy->addresses && in wiphy_register()
794 WARN_ON(!ifmodes); in wiphy_register()
907 WARN_ON(1); in wiphy_register()
1200 if (WARN_ON(curbss)) { in _cfg80211_unregister_wdev()
[all …]
/linux-6.3-rc2/kernel/trace/
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()
487 WARN_ON(trace_array_set_clr_event(gen_synth_test->tr, in synth_event_gen_test_exit()
495 WARN_ON(synth_event_delete("gen_synth_test")); in synth_event_gen_test_exit()
506 WARN_ON(synth_event_delete("empty_synth_test")); in synth_event_gen_test_exit()
[all …]
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.3-rc2/security/selinux/
A Dima.c40 WARN_ON(rc < 0); in selinux_ima_collect_state()
43 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
46 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
49 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
52 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
55 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
59 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
62 WARN_ON(rc >= buf_len); in selinux_ima_collect_state()
/linux-6.3-rc2/kernel/kcsan/
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.3-rc2/drivers/remoteproc/
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()
166 if (WARN_ON(id <= SCP_IPI_INIT) || WARN_ON(id >= SCP_IPI_MAX) || in scp_ipi_send()
167 WARN_ON(id == SCP_IPI_NS_SERVICE) || in scp_ipi_send()
168 WARN_ON(len > sizeof(send_obj->share_buf)) || WARN_ON(!buf)) in scp_ipi_send()
/linux-6.3-rc2/net/devlink/
A Dcore.c194 WARN_ON(!ops || !dev); in devlink_alloc_ns()
254 WARN_ON(!list_empty(&devlink->trap_group_list)); in devlink_free()
255 WARN_ON(!list_empty(&devlink->trap_list)); in devlink_free()
256 WARN_ON(!list_empty(&devlink->reporter_list)); in devlink_free()
257 WARN_ON(!list_empty(&devlink->region_list)); in devlink_free()
258 WARN_ON(!list_empty(&devlink->resource_list)); in devlink_free()
260 WARN_ON(!list_empty(&devlink->sb_list)); in devlink_free()
261 WARN_ON(!list_empty(&devlink->rate_list)); in devlink_free()
262 WARN_ON(!list_empty(&devlink->linecard_list)); in devlink_free()
263 WARN_ON(!xa_empty(&devlink->ports)); in devlink_free()
[all …]
/linux-6.3-rc2/include/linux/clk/
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.3-rc2/net/ceph/
A Dmessenger_v2.c251 WARN_ON(con->v2.out_zero); in add_out_kvec()
264 WARN_ON(con->v2.out_zero); in reset_out_kvecs()
276 WARN_ON(con->v2.out_zero); in set_out_bvec()
710 WARN_ON(con_secret_len); in setup_crypto()
734 WARN_ON(con_secret_len); in setup_crypto()
1881 WARN_ON(!tail_len); in prepare_read_tail_secure()
2665 WARN_ON(!con->in_msg); in process_message_header()
3304 WARN_ON(!resid); in revoke_at_queue_data()
3391 WARN_ON(!resid); in revoke_at_finish_message()
3431 WARN_ON(!resid); in revoke_at_prepare_read_data()
[all …]
/linux-6.3-rc2/net/mac802154/
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.3-rc2/kernel/livepatch/
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.3-rc2/drivers/hwtracing/coresight/
A Dcoresight-trbe.h117 WARN_ON(is_trbe_enabled()); in set_trbe_write_pointer()
126 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in get_trbe_limit_pointer()
135 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in get_trbe_base_pointer()
141 WARN_ON(is_trbe_enabled()); in set_trbe_base_pointer()
142 WARN_ON(!IS_ALIGNED(addr, (1UL << TRBBASER_BASE_SHIFT))); in set_trbe_base_pointer()
143 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in set_trbe_base_pointer()
/linux-6.3-rc2/drivers/clk/mvebu/
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.3-rc2/drivers/gpu/drm/
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.3-rc2/drivers/media/mc/
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()
357 if (WARN_ON(req)) in media_request_object_release()
371 if (WARN_ON(!ops || !priv)) in media_request_object_find()
412 if (WARN_ON(!ops->release)) in media_request_object_bind()
444 if (WARN_ON(!req)) in media_request_object_unbind()
463 if (WARN_ON(!req->num_incomplete_objects)) in media_request_object_unbind()
[all …]
/linux-6.3-rc2/drivers/net/wireless/st/cw1200/
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.3-rc2/arch/arm64/kernel/
A Dfpsimd.c221 WARN_ON(busy); in __get_cpu_fpsimd_context()
385 WARN_ON(!system_supports_fpsimd()); in task_fpsimd_load()
469 WARN_ON(!system_supports_fpsimd()); in fpsimd_save()
507 if (WARN_ON(sve_get_vl() != vl)) { in fpsimd_save()
540 if (WARN_ON(!sve_vl_valid(vl))) in find_supported_vector_length()
1510 WARN_ON(1); in do_sme_acc()
1529 WARN_ON(1); in do_fpsimd_acc()
1602 if (WARN_ON(!sve_vl_valid(vl))) in fpsimd_flush_thread_vl()
1606 if (WARN_ON(supported_vl != vl)) in fpsimd_flush_thread_vl()
1875 WARN_ON(preemptible()); in fpsimd_save_and_flush_cpu_state()
[all …]
/linux-6.3-rc2/arch/x86/mm/
A Dpti.c221 WARN_ON(1); in pti_user_pagetable_walk_pmd()
256 WARN_ON(1); in pti_user_pagetable_walk_pte()
283 if (!pte || WARN_ON(level != PG_LEVEL_4K) || pte_none(*pte)) in pti_setup_vsyscall()
287 if (WARN_ON(!target_pte)) in pti_setup_vsyscall()
324 if (WARN_ON(pgd_none(*pgd))) in pti_clone_pgtable()
327 if (WARN_ON(p4d_none(*p4d))) in pti_clone_pgtable()
346 if (WARN_ON(!target_pmd)) in pti_clone_pgtable()
355 if (WARN_ON(!(pmd_flags(*pmd) & _PAGE_PRESENT))) in pti_clone_pgtable()
389 if (WARN_ON(!(pte_flags(*pte) & _PAGE_PRESENT))) in pti_clone_pgtable()
394 if (WARN_ON(!target_pte)) in pti_clone_pgtable()
[all …]
/linux-6.3-rc2/lib/
A Dlocking-selftest.c1687 WARN_ON(ret); in ww_test_fail_acquire()
1743 WARN_ON(1); in ww_test_normal()
1752 WARN_ON(1); in ww_test_normal()
1762 WARN_ON(1); in ww_test_normal()
1769 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.3-rc2/net/mac80211/
A Dchan.c236 WARN_ON(1); in ieee80211_get_sta_bw()
485 WARN_ON(1); in ieee80211_change_chanctx()
1012 WARN_ON(!conf); in __ieee80211_link_copy_chanctx_to_vlans()
1049 if (WARN_ON(!ctx)) in ieee80211_link_unreserve_chanctx()
1201 WARN_ON(1); in ieee80211_link_chanctx_reservation_complete()
1253 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_reassign()
1256 if (WARN_ON(!old_ctx)) in ieee80211_link_use_reserved_reassign()
1265 if (WARN_ON(!chandef)) in ieee80211_link_use_reserved_reassign()
1330 if (WARN_ON(old_ctx)) in ieee80211_link_use_reserved_assign()
1333 if (WARN_ON(!new_ctx)) in ieee80211_link_use_reserved_assign()
[all …]

Completed in 55 milliseconds

12345678910>>...133