/linux-4.4.14/scripts/coccinelle/misc/ |
D | warn.cocci | 70 WARN_ON_ONCE(1); 77 *WARN_ON_ONCE(1); 83 cocci.print_main("printk + WARN_ON_ONCE can be just WARN_ONCE",p) 89 msg = "SUGGESTION: printk + WARN_ON_ONCE can be just WARN_ONCE" 100 -WARN_ON_ONCE(1);
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmutil/ |
D | d11.c | 128 WARN_ON_ONCE(1); in brcmu_d11n_decchspec() 140 WARN_ON_ONCE(1); in brcmu_d11n_decchspec() 166 WARN_ON_ONCE(1); in brcmu_d11ac_decchspec() 187 WARN_ON_ONCE(1); in brcmu_d11ac_decchspec() 194 WARN_ON_ONCE(1); in brcmu_d11ac_decchspec() 206 WARN_ON_ONCE(1); in brcmu_d11ac_decchspec()
|
/linux-4.4.14/lib/ |
D | rbtree_test.c | 124 WARN_ON_ONCE(count != nr_nodes); in check_postorder_foreach() 134 WARN_ON_ONCE(count != nr_nodes); in check_postorder() 145 WARN_ON_ONCE(node->key < prev_key); in check() 146 WARN_ON_ONCE(is_red(rb) && in check() 151 WARN_ON_ONCE((!rb->rb_left || !rb->rb_right) && in check() 157 WARN_ON_ONCE(count != nr_nodes); in check() 158 WARN_ON_ONCE(count < (1 << black_path_count(rb_last(&root))) - 1); in check() 171 WARN_ON_ONCE(node->augmented != augment_recompute(node)); in check_augmented()
|
D | timerqueue.c | 46 WARN_ON_ONCE(!RB_EMPTY_NODE(&node->node)); in timerqueue_add() 77 WARN_ON_ONCE(RB_EMPTY_NODE(&node->node)); in timerqueue_del()
|
D | percpu-refcount.c | 172 WARN_ON_ONCE(ref->confirm_switch); in __percpu_ref_switch_to_atomic() 324 WARN_ON_ONCE(!percpu_ref_is_zero(ref)); in percpu_ref_reinit()
|
D | scatterlist.c | 287 if (WARN_ON_ONCE(nents > max_ents)) in __sg_alloc_table() 623 WARN_ON_ONCE(preemptible()); in sg_miter_stop()
|
D | seq_buf.c | 236 if (WARN_ON_ONCE(j == 0 || j/2 > len))
|
D | idr.c | 319 WARN_ON_ONCE(p->prefix); in idr_get_empty_slot() 401 WARN_ON_ONCE(in_interrupt()); in idr_preload() 459 if (WARN_ON_ONCE(start < 0)) in idr_alloc()
|
/linux-4.4.14/fs/nfs/ |
D | pagelist.c | 172 WARN_ON_ONCE(head != head->wb_head); in nfs_page_group_lock() 195 WARN_ON_ONCE(head != head->wb_head); in nfs_page_group_lock_wait() 210 WARN_ON_ONCE(head != head->wb_head); in nfs_page_group_unlock() 229 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_flags)); in nfs_page_group_sync_on_bit_locked() 230 WARN_ON_ONCE(test_and_set_bit(bit, &req->wb_flags)); in nfs_page_group_sync_on_bit_locked() 276 WARN_ON_ONCE(prev == req); in nfs_page_group_init() 284 WARN_ON_ONCE(prev->wb_this_page != prev->wb_head); in nfs_page_group_init() 285 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &prev->wb_head->wb_flags)); in nfs_page_group_init() 452 WARN_ON_ONCE(req->wb_this_page != req); in nfs_free_request() 455 WARN_ON_ONCE(test_bit(PG_TEARDOWN, &req->wb_flags)); in nfs_free_request() [all …]
|
D | write.c | 119 WARN_ON_ONCE(req->wb_head != req); in nfs_page_find_head_request_locked() 187 WARN_ON_ONCE(head != head->wb_head); in nfs_page_group_search_locked() 188 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &head->wb_head->wb_flags)); in nfs_page_group_search_locked() 221 WARN_ON_ONCE(tmp->wb_pgbase != pos); in nfs_page_group_covers_page() 227 WARN_ON_ONCE(pos > len); in nfs_page_group_covers_page() 270 WARN_ON_ONCE(ret != 0); in nfs_set_page_writeback() 335 WARN_ON_ONCE(test_bit(PG_TEARDOWN, &req->wb_flags)); in nfs_unroll_locks_and_wait() 375 WARN_ON_ONCE(old_head != subreq->wb_head); in nfs_destroy_unlinked_subrequests() 395 WARN_ON_ONCE(1); in nfs_destroy_unlinked_subrequests() 397 WARN_ON_ONCE(test_bit(PG_CLEAN, &subreq->wb_flags)); in nfs_destroy_unlinked_subrequests() [all …]
|
D | read.c | 81 WARN_ON_ONCE(pgio->pg_mirror_count != 1); in nfs_pageio_reset_read_mds() 113 WARN_ON_ONCE(pgio.pg_mirror_count != 1); in nfs_readpage_async() 418 WARN_ON_ONCE(pgio.pg_mirror_count != 1); in nfs_readpages()
|
/linux-4.4.14/kernel/ |
D | irq_work.c | 69 WARN_ON_ONCE(cpu_is_offline(cpu)); in irq_work_queue_on() 72 WARN_ON_ONCE(in_nmi()); in irq_work_queue_on() 124 WARN_ON_ONCE(cpu_is_offline(smp_processor_id())); in irq_work_needs_cpu() 191 WARN_ON_ONCE(irqs_disabled()); in irq_work_sync()
|
D | workqueue.c | 459 WARN_ON_ONCE(1); in work_fixup_activate() 623 WARN_ON_ONCE(!work_pending(work)); in set_work_data() 864 WARN_ON_ONCE(worker->pool->cpu != cpu); in wq_worker_waking_up() 900 if (WARN_ON_ONCE(cpu != raw_smp_processor_id() || pool->cpu != cpu)) in wq_worker_sleeping() 934 WARN_ON_ONCE(worker->task != current); in worker_set_flags() 960 WARN_ON_ONCE(worker->task != current); in worker_clr_flags() 1072 WARN_ON_ONCE(pwq->refcnt <= 0); in get_pwq() 1088 if (WARN_ON_ONCE(!(pwq->wq->flags & WQ_UNBOUND))) in put_pwq() 1351 WARN_ON_ONCE(!irqs_disabled()); in __queue_work() 1357 WARN_ON_ONCE(!is_chained_work(wq))) in __queue_work() [all …]
|
D | softirq.c | 99 WARN_ON_ONCE(in_irq()); in __local_bh_disable_ip() 129 WARN_ON_ONCE(!irqs_disabled()); in __local_bh_enable() 143 WARN_ON_ONCE(in_irq()); in _local_bh_enable() 150 WARN_ON_ONCE(in_irq() || irqs_disabled()); in __local_bh_enable_ip() 300 WARN_ON_ONCE(in_interrupt()); in __do_softirq() 385 WARN_ON_ONCE(!irqs_disabled()); in irq_exit()
|
D | context_tracking.c | 64 WARN_ON_ONCE(!current->mm); in __context_tracking_enter() 205 WARN_ON_ONCE(!tasklist_empty()); in context_tracking_cpu_set()
|
D | smp.c | 291 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_single() 334 if (WARN_ON_ONCE(csd->flags & CSD_FLAG_LOCK)) in smp_call_function_single_async() 416 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() in smp_call_function_many() 692 WARN_ON_ONCE(ret); in on_each_cpu_cond()
|
D | tracepoint.c | 205 WARN_ON_ONCE(1); in tracepoint_add_func() 238 WARN_ON_ONCE(1); in tracepoint_remove_func() 397 WARN_ON_ONCE((*iter)->funcs); in tp_module_going_check_quiescent()
|
D | torture.c | 287 if (WARN_ON_ONCE(tp == NULL)) in torture_shuffle_task_register() 290 if (WARN_ON_ONCE(stp == NULL)) in torture_shuffle_task_register()
|
D | cgroup_pids.c | 97 WARN_ON_ONCE(atomic64_add_negative(-num, &pids->counter)); in pids_cancel()
|
/linux-4.4.14/arch/powerpc/sysdev/xics/ |
D | icp-hv.c | 37 WARN_ON_ONCE(1); in icp_hv_get_xirr() 49 WARN_ON_ONCE(1); in icp_hv_set_cppr() 59 WARN_ON_ONCE(1); in icp_hv_set_xirr() 75 WARN_ON_ONCE(1); in icp_hv_set_qirr()
|
/linux-4.4.14/include/linux/ |
D | iocontext.h | 130 WARN_ON_ONCE(atomic_long_read(&ioc->refcount) <= 0); in get_io_context_active() 131 WARN_ON_ONCE(atomic_read(&ioc->active_ref) <= 0); in get_io_context_active() 140 WARN_ON_ONCE(atomic_read(&ioc->nr_tasks) <= 0); in ioc_task_link()
|
D | jump_label.h | 221 WARN_ON_ONCE(count < 0 || count > 1); in static_key_enable() 231 WARN_ON_ONCE(count < 0 || count > 1); in static_key_disable()
|
D | kref.h | 46 WARN_ON_ONCE(atomic_inc_return(&kref->refcount) < 2); in kref_get()
|
D | mmdebug.h | 41 #define VM_WARN_ON_ONCE(cond) WARN_ON_ONCE(cond)
|
D | ftrace.h | 209 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_enable() 226 if (WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL))) in ftrace_function_local_disable() 243 WARN_ON_ONCE(!(ops->flags & FTRACE_OPS_FL_CONTROL)); in ftrace_function_local_disabled()
|
D | io.h | 102 WARN_ON_ONCE(1); in devm_memremap_pages()
|
D | blk-cgroup.h | 294 WARN_ON_ONCE(!rcu_read_lock_held()); in blkg_lookup() 366 WARN_ON_ONCE(atomic_read(&blkg->refcnt) <= 0); in blkg_get() 378 WARN_ON_ONCE(atomic_read(&blkg->refcnt) <= 0); in blkg_put()
|
D | kernfs.h | 252 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in kernfs_enable_ns() 253 WARN_ON_ONCE(!RB_EMPTY_ROOT(&kn->dir.children)); in kernfs_enable_ns()
|
D | quotaops.h | 52 WARN_ON_ONCE(!atomic_read(&dquot->dq_count)); in dqgrab() 53 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()
|
D | highmem.h | 96 WARN_ON_ONCE(in_irq() && !irqs_disabled()); in kmap_atomic_idx_push()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
D | iwl-scd.h | 115 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_WRPTR() 123 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_RDPTR() 131 WARN_ON_ONCE(chnl >= 32); in SCD_QUEUE_STATUS_BITS()
|
D | iwl-devtrace-msg.h | 44 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg), 85 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
|
D | iwl-fh.h | 127 WARN_ON_ONCE(chnl >= 32); in FH_MEM_CBBC_QUEUE()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | binding.c | 129 if (WARN_ON_ONCE(data->idx >= MAX_MACS_IN_BINDING)) in iwl_mvm_iface_iterator() 168 if (WARN_ON_ONCE(data.idx >= MAX_MACS_IN_BINDING)) in iwl_mvm_binding_update() 183 if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) in iwl_mvm_binding_add_vif() 201 if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) in iwl_mvm_binding_remove_vif()
|
D | tx.c | 134 WARN_ON_ONCE(tx_cmd->tid_tspec >= IWL_MAX_TID_COUNT); in iwl_mvm_set_tx_cmd() 165 WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_AMPDU); in iwl_mvm_set_tx_cmd() 363 if (WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_AMPDU)) in iwl_mvm_tx_skb_non_sta() 366 if (WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM && in iwl_mvm_tx_skb_non_sta() 458 if (WARN_ON_ONCE(!mvmsta)) in iwl_mvm_tx_skb() 461 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_tx_skb() 484 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_tx_skb() 498 WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM); in iwl_mvm_tx_skb() 508 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb() 790 if (WARN_ON_ONCE(!sta)) in iwl_mvm_rx_tx_cmd_single() [all …]
|
D | quota.c | 101 if (WARN_ON_ONCE(id >= MAX_BINDINGS)) in iwl_mvm_quota_iterator() 121 WARN_ON_ONCE(1); in iwl_mvm_quota_iterator() 128 WARN_ON_ONCE(data->colors[id] != mvmvif->phy_ctxt->color); in iwl_mvm_quota_iterator()
|
D | rs.c | 753 if (WARN_ON_ONCE(reduced_txp > TPC_MAX_REDUCTION)) in rs_collect_tx_data() 790 WARN_ON_ONCE(1); in ucode_rate_from_rs_rate() 802 WARN_ON_ONCE(1); in ucode_rate_from_rs_rate() 876 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate() 878 WARN_ON_ONCE(1); in rs_rate_from_ucode_rate() 891 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate() 893 WARN_ON_ONCE(1); in rs_rate_from_ucode_rate() 897 WARN_ON_ONCE(rate->bw == RATE_MCS_CHAN_WIDTH_160); in rs_rate_from_ucode_rate() 898 WARN_ON_ONCE(rate->bw == RATE_MCS_CHAN_WIDTH_80 && in rs_rate_from_ucode_rate() 940 WARN_ON_ONCE(1); in rs_get_supported_rates() [all …]
|
D | time-event.c | 225 WARN_ON_ONCE(1); in iwl_mvm_te_handle_notify_csa() 449 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { in iwl_mvm_te_notif() 481 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { in iwl_mvm_time_event_response() 489 if (WARN_ON_ONCE(le32_to_cpu(resp->id) != te_data->id)) in iwl_mvm_time_event_response() 548 WARN_ON_ONCE(ret); in iwl_mvm_time_event_send_add()
|
D | sta.c | 78 WARN_ON_ONCE(test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)); in iwl_mvm_find_free_sta_id() 530 if (WARN_ON_ONCE(mvm->tdls_cs.peer.sta_id == mvm_sta->sta_id)) { in iwl_mvm_rm_sta() 589 if (WARN_ON_ONCE(sta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_allocate_int_sta() 701 if (WARN_ON_ONCE(bsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_send_add_bcast_sta() 931 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_sta_tx_agg_start() 1486 if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) in iwl_mvm_set_sta_key() 1599 if (WARN_ON_ONCE(sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_update_tkip_key() 1725 if (WARN_ON_ONCE(sta_id >= IWL_MVM_STATION_COUNT)) in iwl_mvm_rx_eosp_notif()
|
D | tt.c | 123 if (WARN_ON_ONCE(len != sizeof(*notif))) { in iwl_mvm_temp_notif_parse() 133 if (WARN_ON_ONCE(temp < 0)) in iwl_mvm_temp_notif_parse()
|
D | tdls.c | 168 if (WARN_ON_ONCE(ret)) in iwl_mvm_tdls_config() 173 WARN_ON_ONCE(iwl_rx_packet_payload_len(pkt) != sizeof(*resp)); in iwl_mvm_tdls_config() 437 if (WARN_ON_ONCE(!chanctx)) { in iwl_mvm_tdls_config_channel_switch()
|
D | nvm.c | 527 if (WARN_ON_ONCE(mvm->cfg->nvm_hw_section_num >= NVM_MAX_NUM_SECTIONS)) in iwl_nvm_init() 642 if (WARN_ON_ONCE(!iwl_mvm_is_lar_supported(mvm))) in iwl_mvm_update_mcc() 847 if (WARN_ON_ONCE(!iwl_mvm_is_lar_supported(mvm))) in iwl_mvm_rx_chub_update_mcc()
|
D | phy-ctxt.c | 265 if (WARN_ON_ONCE(!ctxt)) in iwl_mvm_phy_ctxt_unref()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | pcr.c | 58 WARN_ON_ONCE(reg_num != 0); in direct_pcr_read() 65 WARN_ON_ONCE(reg_num != 0); in direct_pcr_write() 73 WARN_ON_ONCE(reg_num != 0); in direct_pic_read() 80 WARN_ON_ONCE(reg_num != 0); in direct_pic_write() 114 WARN_ON_ONCE(reg_num != 0); in n2_pcr_write()
|
D | sys_sparc_32.c | 169 WARN_ON_ONCE(sig >= 0); in SYSCALL_DEFINE3()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_cache.c | 99 WARN_ON_ONCE(1); in drm_clflush_pages() 123 WARN_ON_ONCE(1); in drm_clflush_sg() 147 WARN_ON_ONCE(1); in drm_clflush_virt_range()
|
/linux-4.4.14/drivers/net/wireless/rt2x00/ |
D | rt2800soc.c | 114 WARN_ON_ONCE(1); in rt2800soc_get_firmware_name() 121 WARN_ON_ONCE(1); in rt2800soc_load_firmware() 128 WARN_ON_ONCE(1); in rt2800soc_check_firmware() 135 WARN_ON_ONCE(1); in rt2800soc_write_firmware()
|
/linux-4.4.14/arch/tile/kernel/ |
D | perf_event.c | 374 WARN_ON_ONCE(idx > AUX_PERF_COUNT_1_IDX || in read_counter() 401 WARN_ON_ONCE(idx > AUX_PERF_COUNT_1_IDX || in write_counter() 420 if (WARN_ON_ONCE(idx == -1)) in tile_pmu_enable_event() 440 WARN_ON_ONCE(idx < PERF_COUNT_0_IDX || in tile_pmu_enable_event() 483 WARN_ON_ONCE(idx < PERF_COUNT_0_IDX || in tile_pmu_disable_event() 600 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in tile_pmu_stop() 622 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in tile_pmu_start() 625 if (WARN_ON_ONCE(idx == -1)) in tile_pmu_start() 629 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in tile_pmu_start() 683 if (WARN_ON_ONCE(b == max_cnt)) in tile_pmu_add()
|
/linux-4.4.14/arch/arm/kernel/ |
D | insn.c | 14 WARN_ON_ONCE(1); in __arm_gen_branch_thumb2() 46 WARN_ON_ONCE(1); in __arm_gen_branch_arm()
|
D | perf_regs.c | 11 if (WARN_ON_ONCE((u32)idx >= PERF_REG_ARM_MAX)) in perf_reg_value()
|
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/ |
D | htc_pipe.c | 223 WARN_ON_ONCE(1); in htc_issue_packets() 234 WARN_ON_ONCE(1); in htc_issue_packets() 363 WARN_ON_ONCE(1); in htc_try_send() 424 WARN_ON_ONCE(1); in htc_try_send() 668 WARN_ON_ONCE(1); in htc_process_credit_report() 796 WARN_ON_ONCE(1); in htc_send_packets_multiple() 892 WARN_ON_ONCE(1); in htc_process_trailer() 973 if (WARN_ON_ONCE(!target)) { in ath6kl_htc_pipe_rx_complete() 1246 WARN_ON_ONCE(1); in ath6kl_htc_pipe_conn_service() 1268 WARN_ON_ONCE(1); in ath6kl_htc_pipe_conn_service() [all …]
|
D | trace.h | 258 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg), 290 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
|
D | txrx.c | 295 if (WARN_ON_ONCE(ar->state == ATH6KL_STATE_WOW)) { in ath6kl_control_tx() 300 if (WARN_ON_ONCE(eid == ENDPOINT_UNUSED || in ath6kl_control_tx() 381 if (WARN_ON_ONCE(ar->state != ATH6KL_STATE_ON)) in ath6kl_data_tx() 712 if (WARN_ON_ONCE(packet->endpoint == ENDPOINT_UNUSED || in ath6kl_tx_complete() 717 if (WARN_ON_ONCE(!ath6kl_cookie)) in ath6kl_tx_complete() 725 if (WARN_ON_ONCE(!skb || !skb->data)) { in ath6kl_tx_complete() 733 if (WARN_ON_ONCE(!status && (packet->act_len != skb->len))) { in ath6kl_tx_complete()
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-p2m.c | 44 if (WARN_ON_ONCE((unsigned long)sys_addr & 0x03)) in solo_p2m_dma() 46 if (WARN_ON_ONCE(!size)) in solo_p2m_dma() 117 if (WARN_ON_ONCE(p2m_dev->error)) in solo_p2m_dma_desc() 140 WARN_ON_ONCE(dma_addr & 0x03); in solo_p2m_fill_desc() 141 WARN_ON_ONCE(!size); in solo_p2m_fill_desc()
|
D | solo6x10-enc.c | 146 if (WARN_ON_ONCE(!vga)) in solo_osd_print() 220 if (WARN_ON_ONCE(ch > 31)) in solo_g_jpeg_qp()
|
/linux-4.4.14/mm/ |
D | frame_vector.c | 48 if (WARN_ON_ONCE(nr_frames > vec->nr_allocated)) in get_vaddr_frames() 194 if (WARN_ON_ONCE(nr_frames == 0)) in frame_vector_create() 200 if (WARN_ON_ONCE(nr_frames > INT_MAX / sizeof(void *) / 2)) in frame_vector_create()
|
D | nobootmem.c | 241 if (WARN_ON_ONCE(slab_is_available())) in ___alloc_bootmem_nopanic() 346 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node_nopanic() 385 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node() 446 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_low_node()
|
D | interval_tree.c | 109 WARN_ON_ONCE(node->cached_vma_start != avc_start_pgoff(node)); in anon_vma_interval_tree_verify() 110 WARN_ON_ONCE(node->cached_vma_last != avc_last_pgoff(node)); in anon_vma_interval_tree_verify()
|
D | bootmem.c | 615 if (WARN_ON_ONCE(slab_is_available())) in alloc_bootmem_core() 714 if (WARN_ON_ONCE(slab_is_available())) in ___alloc_bootmem_node_nopanic() 741 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node_nopanic() 780 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node() 792 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node_high() 864 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_low_node()
|
D | vmacache.c | 100 if (WARN_ON_ONCE(vma->vm_mm != mm)) in vmacache_find()
|
D | page_counter.c | 26 WARN_ON_ONCE(new < 0); in page_counter_cancel()
|
D | cma.c | 109 WARN_ON_ONCE(!pfn_valid(pfn)); in cma_activate_area() 117 WARN_ON_ONCE(!pfn_valid(pfn)); in cma_activate_area()
|
/linux-4.4.14/kernel/bpf/ |
D | helpers.c | 39 WARN_ON_ONCE(!rcu_read_lock_held()); in bpf_map_lookup_elem() 63 WARN_ON_ONCE(!rcu_read_lock_held()); in bpf_map_update_elem() 83 WARN_ON_ONCE(!rcu_read_lock_held()); in bpf_map_delete_elem()
|
D | hashtab.c | 149 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_lookup_elem() 174 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_get_next_key() 238 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_update_elem() 308 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_delete_elem()
|
D | inode.c | 40 WARN_ON_ONCE(1); in bpf_any_get() 57 WARN_ON_ONCE(1); in bpf_any_put()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | brcms_trace_brcmsmac_msg.h | 34 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg), 72 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
|
/linux-4.4.14/kernel/rcu/ |
D | tree_plugin.h | 54 #define rt_mutex_owner(a) ({ WARN_ON_ONCE(1); NULL; }) 225 WARN_ON_ONCE(1); in rcu_preempt_ctxt_queue() 252 WARN_ON_ONCE(t->rcu_read_unlock_special.b.exp_need_qs); in rcu_preempt_ctxt_queue() 314 WARN_ON_ONCE((rdp->grpmask & rcu_rnp_online_cpus(rnp)) == 0); in rcu_preempt_note_context_switch() 315 WARN_ON_ONCE(!list_empty(&t->rcu_node_entry)); in rcu_preempt_note_context_switch() 424 WARN_ON_ONCE(special.b.blocked); in rcu_read_unlock_special() 464 WARN_ON_ONCE(1); in rcu_read_unlock_special() 621 WARN_ON_ONCE(rcu_preempt_blocked_readers_cgp(rnp)); in rcu_preempt_check_blocked_tasks() 624 WARN_ON_ONCE(rnp->qsmask); in rcu_preempt_check_blocked_tasks() 885 WARN_ON_ONCE(rnp->qsmask); in rcu_preempt_check_blocked_tasks() [all …]
|
D | tree.c | 663 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && in rcu_eqs_enter_common() 690 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && in rcu_eqs_enter() 764 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && in rcu_irq_exit() 790 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && in rcu_eqs_exit_common() 819 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && oldval < 0); in rcu_eqs_exit() 892 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && in rcu_irq_enter() 917 WARN_ON_ONCE(rdtp->dynticks_nmi_nesting < 0); in rcu_nmi_enter() 932 WARN_ON_ONCE(!(atomic_read(&rdtp->dynticks) & 0x1)); in rcu_nmi_enter() 956 WARN_ON_ONCE(rdtp->dynticks_nmi_nesting <= 0); in rcu_nmi_exit() 957 WARN_ON_ONCE(!(atomic_read(&rdtp->dynticks) & 0x1)); in rcu_nmi_exit() [all …]
|
D | rcutorture.c | 999 WARN_ON_ONCE(1); in rcu_torture_writer() 1007 WARN_ON_ONCE(expediting == 0 && rcu_gp_is_expedited()); in rcu_torture_writer() 1023 WARN_ON_ONCE(can_expedite && rcu_gp_is_expedited()); in rcu_torture_writer() 1280 WARN_ON_ONCE(1); in rcu_torture_stats_print() 1506 WARN_ON_ONCE(1); in rcu_torture_barrier()
|
/linux-4.4.14/arch/s390/kernel/ |
D | perf_cpum_cf.c | 487 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in cpumf_pmu_start() 490 if (WARN_ON_ONCE(hwc->config == -1)) in cpumf_pmu_start() 494 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in cpumf_pmu_start() 590 WARN_ON_ONCE(cpuhw->txn_flags); /* txn already in flight */ in cpumf_pmu_start_txn() 610 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in cpumf_pmu_cancel_txn() 632 WARN_ON_ONCE(!cpuhw->txn_flags); /* no txn in flight */ in cpumf_pmu_commit_txn()
|
D | perf_cpum_sf.c | 1310 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in cpumsf_pmu_start() 1314 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in cpumsf_pmu_start() 1376 if (WARN_ON_ONCE(cpuhw->lsctl.es == 1 || cpuhw->lsctl.ed == 1)) { in cpumsf_pmu_add() 1480 WARN_ON_ONCE(!(cpuhw->flags & PMU_F_IN_USE)); in cpumf_measurement_alert()
|
/linux-4.4.14/arch/x86/kernel/apic/ |
D | apic_noop.c | 102 WARN_ON_ONCE((cpu_has_apic && !disable_apic)); in noop_apic_read() 108 WARN_ON_ONCE(cpu_has_apic && !disable_apic); in noop_apic_write()
|
/linux-4.4.14/kernel/locking/ |
D | lockdep_internals.h | 146 WARN_ON_ONCE(!irqs_disabled()); \ 151 WARN_ON_ONCE(!irqs_disabled()); \
|
D | locktorture.c | 590 if (WARN_ON_ONCE(lock_is_write_held)) in lock_torture_writer() 593 if (WARN_ON_ONCE(lock_is_read_held)) in lock_torture_writer() 627 if (WARN_ON_ONCE(lock_is_write_held)) in lock_torture_reader()
|
/linux-4.4.14/kernel/sched/ |
D | idle.c | 35 WARN_ON_ONCE(cpu_idle_force_poll < 0); in cpu_idle_poll_ctrl() 196 if (WARN_ON_ONCE(irqs_disabled())) in cpuidle_idle_call()
|
D | clock.c | 328 WARN_ON_ONCE(!irqs_disabled()); in sched_clock_tick()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtasd.c | 218 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ in pSeries_log_error() 240 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ in pSeries_log_error() 263 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ in pSeries_log_error() 269 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ in pSeries_log_error()
|
D | uprobes.c | 116 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
|
D | cacheinfo.c | 428 WARN_ON_ONCE(cache->level != 1); in do_subsidiary_caches_debugcheck() 429 WARN_ON_ONCE(strcmp(cache->ofnode->type, "cpu")); in do_subsidiary_caches_debugcheck() 499 WARN_ON_ONCE(per_cpu(cache_dir_pcpu, cpu_id) != NULL); in cacheinfo_create_cache_dir()
|
/linux-4.4.14/net/openvswitch/ |
D | datapath.h | 171 WARN_ON_ONCE(!rcu_read_lock_held()); in ovs_vport_rcu() 177 WARN_ON_ONCE(!rcu_read_lock_held() && !lockdep_ovsl_is_held()); in ovs_vport_ovsl_rcu()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | cputype.h | 119 WARN_ON_ONCE(1); \ 136 WARN_ON_ONCE(1); \
|
/linux-4.4.14/kernel/irq/ |
D | pm.c | 41 WARN_ON_ONCE(desc->force_resume_depth && in irq_pm_install_action() 49 WARN_ON_ONCE(desc->no_suspend_depth && in irq_pm_install_action()
|
/linux-4.4.14/include/net/ |
D | genetlink.h | 296 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns() 415 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err() 424 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners()
|
D | request_sock.h | 112 WARN_ON_ONCE(atomic_read(&req->rsk_refcnt) != 0); in reqsk_free()
|
/linux-4.4.14/include/asm-generic/ |
D | bug.h | 109 #define WARN_ON_ONCE(condition) ({ \ macro 163 #define WARN_ON_ONCE(condition) WARN_ON(condition) macro
|
/linux-4.4.14/kernel/trace/ |
D | trace_syscalls.c | 128 WARN_ON_ONCE(1); in print_syscall_enter() 176 WARN_ON_ONCE(1); in print_syscall_exit() 396 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_enter() 416 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_enter() 434 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_exit() 454 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_exit()
|
D | trace_kprobe.c | 1388 if (WARN_ON_ONCE(ret)) { in kprobe_trace_self_tests_init() 1394 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init() 1399 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init() 1409 if (WARN_ON_ONCE(ret)) { in kprobe_trace_self_tests_init() 1415 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init() 1420 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init() 1435 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init() 1440 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init() 1448 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init() 1453 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init() [all …]
|
D | trace_events.c | 620 WARN_ON_ONCE(system_refcount(system) == 0); in __put_system() 636 WARN_ON_ONCE(system_refcount(system) == 0); in __get_system() 642 WARN_ON_ONCE(dir->ref_count == 0); in __get_system_dir() 649 WARN_ON_ONCE(dir->ref_count == 0); in __put_system_dir() 651 WARN_ON_ONCE(system_refcount(dir->subsystem) == 1 && dir->ref_count != 1); in __put_system_dir() 2263 if (WARN_ON_ONCE(!ptr)) in update_event_printk() 2670 if (WARN_ON_ONCE(data->ref <= 0)) in event_enable_free() 2883 if (WARN_ON_ONCE(call->mod)) in __trace_early_add_events() 3294 WARN_ON_ONCE(1); in event_trace_self_tests() 3320 if (WARN_ON_ONCE(ret)) { in event_trace_self_tests() [all …]
|
/linux-4.4.14/arch/s390/include/asm/ |
D | pci_dma.h | 139 WARN_ON_ONCE((*entry & ZPCI_PTE_VALID_MASK) == ZPCI_PTE_INVALID); in invalidate_pt_entry() 146 WARN_ON_ONCE((*entry & ZPCI_PTE_VALID_MASK) == ZPCI_PTE_VALID); in validate_pt_entry()
|
/linux-4.4.14/arch/x86/pci/ |
D | irq.c | 204 WARN_ON_ONCE(pirq > 16); in pirq_ali_get() 213 WARN_ON_ONCE(pirq > 16); in pirq_ali_set() 264 WARN_ON_ONCE(pirq > 5); in pirq_via586_get() 272 WARN_ON_ONCE(pirq > 5); in pirq_via586_set() 286 WARN_ON_ONCE(pirq > 4); in pirq_ite_get() 294 WARN_ON_ONCE(pirq > 4); in pirq_ite_set() 433 WARN_ON_ONCE(pirq >= 9); in pirq_vlsi_get() 443 WARN_ON_ONCE(pirq >= 9); in pirq_vlsi_set()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | tracepoint.h | 51 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg), 69 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
|
/linux-4.4.14/arch/x86/kernel/ |
D | nmi.c | 168 WARN_ON_ONCE(type == NMI_UNKNOWN && !list_empty(&desc->head)); in __register_nmi_handler() 169 WARN_ON_ONCE(type == NMI_SERR && !list_empty(&desc->head)); in __register_nmi_handler() 170 WARN_ON_ONCE(type == NMI_IO_CHECK && !list_empty(&desc->head)); in __register_nmi_handler()
|
D | ftrace.c | 287 if (WARN_ON_ONCE(!regs)) in ftrace_int3_handler() 866 if (WARN_ON_ONCE(ret < 0)) in addr_from_call() 870 if (WARN_ON_ONCE(calc.e8 != 0xe8)) { in addr_from_call()
|
D | vsmp_64.c | 160 WARN_ON_ONCE(1); in is_vsmp_box()
|
D | rtc.c | 92 WARN_ON_ONCE(RTC_ALWAYS_BCD && (status & RTC_DM_BINARY)); in mach_get_cmos_time()
|
D | perf_regs.c | 60 if (WARN_ON_ONCE(idx >= ARRAY_SIZE(pt_regs_offset))) in perf_reg_value()
|
/linux-4.4.14/arch/tile/lib/ |
D | delay.c | 23 WARN_ON_ONCE(usecs > ULONG_MAX / 1000); in __udelay()
|
/linux-4.4.14/fs/lockd/ |
D | host.c | 290 WARN_ON_ONCE(host->h_server); in nlmclnt_release_host() 293 WARN_ON_ONCE(!list_empty(&host->h_lockowners)); in nlmclnt_release_host() 294 WARN_ON_ONCE(!list_empty(&host->h_granted)); in nlmclnt_release_host() 295 WARN_ON_ONCE(!list_empty(&host->h_reclaim)); in nlmclnt_release_host() 411 WARN_ON_ONCE(!host->h_server); in nlmsvc_release_host()
|
/linux-4.4.14/kernel/time/ |
D | posix-cpu-timers.c | 395 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_del() 407 WARN_ON_ONCE(!list_empty(&timer->it.cpu.entry)); in posix_cpu_timer_del() 633 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_set() 653 WARN_ON_ONCE(!irqs_disabled()); in posix_cpu_timer_set() 774 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_get() 1053 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_schedule() 1094 WARN_ON_ONCE(!irqs_disabled()); in posix_cpu_timer_schedule() 1191 WARN_ON_ONCE(!irqs_disabled()); in run_posix_cpu_timers() 1254 WARN_ON_ONCE(clock_idx == CPUCLOCK_SCHED); in set_process_cpu_timer()
|
D | tick-sched.c | 162 WARN_ON_ONCE(!irqs_disabled()); in can_stop_full_tick() 379 WARN_ON_ONCE(cpumask_empty(housekeeping_mask)); in tick_nohz_init() 824 WARN_ON_ONCE(irqs_disabled()); in tick_nohz_idle_enter() 908 WARN_ON_ONCE(!ts->inidle); in tick_nohz_idle_exit()
|
D | posix-timers.c | 791 if (WARN_ON_ONCE(!kc || !kc->timer_get)) in SYSCALL_DEFINE2() 907 if (WARN_ON_ONCE(!kc || !kc->timer_set)) in SYSCALL_DEFINE4() 938 if (WARN_ON_ONCE(!kc || !kc->timer_del)) in timer_delete_hook() 1127 if (WARN_ON_ONCE(!kc || !kc->nsleep_restart)) in clock_nanosleep_restart()
|
/linux-4.4.14/arch/arm/common/ |
D | mcpm_entry.c | 250 if (WARN_ON_ONCE(!platform_ops)) in mcpm_cpu_power_down() 313 if (WARN_ON_ONCE(!platform_ops || !platform_ops->wait_for_powerdown)) in mcpm_wait_for_cpu_powerdown() 326 if (WARN_ON_ONCE(!platform_ops)) in mcpm_cpu_suspend()
|
/linux-4.4.14/drivers/target/ |
D | target_core_tmr.c | 118 WARN_ON_ONCE(!irqs_disabled()); in __target_check_io_state() 241 if (WARN_ON_ONCE(!sess)) in core_tmr_drain_tmr_list() 345 if (WARN_ON_ONCE(!sess)) in core_tmr_drain_state_list()
|
/linux-4.4.14/fs/btrfs/ |
D | uuid-tree.c | 45 if (WARN_ON_ONCE(!uuid_root)) { in btrfs_uuid_tree_lookup() 109 if (WARN_ON_ONCE(!uuid_root)) { in btrfs_uuid_tree_add() 172 if (WARN_ON_ONCE(!uuid_root)) { in btrfs_uuid_tree_rem()
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_uncore.c | 465 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in uncore_pmu_event_start() 468 if (WARN_ON_ONCE(idx == -1 || idx >= UNCORE_PMC_IDX_MAX)) in uncore_pmu_event_start() 494 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in uncore_pmu_event_stop() 890 WARN_ON_ONCE(pmu->func_id != pdev->devfn); in uncore_pci_probe() 925 WARN_ON_ONCE(i >= UNCORE_EXTRA_PCI_DEV_MAX); in uncore_pci_remove() 930 if (WARN_ON_ONCE(phys_id != box->phys_id)) in uncore_pci_remove() 948 WARN_ON_ONCE(atomic_read(&box->refcnt) != 1); in uncore_pci_remove() 1140 WARN_ON_ONCE(box->cpu != -1); in uncore_change_context() 1145 WARN_ON_ONCE(box->cpu != old_cpu); in uncore_change_context()
|
D | perf_event_amd_iommu.c | 297 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in perf_iommu_start() 300 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in perf_iommu_start() 353 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in perf_iommu_stop()
|
D | perf_event_amd.c | 370 WARN_ON_ONCE(cpuc->amd_nb); in amd_pmu_cpu_prepare() 395 WARN_ON_ONCE(nb_id == BAD_APICID); in amd_pmu_cpu_starting() 399 if (WARN_ON_ONCE(!nb)) in amd_pmu_cpu_starting()
|
D | perf_event.c | 703 if (WARN_ON_ONCE(sched->saved_states >= SCHED_STATES_MAX)) in perf_sched_save_state() 1222 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in x86_pmu_start() 1225 if (WARN_ON_ONCE(idx == -1)) in x86_pmu_start() 1229 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in x86_pmu_start() 1310 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in x86_pmu_stop() 1355 if (WARN_ON_ONCE(i == cpuc->n_events)) /* called ->del() without ->add() ? */ in x86_pmu_del() 1773 WARN_ON_ONCE(cpuc->txn_flags); /* txn already in flight */ in x86_pmu_start_txn() 1793 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_cancel_txn() 1822 WARN_ON_ONCE(!cpuc->txn_flags); /* no txn in flight */ in x86_pmu_commit_txn()
|
D | perf_event_intel_cqm.c | 336 WARN_ON_ONCE(ac == bc); in __conflict_event() 999 if (!WARN_ON_ONCE(state->rmid != rmid)) in intel_cqm_event_start() 1002 WARN_ON_ONCE(state->rmid); in intel_cqm_event_start() 1024 WARN_ON_ONCE(!state->rmid); in intel_cqm_event_stop()
|
D | perf_event_intel_rapl.c | 247 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in __rapl_pmu_event_start() 281 WARN_ON_ONCE(pmu->n_active <= 0); in rapl_pmu_event_stop() 288 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in rapl_pmu_event_stop()
|
D | perf_event_amd_ibs.c | 372 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in perf_ibs_start() 375 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in perf_ibs_start() 403 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in perf_ibs_stop()
|
D | perf_event_intel_uncore_snb.c | 344 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in snb_uncore_imc_event_start() 367 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in snb_uncore_imc_event_stop()
|
D | perf_event_intel_bts.c | 83 if (WARN_ON_ONCE(!PagePrivate(page) && nr_pages > 1)) in bts_buffer_setup_aux() 311 if (WARN_ON_ONCE(head != local_read(&buf->head))) in bts_buffer_reset()
|
/linux-4.4.14/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 118 if (WARN_ON_ONCE(vif_id >= AR9170_MAX_VIRTUAL_MAC)) in __carl9170_get_tx_sta() 249 if (unlikely(WARN_ON_ONCE(cookie == 0) || in carl9170_release_dev_space() 250 WARN_ON_ONCE(cookie > ar->fw.mem_blocks))) in carl9170_release_dev_space() 275 if (WARN_ON_ONCE(!ar)) in carl9170_tx_release() 353 if (WARN_ON_ONCE(off >= CARL9170_BAW_BITS)) in carl9170_tx_shift_bm() 362 WARN_ON_ONCE(!test_and_clear_bit(off, tid_info->bitmap)); in carl9170_tx_shift_bm() 365 if (WARN_ON_ONCE(off >= CARL9170_BAW_BITS)) in carl9170_tx_shift_bm() 1146 if (WARN_ON_ONCE(!tid_info)) { in carl9170_tx_ampdu() 1327 if (!WARN_ON_ONCE(!entry)) { in carl9170_bar_check() 1419 if (WARN_ON_ONCE(!BAW_WITHIN(agg->snx, CARL9170_BAW_BITS, seq))) in carl9170_tx_ampdu_queue() [all …]
|
D | usb.c | 169 if (WARN_ON_ONCE(!ar)) { in carl9170_usb_tx_data_complete() 242 if (WARN_ON_ONCE(!ar)) in carl9170_usb_cmd_complete() 279 if (WARN_ON_ONCE(!ar)) in carl9170_usb_rx_irq_complete() 401 if (WARN_ON_ONCE(!ar)) in carl9170_usb_rx_complete()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvif/ |
D | device.c | 33 WARN_ON_ONCE(ret != 0); in nvif_device_time()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | perf_regs.c | 12 if (WARN_ON_ONCE((u32)idx >= PERF_REG_ARM64_MAX)) in perf_reg_value()
|
D | psci.c | 197 if (WARN_ON_ONCE(!index)) in cpu_psci_cpu_suspend()
|
/linux-4.4.14/net/mac80211/ |
D | trace_msg.h | 25 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
|
D | ht.c | 66 WARN_ON_ONCE(1); in ieee80211_apply_htcap_overrides() 240 WARN_ON_ONCE(1); in ieee80211_ht_cap_ie_to_sta_ht_cap() 500 if (WARN_ON_ONCE(vif->type != NL80211_IFTYPE_STATION && in ieee80211_request_smps() 512 if (WARN_ON_ONCE(smps_mode == IEEE80211_SMPS_AUTOMATIC)) in ieee80211_request_smps()
|
D | driver-ops.h | 141 if (WARN_ON_ONCE(changed & (BSS_CHANGED_BEACON | in drv_bss_info_changed() 149 if (WARN_ON_ONCE(sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE || in drv_bss_info_changed() 817 WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION); in drv_mgd_prepare_tx() 833 WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION); in drv_mgd_protect_tdls_discover() 881 WARN_ON_ONCE(!ctx->driver_present); in drv_change_chanctx() 898 WARN_ON_ONCE(!ctx->driver_present); in drv_assign_vif_chanctx() 919 WARN_ON_ONCE(!ctx->driver_present); in drv_unassign_vif_chanctx() 980 WARN_ON_ONCE(key_idx < -1 || key_idx > 3); in drv_set_default_unicast_key()
|
D | key.c | 119 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt < delta); in decrease_tailroom_need_count() 680 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt || in ieee80211_enable_keys() 685 WARN_ON_ONCE(vlan->crypto_tx_tailroom_needed_cnt || in ieee80211_enable_keys() 799 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt != in ieee80211_free_keys() 803 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt || in ieee80211_free_keys() 809 WARN_ON_ONCE(vlan->crypto_tx_tailroom_needed_cnt || in ieee80211_free_keys()
|
D | sta_info.h | 558 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_pre_move_state() 561 WARN_ON_ONCE(ret); in sta_info_pre_move_state()
|
D | driver-ops.c | 254 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx() 255 WARN_ON_ONCE((mode == CHANCTX_SWMODE_SWAP_CONTEXTS && in drv_switch_vif_chanctx()
|
D | rate.h | 66 if (WARN_ON_ONCE(!ref->ops->tx_status_noskb)) in rate_control_tx_status_noskb()
|
D | offchannel.c | 271 if (WARN_ON_ONCE(roc->started)) in ieee80211_start_next_roc() 501 WARN_ON_ONCE(!list_empty(&tmp_list)); in ieee80211_roc_purge()
|
D | tdls.c | 235 WARN_ON_ONCE(1); in ieee80211_ac_from_wmm() 424 if (WARN_ON_ONCE(!sta)) { in ieee80211_tdls_add_setup_start_ies() 552 if (WARN_ON_ONCE(!sta || !ap_sta)) { in ieee80211_tdls_add_setup_cfm_ies() 646 if (WARN_ON_ONCE(!chandef)) in ieee80211_tdls_add_chan_switch_req_ies() 1368 WARN_ON_ONCE(is_zero_ether_addr(sdata->u.mgd.tdls_peer) || in ieee80211_tdls_oper() 1918 WARN_ON_ONCE(1); in ieee80211_process_tdls_channel_switch()
|
D | iface.c | 330 if (WARN_ON_ONCE(sdata->vif.hw_queue[i] == in ieee80211_check_queues() 333 if (WARN_ON_ONCE(sdata->vif.hw_queue[i] >= in ieee80211_check_queues() 347 if (WARN_ON_ONCE(sdata->vif.cab_queue == IEEE80211_INVAL_HW_QUEUE)) in ieee80211_check_queues() 350 if (WARN_ON_ONCE(sdata->vif.cab_queue >= n_queues)) in ieee80211_check_queues() 834 WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_AP_VLAN && in ieee80211_do_stop() 1875 if (WARN_ON_ONCE(!test_bit(SDATA_STATE_RUNNING, &sdata->state))) in ieee80211_sdata_stop()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_so.c | 211 WARN_ON_ONCE(!mutex_is_locked(&dev_priv->binding_mutex)); in vmw_view_destroy() 438 WARN_ON_ONCE(!mutex_is_locked(&dev_priv->binding_mutex)); in vmw_view_cotable_list_destroy() 458 WARN_ON_ONCE(!mutex_is_locked(&dev_priv->binding_mutex)); in vmw_view_surface_list_destroy()
|
D | vmwgfx_cotable.c | 170 WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB); in vmw_cotable_unscrub() 318 WARN_ON_ONCE(bo->mem.mem_type != VMW_PL_MOB); in vmw_cotable_unbind() 424 WARN_ON_ONCE(ttm_bo_reserve(bo, false, true, false, NULL)); in vmw_cotable_resize()
|
D | vmwgfx_cmdbuf.c | 229 if (WARN_ON_ONCE(!header->inline_space)) in vmw_cmdbuf_header_inline_free() 347 if (WARN_ON_ONCE(status == SVGA_CB_STATUS_QUEUE_FULL)) { in vmw_cmdbuf_ctx_submit() 835 if (WARN_ON_ONCE(size > VMW_CMDBUF_INLINE_SIZE)) in vmw_cmdbuf_space_inline() 1303 WARN_ON_ONCE(man->has_pool); in vmw_cmdbuf_man_destroy()
|
D | vmwgfx_shader.c | 437 WARN_ON_ONCE(!shader->committed); in vmw_dx_shader_create() 492 WARN_ON_ONCE(!shader->committed); in vmw_dx_shader_scrub() 564 WARN_ON_ONCE(!mutex_is_locked(&dev_priv->binding_mutex)); in vmw_dx_shader_cotable_list_scrub()
|
/linux-4.4.14/drivers/net/wireless/ath/ |
D | trace.h | 49 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
|
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/ |
D | kernel.h | 24 #define WARN_ON_ONCE(x) (x) macro
|
/linux-4.4.14/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 136 WARN_ON_ONCE(address != regs->ip); in emulate_vsyscall() 258 if (WARN_ON_ONCE(!sigismember(&tsk->pending.signal, SIGBUS) && in emulate_vsyscall()
|
/linux-4.4.14/net/sunrpc/ |
D | sched.c | 171 WARN_ON_ONCE(RPC_IS_QUEUED(task)); in __rpc_add_wait_queue() 364 WARN_ON_ONCE(task->tk_callback != NULL); in __rpc_sleep_on_priority() 373 WARN_ON_ONCE(!RPC_IS_ACTIVATED(task)); in rpc_sleep_on() 393 WARN_ON_ONCE(!RPC_IS_ACTIVATED(task)); in rpc_sleep_on_priority() 727 WARN_ON_ONCE(RPC_IS_QUEUED(task)); in __rpc_execute() 1031 WARN_ON_ONCE(RPC_IS_QUEUED(task)); in rpc_release_task()
|
D | xdr.c | 325 WARN_ON_ONCE(len > head->iov_len); in xdr_shrink_bufhead() 612 WARN_ON_ONCE(1); in xdr_truncate_encode() 622 WARN_ON_ONCE(!xdr->end); in xdr_truncate_encode() 623 WARN_ON_ONCE(!xdr->iov); in xdr_truncate_encode() 626 WARN_ON_ONCE(fraglen); in xdr_truncate_encode() 639 WARN_ON_ONCE(xdr->iov); in xdr_truncate_encode()
|
D | svc.c | 311 WARN_ON_ONCE(m->count == 0); in svc_pool_map_set_cpumask() 559 WARN_ON_ONCE(pages > RPCSVC_MAXPAGES); in svc_init_buffer() 940 WARN_ON_ONCE(proto == 0 && port == 0); in svc_register() 1408 WARN_ON_ONCE(atomic_read(&task->tk_count) != 1); in bc_svc_process()
|
/linux-4.4.14/drivers/hwtracing/intel_th/ |
D | core.c | 630 if (WARN_ON_ONCE(hub->type != INTEL_TH_SWITCH)) in intel_th_trace_enable() 633 if (WARN_ON_ONCE(thdev->type != INTEL_TH_OUTPUT)) in intel_th_trace_enable() 651 WARN_ON_ONCE(hub->type != INTEL_TH_SWITCH); in intel_th_trace_disable() 652 if (WARN_ON_ONCE(thdev->type != INTEL_TH_OUTPUT)) in intel_th_trace_disable()
|
/linux-4.4.14/drivers/s390/cio/ |
D | qdio_main.c | 198 WARN_ON_ONCE(tmp_count); in qdio_do_sqbs() 322 WARN_ON_ONCE(aob && ((queue_type(q) != QDIO_IQDIO_QFMT) || in qdio_siga_output() 550 WARN_ON_ONCE(1); in get_inbound_buffer_frontier() 652 WARN_ON_ONCE(phys_aob & 0xFF); in qdio_aob_for_buffer() 782 WARN_ON_ONCE(1); in get_outbound_buffer_frontier() 854 WARN_ON_ONCE(atomic_read(&q->nr_buf_used) < 0); in __qdio_outbound_processing() 1109 WARN_ON_ONCE(1); in qdio_int_handler() 1163 WARN_ON_ONCE(irqs_disabled()); in qdio_shutdown() 1570 WARN_ON_ONCE(count > 1 && !multicast_outbound(q)); in handle_outbound() 1828 WARN_ON_ONCE(1); in qdio_pnso_brinfo()
|
/linux-4.4.14/drivers/hwmon/ |
D | lineage-pem.c | 235 WARN_ON_ONCE(1); in pem_get_data() 258 WARN_ON_ONCE(1); in pem_get_input() 275 WARN_ON_ONCE(1); in pem_get_fan()
|
D | ltc4151.c | 124 WARN_ON_ONCE(1); in ltc4151_get_value()
|
D | ltc4245.c | 202 WARN_ON_ONCE(1); in ltc4245_get_voltage() 251 WARN_ON_ONCE(1); in ltc4245_get_current()
|
D | ltc4215.c | 103 WARN_ON_ONCE(1); in ltc4215_get_voltage()
|
D | ltc4261.c | 127 WARN_ON_ONCE(1); in ltc4261_get_value()
|
/linux-4.4.14/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 253 WARN_ON_ONCE((HVS_READ(SCALER_DISPCTRL) & SCALER_DISPCTRL_ENABLE) != in require_hvs_enabled() 284 WARN_ON_ONCE(HVS_READ(SCALER_DISPCTRLX(chan)) & SCALER_DISPCTRLX_RESET); in vc4_crtc_disable() 286 WARN_ON_ONCE(VC4_GET_FIELD(HVS_READ(SCALER_DISPSTATX(chan)), in vc4_crtc_disable() 290 WARN_ON_ONCE((HVS_READ(SCALER_DISPSTATX(chan)) & in vc4_crtc_disable()
|
/linux-4.4.14/arch/arm/mm/ |
D | pageattr.c | 49 WARN_ON_ONCE(1); in change_memory_common()
|
/linux-4.4.14/arch/arm64/mm/ |
D | pageattr.c | 51 WARN_ON_ONCE(1); in change_memory_common()
|
/linux-4.4.14/arch/sh/kernel/ |
D | perf_event.c | 244 if (WARN_ON_ONCE(idx == -1)) in sh_pmu_start() 248 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in sh_pmu_start()
|
/linux-4.4.14/fs/xfs/ |
D | xfs_pnfs.c | 164 if (WARN_ON_ONCE(error)) in xfs_fs_map_blocks() 298 WARN_ON_ONCE(error); in xfs_fs_commit_blocks()
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 532 WARN_ON_ONCE(wl->tx_queue_count[q] <= 0); in wlcore_lnk_dequeue() 535 WARN_ON_ONCE(lnk->wlvif->tx_queue_count[q] <= 0); in wlcore_lnk_dequeue() 680 WARN_ON_ONCE(wl->tx_queue_count[q] <= 0); in wl1271_skb_dequeue() 1217 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked() 1244 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue() 1265 WARN_ON_ONCE(test_and_set_bit(reason, in wlcore_stop_queues() 1286 WARN_ON_ONCE(!test_and_clear_bit(reason, in wlcore_wake_queues()
|
/linux-4.4.14/arch/x86/mm/ |
D | iomap_32.c | 108 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in iounmap_atomic()
|
D | highmem_32.c | 83 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
|
D | pat.c | 433 WARN_ON_ONCE(1); in reserve_ram_pages_type() 657 WARN_ON_ONCE(iomem_map_sanity_check(start, size)); in io_reserve_memtype() 897 WARN_ON_ONCE(1); in track_pfn_copy() 985 WARN_ON_ONCE(1); in untrack_pfn()
|
/linux-4.4.14/arch/arc/kernel/ |
D | perf_event.c | 265 if (WARN_ON_ONCE(idx == -1)) in arc_pmu_start() 269 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in arc_pmu_start() 407 WARN_ON_ONCE(hwc->idx != idx); in arc_pmu_intr()
|
/linux-4.4.14/arch/powerpc/mm/ |
D | fault.c | 413 WARN_ON_ONCE(error_code & DSISR_PROTFAULT); in do_page_fault() 424 WARN_ON_ONCE(error_code & DSISR_PROTFAULT); in do_page_fault()
|
D | copro_fault.c | 74 WARN_ON_ONCE(dsisr & DSISR_PROTFAULT); in copro_handle_mm_fault()
|
D | icswx.c | 136 if (WARN_ON_ONCE(!mm)) in drop_cop()
|
/linux-4.4.14/drivers/scsi/snic/ |
D | snic.h | 187 WARN_ON_ONCE(EXPR); \ 198 WARN_ON_ONCE(EXPR); \
|
D | snic_io.c | 269 WARN_ON_ONCE(1); in snic_abort_req_init() 295 WARN_ON_ONCE(1); in snic_dr_req_init()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_runtime_pm.c | 914 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DISP2D); in vlv_display_power_well_enable() 924 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DISP2D); in vlv_display_power_well_disable() 934 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC); in vlv_dpio_cmn_power_well_enable() 960 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC); in vlv_dpio_cmn_power_well_disable() 1102 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC && in chv_dpio_cmn_power_well_enable() 1160 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC && in chv_dpio_cmn_power_well_disable() 1375 WARN_ON_ONCE(power_well->data != PIPE_A); in chv_pipe_power_well_sync_hw() 1383 WARN_ON_ONCE(power_well->data != PIPE_A); in chv_pipe_power_well_enable() 1393 WARN_ON_ONCE(power_well->data != PIPE_A); in chv_pipe_power_well_disable()
|
/linux-4.4.14/drivers/ata/ |
D | libata-sff.c | 426 WARN_ON_ONCE(!ioaddr->ctl_addr); in ata_sff_tf_load() 499 WARN_ON_ONCE(1); in ata_sff_tf_read() 765 WARN_ON_ONCE(qc->dev->multi_count == 0); in ata_pio_sectors() 792 WARN_ON_ONCE(qc->dev->cdb_len < 12); in atapi_send_cdb() 1048 WARN_ON_ONCE((qc->flags & ATA_QCFLAG_ACTIVE) == 0); in ata_sff_hsm_move() 1054 WARN_ON_ONCE(in_wq != ata_hsm_ok_in_wq(ap, qc)); in ata_sff_hsm_move() 1262 WARN_ON_ONCE(qc->err_mask & (AC_ERR_DEV | AC_ERR_HSM)); in ata_sff_hsm_move() 1358 WARN_ON_ONCE(ap->hsm_task_state == HSM_ST_IDLE); in ata_sff_pio_task() 1483 WARN_ON_ONCE(1); in ata_sff_qc_issue() 2795 WARN_ON_ONCE(qc->tf.flags & ATA_TFLAG_POLLING); in ata_bmdma_qc_issue() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.h | 104 WARN_ON_ONCE(ioptr && !is_iomem); in nvbo_kmap_obj_iovirtual()
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/mc/ |
D | base.c | 51 if (WARN_ON_ONCE(intr == 0xffffffff)) in nvkm_mc_intr_mask()
|
/linux-4.4.14/net/ieee802154/6lowpan/ |
D | tx.c | 38 WARN_ON_ONCE(skb_headroom(skb) < sizeof(struct lowpan_addr_info)); in lowpan_skb_priv() 263 WARN_ON_ONCE(skb->len > IPV6_MIN_MTU); in lowpan_xmit()
|
/linux-4.4.14/drivers/nvdimm/ |
D | dimm_devs.c | 225 WARN_ON_ONCE(!is_nvdimm_bus_locked(&nvdimm->dev)); in to_ndd() 487 WARN_ON_ONCE(!is_nvdimm_bus_locked(ndd->dev)); in nvdimm_free_dpa() 502 WARN_ON_ONCE(!is_nvdimm_bus_locked(ndd->dev)); in nvdimm_allocate_dpa()
|
D | claim.c | 166 WARN_ON_ONCE(!is_nvdimm_bus_locked(dev)); in nd_namespace_store()
|
/linux-4.4.14/fs/sysfs/ |
D | dir.c | 96 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in sysfs_remove_dir()
|
D | file.c | 117 if (pos || WARN_ON_ONCE(buf != of->prealloc_buf)) in sysfs_kf_read() 433 if (WARN_ON_ONCE(!kn)) in sysfs_remove_file_self()
|
/linux-4.4.14/arch/arm/mach-uniphier/ |
D | platsmp.c | 188 if (WARN_ON_ONCE(!uniphier_smp_rom_boot_rsv2)) in uniphier_smp_boot_secondary()
|
/linux-4.4.14/arch/powerpc/platforms/85xx/ |
D | smp.c | 217 if (WARN_ON_ONCE(!cpu_has_feature(CPU_FTR_SMT))) in smp_85xx_kick_cpu() 236 if (WARN_ON_ONCE(!cpu_has_feature(CPU_FTR_SMT))) in smp_85xx_kick_cpu()
|
/linux-4.4.14/arch/x86/kvm/ |
D | hyperv.c | 57 if (WARN_ON_ONCE(index >= ARRAY_SIZE(hv->hv_crash_param))) in kvm_hv_msr_get_crash_data() 100 if (WARN_ON_ONCE(index >= ARRAY_SIZE(hv->hv_crash_param))) in kvm_hv_msr_set_crash_data()
|
/linux-4.4.14/drivers/clk/ |
D | clk.c | 100 WARN_ON_ONCE(prepare_owner != NULL); in clk_prepare_lock() 101 WARN_ON_ONCE(prepare_refcnt != 0); in clk_prepare_lock() 108 WARN_ON_ONCE(prepare_owner != current); in clk_prepare_unlock() 109 WARN_ON_ONCE(prepare_refcnt == 0); in clk_prepare_unlock() 130 WARN_ON_ONCE(enable_owner != NULL); in clk_enable_lock() 131 WARN_ON_ONCE(enable_refcnt != 0); in clk_enable_lock() 140 WARN_ON_ONCE(enable_owner != current); in clk_enable_unlock() 141 WARN_ON_ONCE(enable_refcnt == 0); in clk_enable_unlock() 2627 WARN_ON_ONCE(1); in clk_nodrv_disable_unprepare() 2658 if (!clk || WARN_ON_ONCE(IS_ERR(clk))) in clk_unregister() [all …]
|
/linux-4.4.14/drivers/firmware/efi/ |
D | efi.c | 273 if (WARN_ON_ONCE(!map->phys_map)) in efi_mem_desc_lookup() 275 if (WARN_ON_ONCE(map->nr_map == 0) || WARN_ON_ONCE(map->desc_size == 0)) in efi_mem_desc_lookup()
|
/linux-4.4.14/fs/kernfs/ |
D | dir.c | 373 WARN_ON_ONCE(kernfs_active(kn)); in kernfs_drain() 1040 WARN_ON_ONCE(pos->parent && RB_EMPTY_NODE(&pos->rb)); in kernfs_activate() 1041 WARN_ON_ONCE(atomic_read(&pos->active) != KN_DEACTIVATED_BIAS); in kernfs_activate() 1093 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); in __kernfs_remove() 1246 WARN_ON_ONCE(!RB_EMPTY_NODE(&kn->rb)); in kernfs_remove_self()
|
/linux-4.4.14/drivers/oprofile/ |
D | event_buffer.c | 51 WARN_ON_ONCE(1); in add_event_entry()
|
/linux-4.4.14/drivers/pps/clients/ |
D | pps-ldisc.c | 44 if (WARN_ON_ONCE(pps == NULL)) in pps_tty_dcd_change()
|
/linux-4.4.14/fs/ |
D | locks.c | 240 WARN_ON_ONCE(!list_empty(&ctx->flc_flock)); in locks_free_lock_context() 241 WARN_ON_ONCE(!list_empty(&ctx->flc_posix)); in locks_free_lock_context() 242 WARN_ON_ONCE(!list_empty(&ctx->flc_lease)); in locks_free_lock_context() 343 WARN_ON_ONCE(new->fl_ops); in locks_copy_lock() 1407 WARN_ON_ONCE(1); in __break_lease() 1633 WARN_ON_ONCE(1); in generic_add_lease() 1776 WARN_ON_ONCE(1); in generic_setlease() 2238 WARN_ON_ONCE(error); in fcntl_setlk() 2380 WARN_ON_ONCE(error); in fcntl_setlk64()
|
D | block_dev.c | 952 WARN_ON_ONCE(!bdev->bd_holder); in bd_link_disk_holder() 1018 if (!WARN_ON_ONCE(holder == NULL) && !--holder->refcnt) { in bd_unlink_disk_holder() 1345 WARN_ON_ONCE((mode & FMODE_EXCL) && !holder); in blkdev_get() 1523 WARN_ON_ONCE(bdev->bd_holders); in __blkdev_put() 1572 WARN_ON_ONCE(--bdev->bd_holders < 0); in blkdev_put() 1573 WARN_ON_ONCE(--bdev->bd_contains->bd_holders < 0); in blkdev_put()
|
D | attr.c | 198 WARN_ON_ONCE(!mutex_is_locked(&inode->i_mutex)); in notify_change()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | perf_event.c | 325 if (WARN_ON_ONCE(idx == -1)) in bfin_pmu_start() 329 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in bfin_pmu_start()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | cfp.c | 403 if (WARN_ON_ONCE(!sband)) in mwifiex_get_rates_from_cfg80211() 408 if (WARN_ON_ONCE(!sband)) in mwifiex_get_rates_from_cfg80211()
|
/linux-4.4.14/block/ |
D | blk-cgroup.c | 178 WARN_ON_ONCE(!rcu_read_lock_held()); in blkg_create() 208 if (WARN_ON_ONCE(!blkg->parent)) { in blkg_create() 275 WARN_ON_ONCE(!rcu_read_lock_held()); in blkg_lookup_create() 318 WARN_ON_ONCE(list_empty(&blkg->q_node)); in blkg_destroy() 319 WARN_ON_ONCE(hlist_unhashed(&blkg->blkcg_node)); in blkg_destroy()
|
/linux-4.4.14/kernel/events/ |
D | callchain.c | 105 if (WARN_ON_ONCE(count < 1)) { in get_callchain_buffers()
|
D | core.c | 519 WARN_ON_ONCE(cpuctx->cgrp); in perf_cgroup_switch() 1219 WARN_ON_ONCE(event->attach_state & PERF_ATTACH_CONTEXT); in list_add_event() 1384 WARN_ON_ONCE(group_leader->ctx != event->ctx); in perf_group_attach() 1408 WARN_ON_ONCE(event->ctx != ctx); in list_del_event() 1493 WARN_ON_ONCE(sibling->ctx != event->ctx); in perf_group_detach() 1563 WARN_ON_ONCE(event->ctx != ctx); in event_sched_out() 2706 if (WARN_ON_ONCE(ctx != cpuctx->task_ctx)) in task_ctx_sched_out() 3310 WARN_ON_ONCE((event->attach_state & PERF_ATTACH_TASK) && in perf_event_read_local() 3314 WARN_ON_ONCE(!(event->attach_state & PERF_ATTACH_TASK) && in perf_event_read_local() 3321 WARN_ON_ONCE(event->attr.inherit); in perf_event_read_local() [all …]
|
/linux-4.4.14/arch/s390/mm/ |
D | pageattr.c | 73 if (WARN_ON_ONCE(!ptep)) in change_page_attr()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | perf_event.c | 248 if (WARN_ON_ONCE(idx == -1)) in xtensa_pmu_start() 252 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in xtensa_pmu_start()
|
/linux-4.4.14/fs/nfsd/ |
D | nfs4state.c | 285 WARN_ON_ONCE(!list_empty(&fi->fi_clnt_odstate)); in put_nfs4_file() 286 WARN_ON_ONCE(!list_empty(&fi->fi_delegations)); in put_nfs4_file() 468 WARN_ON_ONCE(access & ~NFS4_SHARE_ACCESS_BOTH); in nfs4_file_put_access() 949 WARN_ON_ONCE(access > NFS4_SHARE_ACCESS_BOTH); in set_access() 959 WARN_ON_ONCE(access > NFS4_SHARE_ACCESS_BOTH); in clear_access() 978 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in set_deny() 988 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in clear_deny() 1011 WARN_ON_ONCE(1); in nfs4_access_to_omode() 1137 WARN_ON_ONCE(!list_empty(&stp->st_locks)); in put_ol_stateid_locked() 1740 WARN_ON_ONCE(atomic_read(&ses->se_ref)); in free_client() [all …]
|
/linux-4.4.14/drivers/clocksource/ |
D | timer-atmel-st.c | 72 WARN_ON_ONCE(!irqs_disabled()); in at91rm9200_timer_interrupt()
|
/linux-4.4.14/drivers/spi/ |
D | spi-xtensa-xtfpga.c | 53 WARN_ON_ONCE(i == BUSY_WAIT_US); in xtfpga_spi_wait_busy()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 373 if (WARN_ON_ONCE(min_offset > max_offset)) in amdgpu_bo_pin_restricted() 387 WARN_ON_ONCE(max_offset < in amdgpu_bo_pin_restricted() 399 if (WARN_ON_ONCE(min_offset > in amdgpu_bo_pin_restricted()
|
/linux-4.4.14/net/wireless/ |
D | chan.c | 149 WARN_ON_ONCE(1); in chandef_primary_freqs() 179 WARN_ON_ONCE(1); in cfg80211_chandef_get_width() 666 WARN_ON_ONCE(1); in cfg80211_chandef_usable()
|
/linux-4.4.14/arch/powerpc/platforms/powernv/ |
D | opal-irqchip.c | 261 if (WARN_ON_ONCE(!opal_event_irqchip.domain)) in opal_event_request()
|
/linux-4.4.14/arch/arm/probes/uprobes/ |
D | core.c | 154 WARN_ON_ONCE(current->thread.trap_no != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
|
/linux-4.4.14/drivers/net/wireless/cw1200/ |
D | bh.c | 275 if (WARN_ON_ONCE(alloc_len > EFFECTIVE_BUF_SIZE)) { in cw1200_bh_rx_helper() 394 if (WARN_ON_ONCE(tx_len > EFFECTIVE_BUF_SIZE)) in cw1200_bh_tx_helper()
|
/linux-4.4.14/drivers/staging/rdma/ehca/ |
D | ehca_sqp.c | 229 if (WARN_ON_ONCE(in_mad_size != sizeof(*in_mad) || in ehca_process_mad()
|
/linux-4.4.14/drivers/tty/ |
D | tty_ldisc.c | 190 if (WARN_ON_ONCE(!ld)) in tty_ldisc_put() 358 WARN_ON_ONCE(tty == tty2); in tty_ldisc_lock_pair_timeout()
|
/linux-4.4.14/drivers/lightnvm/ |
D | gennvm.c | 308 WARN_ON_ONCE(1); in gennvm_put_blk() 367 WARN_ON_ONCE(1); in gennvm_blk_set_type()
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 465 WARN_ON_ONCE(ch->connected); in srp_destroy_qp() 929 WARN_ON_ONCE(target->state != SRP_TARGET_REMOVED); in srp_remove_target() 962 WARN_ON_ONCE(target->state != SRP_TARGET_REMOVED); in srp_remove_work() 993 WARN_ON_ONCE(!multich && srp_connected_ch(target) > 0); in srp_connect_ch() 1176 WARN_ON_ONCE(sdev->request_queue->request_fn_active); in srp_terminate_io() 1264 WARN_ON_ONCE(!dma_len); in srp_map_desc() 1286 WARN_ON_ONCE(!dev->use_fmr); in srp_map_finish_fmr() 1329 WARN_ON_ONCE(!dev->use_fast_reg); in srp_map_finish_fr() 1388 WARN_ON_ONCE(!dma_len); in srp_map_sg_entry() 2065 WARN_ON_ONCE(scmnd->request->tag < 0); in srp_queuecommand() [all …]
|
/linux-4.4.14/drivers/hwtracing/stm/ |
D | core.c | 188 if (WARN_ON_ONCE(master->nr_free < output->nr_chans)) in stm_output_claim() 292 if (WARN_ON_ONCE(output->nr_chans)) in stm_output_assign() 788 if (WARN_ON_ONCE(link != stm)) { in __stm_source_link_drop()
|