/linux-6.6.21/mm/ |
D | debug_vm_pgtable.c | 107 WARN_ON(pte_dirty(pte_wrprotect(pte))); in pte_basic_tests() 109 WARN_ON(!pte_same(pte, pte)); in pte_basic_tests() 110 WARN_ON(!pte_young(pte_mkyoung(pte_mkold(pte)))); in pte_basic_tests() 111 WARN_ON(!pte_dirty(pte_mkdirty(pte_mkclean(pte)))); in pte_basic_tests() 112 WARN_ON(!pte_write(pte_mkwrite(pte_wrprotect(pte), args->vma))); in pte_basic_tests() 113 WARN_ON(pte_young(pte_mkold(pte_mkyoung(pte)))); in pte_basic_tests() 114 WARN_ON(pte_dirty(pte_mkclean(pte_mkdirty(pte)))); in pte_basic_tests() 115 WARN_ON(pte_write(pte_wrprotect(pte_mkwrite(pte, args->vma)))); in pte_basic_tests() 116 WARN_ON(pte_dirty(pte_wrprotect(pte_mkclean(pte)))); in pte_basic_tests() 117 WARN_ON(!pte_dirty(pte_wrprotect(pte_mkdirty(pte)))); in pte_basic_tests() [all …]
|
/linux-6.6.21/arch/powerpc/sysdev/ |
D | msi_bitmap.c | 164 WARN_ON(msi_bitmap_alloc(&bmp, 0, NULL) == 0); in test_basics() 167 WARN_ON(msi_bitmap_alloc(&bmp, size, NULL)); in test_basics() 170 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics() 174 WARN_ON(msi_bitmap_reserve_dt_hwirqs(&bmp) <= 0); in test_basics() 177 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, get_count_order(size))); in test_basics() 182 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) < 0); in test_basics() 184 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) >= 0); in test_basics() 187 WARN_ON(bitmap_find_free_region(bmp.bitmap, size, 0) >= 0); in test_basics() 191 WARN_ON(msi_bitmap_alloc_hwirqs(&bmp, 1) != size / 2); in test_basics() 198 WARN_ON(rc < 0 && rc % 2 != 0); in test_basics() [all …]
|
/linux-6.6.21/include/linux/gpio/ |
D | consumer.h | 245 WARN_ON(desc); in gpiod_put() 254 WARN_ON(desc); in devm_gpiod_unhinge() 262 WARN_ON(descs); in gpiod_put_array() 315 WARN_ON(desc); in devm_gpiod_put() 324 WARN_ON(descs); in devm_gpiod_put_array() 331 WARN_ON(desc); in gpiod_get_direction() 337 WARN_ON(desc); in gpiod_direction_input() 343 WARN_ON(desc); in gpiod_direction_output() 349 WARN_ON(desc); in gpiod_direction_output_raw() 355 WARN_ON(desc); in gpiod_enable_hw_timestamp_ns() [all …]
|
/linux-6.6.21/net/wireless/ |
D | core.c | 187 WARN_ON(err); in cfg80211_switch_netns() 206 WARN_ON(err); in cfg80211_switch_netns() 234 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_P2P_DEVICE)) in cfg80211_stop_p2p_device() 246 if (WARN_ON(!rdev->scan_req->notified && in cfg80211_stop_p2p_device() 259 if (WARN_ON(wdev->iftype != NL80211_IFTYPE_NAN)) in cfg80211_stop_nan() 455 WARN_ON(ops->add_key && (!ops->del_key || !ops->set_default_key)); in wiphy_new_nm() 456 WARN_ON(ops->auth && (!ops->assoc || !ops->deauth || !ops->disassoc)); in wiphy_new_nm() 457 WARN_ON(ops->connect && !ops->disconnect); in wiphy_new_nm() 458 WARN_ON(ops->join_ibss && !ops->leave_ibss); in wiphy_new_nm() 459 WARN_ON(ops->add_virtual_intf && !ops->del_virtual_intf); in wiphy_new_nm() [all …]
|
/linux-6.6.21/include/linux/ |
D | rpmsg.h | 219 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 …]
|
D | gpio.h | 159 WARN_ON(1); in gpio_free() 167 WARN_ON(1); in gpio_free_array() 183 WARN_ON(1); in gpio_get_value() 190 WARN_ON(1); in gpio_set_value() 196 WARN_ON(1); in gpio_get_value_cansleep() 203 WARN_ON(1); in gpio_set_value_cansleep() 209 WARN_ON(1); in gpio_to_irq() 216 WARN_ON(1); in devm_gpio_request() 223 WARN_ON(1); in devm_gpio_request_one()
|
/linux-6.6.21/kernel/trace/ |
D | synth_event_gen_test.c | 448 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() 458 WARN_ON(trace_array_set_clr_event(gen_synth_test->tr, in synth_event_gen_test_init() 462 WARN_ON(synth_event_delete("gen_synth_test")); in synth_event_gen_test_init() 464 WARN_ON(trace_array_set_clr_event(empty_synth_test->tr, 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() [all …]
|
D | kprobe_event_gen_test.c | 229 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.6.21/security/selinux/ |
D | ima.c | 38 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.6.21/kernel/kcsan/ |
D | selftest.c | 46 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() 54 …if (WARN_ON(decode_watchpoint(CONSUMED_WATCHPOINT, &verif_masked_addr, &verif_size, &verif_is_writ… in test_encode_decode() 58 …if (WARN_ON(!decode_watchpoint(encoded_watchpoint, &verif_masked_addr, &verif_size, &verif_is_writ… 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() [all …]
|
/linux-6.6.21/drivers/remoteproc/ |
D | mtk_scp_ipi.c | 40 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.6.21/net/devlink/ |
D | core.c | 200 WARN_ON(!ops || !dev); in devlink_alloc_ns() 252 WARN_ON(!list_empty(&devlink->trap_policer_list)); in devlink_free() 253 WARN_ON(!list_empty(&devlink->trap_group_list)); in devlink_free() 254 WARN_ON(!list_empty(&devlink->trap_list)); in devlink_free() 255 WARN_ON(!list_empty(&devlink->reporter_list)); in devlink_free() 256 WARN_ON(!list_empty(&devlink->region_list)); in devlink_free() 257 WARN_ON(!list_empty(&devlink->resource_list)); in devlink_free() 258 WARN_ON(!list_empty(&devlink->dpipe_table_list)); in devlink_free() 259 WARN_ON(!list_empty(&devlink->sb_list)); in devlink_free() 260 WARN_ON(!list_empty(&devlink->rate_list)); in devlink_free() [all …]
|
/linux-6.6.21/include/linux/clk/ |
D | tegra.h | 50 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.6.21/net/mac802154/ |
D | driver-ops.h | 35 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.6.21/net/ceph/ |
D | messenger_v2.c | 97 WARN_ON(msg_data_left(&msg)); in do_recvmsg() 139 WARN_ON(msg_data_left(&msg)); in do_sendmsg() 149 if (WARN_ON(!iov_iter_is_bvec(it))) in do_try_sendpage() 214 WARN_ON(!iov_iter_is_kvec(&con->v2.in_iter)); in add_in_kvec() 226 WARN_ON(iov_iter_count(&con->v2.in_iter)); in reset_in_kvecs() 234 WARN_ON(iov_iter_count(&con->v2.in_iter)); in set_in_bvec() 242 WARN_ON(iov_iter_count(&con->v2.in_iter)); in set_in_skip() 251 WARN_ON(!iov_iter_is_kvec(&con->v2.out_iter)); in add_out_kvec() 252 WARN_ON(con->v2.out_zero); in add_out_kvec() 264 WARN_ON(iov_iter_count(&con->v2.out_iter)); in reset_out_kvecs() [all …]
|
/linux-6.6.21/kernel/livepatch/ |
D | patch.c | 131 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.6.21/drivers/hwtracing/coresight/ |
D | coresight-trbe.h | 109 WARN_ON(is_trbe_enabled()); in set_trbe_write_pointer() 118 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in get_trbe_limit_pointer() 127 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in get_trbe_base_pointer() 133 WARN_ON(is_trbe_enabled()); in set_trbe_base_pointer() 134 WARN_ON(!IS_ALIGNED(addr, (1UL << TRBBASER_EL1_BASE_SHIFT))); in set_trbe_base_pointer() 135 WARN_ON(!IS_ALIGNED(addr, PAGE_SIZE)); in set_trbe_base_pointer()
|
/linux-6.6.21/drivers/infiniband/sw/rxe/ |
D | rxe_task.c | 38 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.6.21/drivers/clk/mvebu/ |
D | common.c | 117 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.6.21/drivers/gpu/drm/ |
D | drm_modeset_lock.c | 150 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.6.21/drivers/media/mc/ |
D | mc-request.c | 34 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() 296 if (WARN_ON(!mdev->ops->req_alloc ^ !mdev->ops->req_free)) in media_request_alloc() 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() 417 if (WARN_ON(req->state != MEDIA_REQUEST_STATE_UPDATING && in media_request_object_bind() [all …]
|
/linux-6.6.21/drivers/net/wireless/st/cw1200/ |
D | bh.c | 79 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() 251 if (WARN_ON((read_len < sizeof(struct wsm_hdr)) || in cw1200_bh_rx_helper() 273 if (WARN_ON(!skb_rx)) in cw1200_bh_rx_helper() 279 if (WARN_ON(!data)) in cw1200_bh_rx_helper() 282 if (WARN_ON(cw1200_data_read(priv, data, alloc_len))) { in cw1200_bh_rx_helper() 293 if (WARN_ON(wsm_len > read_len)) in cw1200_bh_rx_helper() [all …]
|
/linux-6.6.21/arch/arm64/kernel/ |
D | fpsimd.c | 221 WARN_ON(busy); in __get_cpu_fpsimd_context() 252 WARN_ON(!busy); /* No matching get_cpu_fpsimd_context()? */ in __put_cpu_fpsimd_context() 385 WARN_ON(!system_supports_fpsimd()); in task_fpsimd_load() 386 WARN_ON(!have_cpu_fpsimd_context()); in task_fpsimd_load() 469 WARN_ON(!system_supports_fpsimd()); in fpsimd_save() 470 WARN_ON(!have_cpu_fpsimd_context()); 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() 543 if (WARN_ON(!sve_vl_valid(max_vl))) in find_supported_vector_length() 732 WARN_ON(test_tsk_thread_flag(task, TIF_SVE)); in sve_free() [all …]
|
/linux-6.6.21/arch/x86/mm/ |
D | pti.c | 221 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.6.21/lib/ |
D | locking-selftest.c | 205 WARN_ON(!in_irq()); 218 WARN_ON(!in_softirq()); 1440 WARN_ON(irqs_disabled()); in dotest() 1678 if (WARN_ON(!o.ctx) || in ww_test_fail_acquire() 1679 WARN_ON(ret)) in ww_test_fail_acquire() 1684 WARN_ON(ret != -EALREADY); in ww_test_fail_acquire() 1687 WARN_ON(ret); in ww_test_fail_acquire() 1692 WARN_ON(ret != -EDEADLK); in ww_test_fail_acquire() 1735 WARN_ON(o.ctx != (void *)~0UL); in ww_test_normal() 1743 WARN_ON(1); in ww_test_normal() [all …]
|