Home
last modified time | relevance | path

Searched refs:WARN_ON_ONCE (Results 1 – 200 of 562) sorted by relevance

123

/linux-4.1.27/scripts/coccinelle/misc/
Dwarn.cocci70 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.1.27/drivers/net/wireless/brcm80211/brcmutil/
Dd11.c128 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.1.27/lib/
Drbtree_test.c124 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()
Dtimerqueue.c46 WARN_ON_ONCE(!RB_EMPTY_NODE(&node->node)); in timerqueue_add()
74 WARN_ON_ONCE(RB_EMPTY_NODE(&node->node)); in timerqueue_del()
Dpercpu-refcount.c172 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()
Dscatterlist.c259 if (WARN_ON_ONCE(nents > max_ents)) in __sg_alloc_table()
595 WARN_ON_ONCE(preemptible()); in sg_miter_stop()
Dseq_buf.c236 if (WARN_ON_ONCE(j == 0 || j/2 > len))
Didr.c319 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.1.27/fs/nfs/
Dpagelist.c172 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 …]
Dwrite.c119 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 …]
Dread.c81 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()
411 WARN_ON_ONCE(pgio.pg_mirror_count != 1); in nfs_readpages()
Ddirect.c174 WARN_ON_ONCE(1); in nfs_direct_select_verf()
194 WARN_ON_ONCE(verfp->committed >= 0); in nfs_direct_set_hdr_verf()
196 WARN_ON_ONCE(verfp->committed < 0); in nfs_direct_set_hdr_verf()
/linux-4.1.27/kernel/
Dirq_work.c69 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()
Dworkqueue.c464 WARN_ON_ONCE(1); in work_fixup_activate()
628 WARN_ON_ONCE(!work_pending(work)); in set_work_data()
869 WARN_ON_ONCE(worker->pool->cpu != cpu); in wq_worker_waking_up()
905 if (WARN_ON_ONCE(cpu != raw_smp_processor_id() || pool->cpu != cpu)) in wq_worker_sleeping()
939 WARN_ON_ONCE(worker->task != current); in worker_set_flags()
965 WARN_ON_ONCE(worker->task != current); in worker_clr_flags()
1077 WARN_ON_ONCE(pwq->refcnt <= 0); in get_pwq()
1093 if (WARN_ON_ONCE(!(pwq->wq->flags & WQ_UNBOUND))) in put_pwq()
1356 WARN_ON_ONCE(!irqs_disabled()); in __queue_work()
1362 WARN_ON_ONCE(!is_chained_work(wq))) in __queue_work()
[all …]
Dsoftirq.c99 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()
Dsmp.c291 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()
Dtracepoint.c188 WARN_ON_ONCE(1); in tracepoint_add_func()
221 WARN_ON_ONCE(1); in tracepoint_remove_func()
358 WARN_ON_ONCE((*iter)->funcs); in tp_module_going_check_quiescent()
Dcontext_tracking.c75 WARN_ON_ONCE(!current->mm); in context_tracking_enter()
Dtorture.c287 if (WARN_ON_ONCE(tp == NULL)) in torture_shuffle_task_register()
290 if (WARN_ON_ONCE(stp == NULL)) in torture_shuffle_task_register()
Dcapability.c423 if (WARN_ON_ONCE(!cap_valid(cap))) in file_ns_capable()
/linux-4.1.27/arch/powerpc/sysdev/xics/
Dicp-hv.c37 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.1.27/include/linux/
Diocontext.h130 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()
Dkref.h47 WARN_ON_ONCE(atomic_inc_return(&kref->refcount) < 2); in kref_get()
Dmmdebug.h40 #define VM_WARN_ON_ONCE(cond) WARN_ON_ONCE(cond)
Dftrace.h209 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()
Dquotaops.h52 WARN_ON_ONCE(!atomic_read(&dquot->dq_count)); in dqgrab()
53 WARN_ON_ONCE(!test_bit(DQ_ACTIVE_B, &dquot->dq_flags)); in dqgrab()
Dkernfs.h252 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()
Dhighmem.h95 WARN_ON_ONCE(in_irq() && !irqs_disabled()); in kmap_atomic_idx_push()
/linux-4.1.27/drivers/net/wireless/iwlwifi/
Diwl-scd.h115 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()
Diwl-devtrace-msg.h44 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
85 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
Diwl-fh.h127 WARN_ON_ONCE(chnl >= 32); in FH_MEM_CBBC_QUEUE()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dbinding.c129 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()
Dtx.c109 WARN_ON_ONCE(tx_cmd->tid_tspec >= IWL_MAX_TID_COUNT); in iwl_mvm_set_tx_cmd()
136 WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_AMPDU); in iwl_mvm_set_tx_cmd()
323 if (WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_AMPDU)) in iwl_mvm_tx_skb_non_sta()
326 if (WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM && in iwl_mvm_tx_skb_non_sta()
405 if (WARN_ON_ONCE(!mvmsta)) in iwl_mvm_tx_skb()
408 if (WARN_ON_ONCE(mvmsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_tx_skb()
431 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_tx_skb()
445 WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM); in iwl_mvm_tx_skb()
455 if (WARN_ON_ONCE(mvmsta->tid_data[tid].state != IWL_AGG_ON)) in iwl_mvm_tx_skb()
742 if (WARN_ON_ONCE(!sta)) in iwl_mvm_rx_tx_cmd_single()
[all …]
Dquota.c101 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()
Drs.c714 if (WARN_ON_ONCE(reduced_txp > TPC_MAX_REDUCTION)) in rs_collect_tx_data()
751 WARN_ON_ONCE(1); in ucode_rate_from_rs_rate()
763 WARN_ON_ONCE(1); in ucode_rate_from_rs_rate()
837 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
839 WARN_ON_ONCE(1); in rs_rate_from_ucode_rate()
852 WARN_ON_ONCE(num_of_ant != 2); in rs_rate_from_ucode_rate()
854 WARN_ON_ONCE(1); in rs_rate_from_ucode_rate()
858 WARN_ON_ONCE(rate->bw == RATE_MCS_CHAN_WIDTH_160); in rs_rate_from_ucode_rate()
859 WARN_ON_ONCE(rate->bw == RATE_MCS_CHAN_WIDTH_80 && in rs_rate_from_ucode_rate()
901 WARN_ON_ONCE(1); in rs_get_supported_rates()
[all …]
Dtime-event.c225 WARN_ON_ONCE(1); in iwl_mvm_te_handle_notify_csa()
452 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { in iwl_mvm_te_notif()
484 if (WARN_ON_ONCE(resp_len != sizeof(*resp))) { in iwl_mvm_time_event_response()
492 if (WARN_ON_ONCE(le32_to_cpu(resp->id) != te_data->id)) in iwl_mvm_time_event_response()
551 WARN_ON_ONCE(ret); in iwl_mvm_time_event_send_add()
Dsta.c78 WARN_ON_ONCE(test_bit(IWL_MVM_STATUS_IN_HW_RESTART, &mvm->status)); in iwl_mvm_find_free_sta_id()
522 if (WARN_ON_ONCE(mvm->tdls_cs.peer.sta_id == mvm_sta->sta_id)) { in iwl_mvm_rm_sta()
581 if (WARN_ON_ONCE(sta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_allocate_int_sta()
693 if (WARN_ON_ONCE(bsta->sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_send_add_bcast_sta()
922 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_sta_tx_agg_start()
1432 if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) in iwl_mvm_set_sta_key()
1520 if (WARN_ON_ONCE(iwl_mvm_sta_from_mac80211(sta)->vif != vif)) in iwl_mvm_remove_sta_key()
1545 if (WARN_ON_ONCE(sta_id == IWL_MVM_STATION_COUNT)) in iwl_mvm_update_tkip_key()
1672 if (WARN_ON_ONCE(sta_id >= IWL_MVM_STATION_COUNT)) in iwl_mvm_rx_eosp_notif()
Dtt.c122 if (WARN_ON_ONCE(len != sizeof(*notif))) { in iwl_mvm_temp_notif_parse()
132 if (WARN_ON_ONCE(temp < 0)) in iwl_mvm_temp_notif_parse()
Dtdls.c168 if (WARN_ON_ONCE(ret)) in iwl_mvm_tdls_config()
178 if (WARN_ON_ONCE(iwl_rx_packet_payload_len(pkt) != sizeof(*resp))) in iwl_mvm_tdls_config()
448 if (WARN_ON_ONCE(!chanctx)) { in iwl_mvm_tdls_config_channel_switch()
Dnvm.c531 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()
854 if (WARN_ON_ONCE(!iwl_mvm_is_lar_supported(mvm))) in iwl_mvm_rx_chub_update_mcc()
Dphy-ctxt.c265 if (WARN_ON_ONCE(!ctxt)) in iwl_mvm_phy_ctxt_unref()
Dmac80211.c286 WARN_ON_ONCE(1); in iwl_mvm_ref_sync()
805 WARN_ON_ONCE(1); in iwl_mvm_mac_ampdu_action()
1772 if (WARN_ON_ONCE(data->port_id >= MAX_PORT_ID_NUM)) in iwl_mvm_mc_iface_iterator()
1796 if (WARN_ON_ONCE(!mvm->mcast_filter_cmd)) in iwl_mvm_recalc_multicast()
1939 if (WARN_ON_ONCE(data->current_filter >= in iwl_mvm_bcast_filter_iterator()
2370 WARN_ON_ONCE(1); in iwl_mvm_bss_info_changed()
2401 WARN_ON_ONCE(1); in iwl_mvm_cancel_scan_wait_notif()
2623 if (WARN_ON_ONCE(!mvmvif->phy_ctxt)) in iwl_mvm_mac_sta_state()
2774 if (WARN_ON_ONCE(vif->bss_conf.assoc)) in iwl_mvm_mac_mgd_prepare_tx()
2891 WARN_ON_ONCE(!(hw->flags & IEEE80211_HW_MFP_CAPABLE)); in iwl_mvm_mac_set_key()
[all …]
Dops.c770 if (WARN_ON_ONCE(mq == IWL_INVALID_MAC80211_QUEUE)) in iwl_mvm_stop_sw_queue()
788 if (WARN_ON_ONCE(mq == IWL_INVALID_MAC80211_QUEUE)) in iwl_mvm_wake_sw_queue()
882 WARN_ON_ONCE((!test_bit(STATUS_FW_ERROR, &mvm->trans->status)) && in iwl_mvm_fw_error_dump_wk()
1136 WARN_ON_ONCE(d0i3_iter_data.vif_count > 1); in iwl_mvm_enter_d0i3()
/linux-4.1.27/arch/sparc/kernel/
Dpcr.c58 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()
Dsys_sparc_32.c169 WARN_ON_ONCE(sig >= 0); in SYSCALL_DEFINE3()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_cache.c99 WARN_ON_ONCE(1); in drm_clflush_pages()
123 WARN_ON_ONCE(1); in drm_clflush_sg()
146 WARN_ON_ONCE(1); in drm_clflush_virt_range()
/linux-4.1.27/kernel/bpf/
Dhelpers.c36 WARN_ON_ONCE(!rcu_read_lock_held()); in bpf_map_lookup_elem()
60 WARN_ON_ONCE(!rcu_read_lock_held()); in bpf_map_update_elem()
80 WARN_ON_ONCE(!rcu_read_lock_held()); in bpf_map_delete_elem()
Dhashtab.c129 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_lookup_elem()
154 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_get_next_key()
218 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_update_elem()
288 WARN_ON_ONCE(!rcu_read_lock_held()); in htab_map_delete_elem()
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2800soc.c114 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.1.27/arch/tile/kernel/
Dperf_event.c374 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.1.27/arch/arm/kernel/
Dinsn.c14 WARN_ON_ONCE(1); in __arm_gen_branch_thumb2()
46 WARN_ON_ONCE(1); in __arm_gen_branch_arm()
Dperf_regs.c11 if (WARN_ON_ONCE((u32)idx >= PERF_REG_ARM_MAX)) in perf_reg_value()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Dhtc_pipe.c223 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 …]
Dtrace.h258 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
290 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
Dtxrx.c295 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.1.27/drivers/media/pci/solo6x10/
Dsolo6x10-p2m.c44 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()
Dsolo6x10-enc.c146 if (WARN_ON_ONCE(!vga)) in solo_osd_print()
220 if (WARN_ON_ONCE(ch > 31)) in solo_g_jpeg_qp()
/linux-4.1.27/mm/
Dnobootmem.c228 if (WARN_ON_ONCE(slab_is_available())) in ___alloc_bootmem_nopanic()
333 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node_nopanic()
372 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node()
433 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_low_node()
Dinterval_tree.c109 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()
Dbootmem.c608 if (WARN_ON_ONCE(slab_is_available())) in alloc_bootmem_core()
707 if (WARN_ON_ONCE(slab_is_available())) in ___alloc_bootmem_node_nopanic()
734 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node_nopanic()
773 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node()
785 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_node_high()
857 if (WARN_ON_ONCE(slab_is_available())) in __alloc_bootmem_low_node()
Dvmacache.c100 if (WARN_ON_ONCE(vma->vm_mm != mm)) in vmacache_find()
Dpage_counter.c26 WARN_ON_ONCE(new < 0); in page_counter_cancel()
Dcma.c109 WARN_ON_ONCE(!pfn_valid(pfn)); in cma_activate_area()
117 WARN_ON_ONCE(!pfn_valid(pfn)); in cma_activate_area()
Dsparse.c157 WARN_ON_ONCE(1); in mminit_validate_memmodel_limits()
164 WARN_ON_ONCE(1); in mminit_validate_memmodel_limits()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Dbrcms_trace_brcmsmac_msg.h34 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
72 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
/linux-4.1.27/arch/x86/kernel/apic/
Dapic_noop.c102 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.1.27/kernel/rcu/
Dtree.c607 WARN_ON_ONCE(atomic_read(&rdtp->dynticks) & 0x1); in rcu_eqs_enter_common()
633 WARN_ON_ONCE((oldval & DYNTICK_TASK_NEST_MASK) == 0); in rcu_eqs_enter()
706 WARN_ON_ONCE(rdtp->dynticks_nesting < 0); in rcu_irq_exit()
731 WARN_ON_ONCE(!(atomic_read(&rdtp->dynticks) & 0x1)); in rcu_eqs_exit_common()
758 WARN_ON_ONCE(oldval < 0); in rcu_eqs_exit()
831 WARN_ON_ONCE(rdtp->dynticks_nesting == 0); in rcu_irq_enter()
855 WARN_ON_ONCE(rdtp->dynticks_nmi_nesting < 0); in rcu_nmi_enter()
870 WARN_ON_ONCE(!(atomic_read(&rdtp->dynticks) & 0x1)); in rcu_nmi_enter()
894 WARN_ON_ONCE(rdtp->dynticks_nmi_nesting <= 0); in rcu_nmi_exit()
895 WARN_ON_ONCE(!(atomic_read(&rdtp->dynticks) & 0x1)); in rcu_nmi_exit()
[all …]
Dtree_plugin.h178 WARN_ON_ONCE((rdp->grpmask & rcu_rnp_online_cpus(rnp)) == 0); in rcu_preempt_note_context_switch()
179 WARN_ON_ONCE(!list_empty(&t->rcu_node_entry)); in rcu_preempt_note_context_switch()
472 WARN_ON_ONCE(rcu_preempt_blocked_readers_cgp(rnp)); in rcu_preempt_check_blocked_tasks()
475 WARN_ON_ONCE(rnp->qsmask); in rcu_preempt_check_blocked_tasks()
634 WARN_ON_ONCE(rnp->expmask); in sync_rcu_preempt_exp_init1()
635 WARN_ON_ONCE(rnp->exp_tasks); in sync_rcu_preempt_exp_init1()
894 WARN_ON_ONCE(rnp->qsmask); in rcu_preempt_check_blocked_tasks()
1333 WARN_ON_ONCE(1); in invoke_rcu_callbacks_kthread()
1949 WARN_ON_ONCE(1); in rcu_nocb_cpu_needs_barrier()
2548 WARN_ON_ONCE(1); /* Should be dead code. */ in rcu_nocb_cpu_needs_barrier()
[all …]
Drcutorture.c955 WARN_ON_ONCE(1); in rcu_torture_writer()
963 WARN_ON_ONCE(expediting == 0 && rcu_gp_is_expedited()); in rcu_torture_writer()
979 WARN_ON_ONCE(can_expedite && rcu_gp_is_expedited()); in rcu_torture_writer()
1235 WARN_ON_ONCE(1); in rcu_torture_stats_print()
1458 WARN_ON_ONCE(1); in rcu_torture_barrier()
/linux-4.1.27/kernel/sched/
Didle.c26 WARN_ON_ONCE(cpu_idle_force_poll < 0); in cpu_idle_poll_ctrl()
180 if (WARN_ON_ONCE(irqs_disabled())) in cpuidle_idle_call()
Dclock.c328 WARN_ON_ONCE(!irqs_disabled()); in sched_clock_tick()
/linux-4.1.27/net/openvswitch/
Ddatapath.h164 WARN_ON_ONCE(!rcu_read_lock_held()); in ovs_vport_rcu()
170 WARN_ON_ONCE(!rcu_read_lock_held() && !lockdep_ovsl_is_held()); in ovs_vport_ovsl_rcu()
/linux-4.1.27/kernel/locking/
Dlockdep_internals.h146 WARN_ON_ONCE(!irqs_disabled()); \
151 WARN_ON_ONCE(!irqs_disabled()); \
Dlocktorture.c446 if (WARN_ON_ONCE(lock_is_write_held)) in lock_torture_writer()
449 if (WARN_ON_ONCE(lock_is_read_held)) in lock_torture_writer()
481 if (WARN_ON_ONCE(lock_is_write_held)) in lock_torture_reader()
/linux-4.1.27/arch/powerpc/kernel/
Drtasd.c218 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()
Duprobes.c116 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
Dcacheinfo.c428 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.1.27/arch/arm/include/asm/
Dcputype.h119 WARN_ON_ONCE(1); \
136 WARN_ON_ONCE(1); \
/linux-4.1.27/kernel/irq/
Dpm.c41 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.1.27/include/asm-generic/
Dbug.h109 #define WARN_ON_ONCE(condition) ({ \ macro
163 #define WARN_ON_ONCE(condition) WARN_ON(condition) macro
/linux-4.1.27/kernel/trace/
Dtrace_syscalls.c127 WARN_ON_ONCE(1); in print_syscall_enter()
175 WARN_ON_ONCE(1); in print_syscall_exit()
395 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_enter()
415 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_enter()
433 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in reg_event_syscall_exit()
453 if (WARN_ON_ONCE(num < 0 || num >= NR_syscalls)) in unreg_event_syscall_exit()
Dtrace_kprobe.c1400 if (WARN_ON_ONCE(ret)) { in kprobe_trace_self_tests_init()
1406 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init()
1411 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init()
1421 if (WARN_ON_ONCE(ret)) { in kprobe_trace_self_tests_init()
1427 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init()
1432 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init()
1447 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init()
1452 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init()
1460 if (WARN_ON_ONCE(tk == NULL)) { in kprobe_trace_self_tests_init()
1465 if (WARN_ON_ONCE(file == NULL)) { in kprobe_trace_self_tests_init()
[all …]
Dtrace_events.c431 WARN_ON_ONCE(system_refcount(system) == 0); in __put_system()
448 WARN_ON_ONCE(system_refcount(system) == 0); in __get_system()
454 WARN_ON_ONCE(dir->ref_count == 0); in __get_system_dir()
461 WARN_ON_ONCE(dir->ref_count == 0); in __put_system_dir()
463 WARN_ON_ONCE(system_refcount(dir->subsystem) == 1 && dir->ref_count != 1); in __put_system_dir()
1782 if (WARN_ON_ONCE(!ptr)) in update_event_printk()
2189 if (WARN_ON_ONCE(data->ref <= 0)) in event_enable_free()
2402 if (WARN_ON_ONCE(call->mod)) in __trace_early_add_events()
2804 WARN_ON_ONCE(1); in event_trace_self_tests()
2830 if (WARN_ON_ONCE(ret)) { in event_trace_self_tests()
[all …]
/linux-4.1.27/include/net/
Dgenetlink.h297 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_netns()
416 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_set_err()
425 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_has_listeners()
Dinetpeer.h172 WARN_ON_ONCE(atomic_read(&p->refcnt) <= 0); in inet_peer_refcheck()
Drequest_sock.h102 WARN_ON_ONCE(atomic_read(&req->rsk_refcnt) != 0); in reqsk_free()
/linux-4.1.27/arch/s390/include/asm/
Dpci_dma.h139 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.1.27/arch/x86/pci/
Dirq.c203 WARN_ON_ONCE(pirq > 16); in pirq_ali_get()
212 WARN_ON_ONCE(pirq > 16); in pirq_ali_set()
263 WARN_ON_ONCE(pirq > 5); in pirq_via586_get()
271 WARN_ON_ONCE(pirq > 5); in pirq_via586_set()
285 WARN_ON_ONCE(pirq > 4); in pirq_ite_get()
293 WARN_ON_ONCE(pirq > 4); in pirq_ite_set()
432 WARN_ON_ONCE(pirq >= 9); in pirq_vlsi_get()
442 WARN_ON_ONCE(pirq >= 9); in pirq_vlsi_set()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dtracepoint.h51 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
69 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
/linux-4.1.27/arch/x86/kernel/
Dnmi.c168 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()
Dvsyscall_64.c129 WARN_ON_ONCE(address != regs->ip); in emulate_vsyscall()
251 if (WARN_ON_ONCE(!sigismember(&tsk->pending.signal, SIGBUS) && in emulate_vsyscall()
Dftrace.c287 if (WARN_ON_ONCE(!regs)) in ftrace_int3_handler()
862 if (WARN_ON_ONCE(ret < 0)) in addr_from_call()
866 if (WARN_ON_ONCE(calc.e8 != 0xe8)) { in addr_from_call()
Drtc.c92 WARN_ON_ONCE(RTC_ALWAYS_BCD && (status & RTC_DM_BINARY)); in mach_get_cmos_time()
Dvsmp_64.c160 WARN_ON_ONCE(1); in is_vsmp_box()
Dperf_regs.c60 if (WARN_ON_ONCE(idx >= ARRAY_SIZE(pt_regs_offset))) in perf_reg_value()
Duprobes.c292 if (WARN_ON_ONCE(!insn_complete(insn))) in uprobe_init_insn()
876 WARN_ON_ONCE(current->thread.trap_nr != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
/linux-4.1.27/fs/lockd/
Dhost.c289 WARN_ON_ONCE(host->h_server); in nlmclnt_release_host()
292 WARN_ON_ONCE(!list_empty(&host->h_lockowners)); in nlmclnt_release_host()
293 WARN_ON_ONCE(!list_empty(&host->h_granted)); in nlmclnt_release_host()
294 WARN_ON_ONCE(!list_empty(&host->h_reclaim)); in nlmclnt_release_host()
410 WARN_ON_ONCE(!host->h_server); in nlmsvc_release_host()
/linux-4.1.27/net/sunrpc/
Dbc_svc.c56 WARN_ON_ONCE(atomic_read(&task->tk_count) != 1); in bc_send()
Dsched.c171 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()
Dbackchannel_rqst.c62 WARN_ON_ONCE(test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state)); in xprt_free_allocation()
248 WARN_ON_ONCE(!test_bit(RPC_BC_PA_IN_USE, &req->rq_bc_pa_state)); in xprt_free_bc_request()
Dxdr.c325 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()
/linux-4.1.27/arch/tile/lib/
Ddelay.c23 WARN_ON_ONCE(usecs > ULONG_MAX / 1000); in __udelay()
/linux-4.1.27/kernel/time/
Dposix-cpu-timers.c372 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_del()
384 WARN_ON_ONCE(!list_empty(&timer->it.cpu.entry)); in posix_cpu_timer_del()
609 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_set()
629 WARN_ON_ONCE(!irqs_disabled()); in posix_cpu_timer_set()
750 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_get()
1009 WARN_ON_ONCE(p == NULL); in posix_cpu_timer_schedule()
1050 WARN_ON_ONCE(!irqs_disabled()); in posix_cpu_timer_schedule()
1139 WARN_ON_ONCE(!irqs_disabled()); in run_posix_cpu_timers()
1206 WARN_ON_ONCE(clock_idx == CPUCLOCK_SCHED); in set_process_cpu_timer()
Dposix-timers.c784 if (WARN_ON_ONCE(!kc || !kc->timer_get)) in SYSCALL_DEFINE2()
900 if (WARN_ON_ONCE(!kc || !kc->timer_set)) in SYSCALL_DEFINE4()
931 if (WARN_ON_ONCE(!kc || !kc->timer_del)) in timer_delete_hook()
1120 if (WARN_ON_ONCE(!kc || !kc->nsleep_restart)) in clock_nanosleep_restart()
Dtick-sched.c162 WARN_ON_ONCE(!irqs_disabled()); in can_stop_full_tick()
830 WARN_ON_ONCE(irqs_disabled()); in tick_nohz_idle_enter()
957 WARN_ON_ONCE(!ts->inidle); in tick_nohz_idle_exit()
Dtick-broadcast.c621 if (WARN_ON_ONCE(!cpumask_subset(tmpmask, cpu_online_mask))) in tick_handle_oneshot_broadcast()
717 WARN_ON_ONCE(cpumask_test_cpu(cpu, tick_broadcast_pending_mask)); in tick_broadcast_oneshot_control()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_uncore.c412 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in uncore_pmu_event_start()
415 if (WARN_ON_ONCE(idx == -1 || idx >= UNCORE_PMC_IDX_MAX)) in uncore_pmu_event_start()
441 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in uncore_pmu_event_stop()
837 WARN_ON_ONCE(pmu->func_id != pdev->devfn); in uncore_pci_probe()
871 WARN_ON_ONCE(i >= UNCORE_EXTRA_PCI_DEV_MAX); in uncore_pci_remove()
876 if (WARN_ON_ONCE(phys_id != box->phys_id)) in uncore_pci_remove()
894 WARN_ON_ONCE(atomic_read(&box->refcnt) != 1); in uncore_pci_remove()
1080 WARN_ON_ONCE(box->cpu != -1); in uncore_change_context()
1085 WARN_ON_ONCE(box->cpu != old_cpu); in uncore_change_context()
Dperf_event_amd.c370 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()
Dperf_event_amd_iommu.c297 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()
Dperf_event_intel_rapl.c250 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in __rapl_pmu_event_start()
284 WARN_ON_ONCE(pmu->n_active <= 0); in rapl_pmu_event_stop()
291 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in rapl_pmu_event_stop()
Dperf_event_intel_cqm.c317 WARN_ON_ONCE(ac == bc); in __conflict_event()
984 WARN_ON_ONCE(state->rmid != rmid); in intel_cqm_event_start()
986 WARN_ON_ONCE(state->rmid); in intel_cqm_event_start()
1011 WARN_ON_ONCE(!state->rmid); in intel_cqm_event_stop()
Dperf_event_amd_ibs.c372 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()
Dperf_event_intel_uncore_snb.c324 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in snb_uncore_imc_event_start()
347 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in snb_uncore_imc_event_stop()
Dperf_event_intel_bts.c86 if (WARN_ON_ONCE(!PagePrivate(page) && nr_pages > 1)) in bts_buffer_setup_aux()
313 if (WARN_ON_ONCE(head != local_read(&buf->head))) in bts_buffer_reset()
Dperf_event.c685 if (WARN_ON_ONCE(sched->saved_states >= SCHED_STATES_MAX)) in perf_sched_save_state()
1204 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in x86_pmu_start()
1207 if (WARN_ON_ONCE(idx == -1)) in x86_pmu_start()
1211 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in x86_pmu_start()
1292 WARN_ON_ONCE(hwc->state & PERF_HES_STOPPED); in x86_pmu_stop()
1337 if (WARN_ON_ONCE(i == cpuc->n_events)) /* called ->del() without ->add() ? */ in x86_pmu_del()
/linux-4.1.27/arch/x86/include/asm/
Di387.h44 WARN_ON_ONCE(!irq_fpu_usable()); in kernel_fpu_begin()
/linux-4.1.27/drivers/target/
Dtarget_core_tmr.c121 WARN_ON_ONCE(!irqs_disabled()); in __target_check_io_state()
246 if (WARN_ON_ONCE(!sess)) in core_tmr_drain_tmr_list()
350 if (WARN_ON_ONCE(!sess)) in core_tmr_drain_state_list()
/linux-4.1.27/fs/btrfs/
Duuid-tree.c45 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.1.27/arch/arm/common/
Dmcpm_entry.c131 if (WARN_ON_ONCE(!platform_ops)) in mcpm_cpu_power_down()
211 if (WARN_ON_ONCE(!platform_ops || !platform_ops->wait_for_powerdown)) in mcpm_wait_for_cpu_powerdown()
224 if (WARN_ON_ONCE(!platform_ops)) in mcpm_cpu_suspend()
/linux-4.1.27/block/
Dblk-cgroup.c165 WARN_ON_ONCE(!rcu_read_lock_held()); in blkg_lookup()
184 WARN_ON_ONCE(!rcu_read_lock_held()); in blkg_create()
206 if (WARN_ON_ONCE(!blkg->parent)) { in blkg_create()
276 WARN_ON_ONCE(!rcu_read_lock_held()); in blkg_lookup_create()
319 WARN_ON_ONCE(list_empty(&blkg->q_node)); in blkg_destroy()
320 WARN_ON_ONCE(hlist_unhashed(&blkg->blkcg_node)); in blkg_destroy()
Dblk-cgroup.h262 WARN_ON_ONCE(atomic_read(&blkg->refcnt) <= 0); in blkg_get()
274 WARN_ON_ONCE(atomic_read(&blkg->refcnt) <= 0); in blkg_put()
Dblk-settings.c840 WARN_ON_ONCE(flush & ~(REQ_FLUSH | REQ_FUA)); in blk_queue_flush()
842 if (WARN_ON_ONCE(!(flush & REQ_FLUSH) && (flush & REQ_FUA))) in blk_queue_flush()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_runtime_pm.c558 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DISP2D); in vlv_display_power_well_enable()
581 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DISP2D); in vlv_display_power_well_disable()
595 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC); in vlv_dpio_cmn_power_well_enable()
627 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC); in vlv_dpio_cmn_power_well_disable()
643 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC && in chv_dpio_cmn_power_well_enable()
678 WARN_ON_ONCE(power_well->data != PUNIT_POWER_WELL_DPIO_CMN_BC && in chv_dpio_cmn_power_well_disable()
768 WARN_ON_ONCE(power_well->data != PIPE_A && in chv_pipe_power_well_enable()
795 WARN_ON_ONCE(power_well->data != PIPE_A && in chv_pipe_power_well_disable()
Di915_drv.c677 if (WARN_ON_ONCE(state.event != PM_EVENT_SUSPEND && in i915_suspend_legacy()
1372 if (WARN_ON_ONCE(!(dev_priv->rps.enabled && intel_enable_rc6(dev)))) in intel_runtime_suspend()
1375 if (WARN_ON_ONCE(!HAS_RUNTIME_PM(dev))) in intel_runtime_suspend()
1457 if (WARN_ON_ONCE(!HAS_RUNTIME_PM(dev))) in intel_runtime_resume()
/linux-4.1.27/net/mac80211/
Ddriver-ops.h213 if (WARN_ON_ONCE(changed & (BSS_CHANGED_BEACON | in drv_bss_info_changed()
221 if (WARN_ON_ONCE(sdata->vif.type == NL80211_IFTYPE_P2P_DEVICE || in drv_bss_info_changed()
991 WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION); in drv_mgd_prepare_tx()
1007 WARN_ON_ONCE(sdata->vif.type != NL80211_IFTYPE_STATION); in drv_mgd_protect_tdls_discover()
1049 WARN_ON_ONCE(!ctx->driver_present); in drv_change_chanctx()
1066 WARN_ON_ONCE(!ctx->driver_present); in drv_assign_vif_chanctx()
1085 WARN_ON_ONCE(!ctx->driver_present); in drv_unassign_vif_chanctx()
1115 WARN_ON_ONCE(!old_ctx->driver_present); in drv_switch_vif_chanctx()
1116 WARN_ON_ONCE((mode == CHANCTX_SWMODE_SWAP_CONTEXTS && in drv_switch_vif_chanctx()
1193 WARN_ON_ONCE(key_idx < -1 || key_idx > 3); in drv_set_default_unicast_key()
Dtrace_msg.h25 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
Dht.c66 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()
Dsta_info.h525 WARN_ON_ONCE(test_sta_flag(sta, WLAN_STA_INSERTED)); in sta_info_pre_move_state()
528 WARN_ON_ONCE(ret); in sta_info_pre_move_state()
Dkey.c119 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt < delta); in decrease_tailroom_need_count()
677 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt || in ieee80211_enable_keys()
682 WARN_ON_ONCE(vlan->crypto_tx_tailroom_needed_cnt || in ieee80211_enable_keys()
796 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt != in ieee80211_free_keys()
800 WARN_ON_ONCE(sdata->crypto_tx_tailroom_needed_cnt || in ieee80211_free_keys()
806 WARN_ON_ONCE(vlan->crypto_tx_tailroom_needed_cnt || in ieee80211_free_keys()
Doffchannel.c271 if (WARN_ON_ONCE(roc->started)) in ieee80211_start_next_roc()
501 WARN_ON_ONCE(!list_empty(&tmp_list)); in ieee80211_roc_purge()
Drate.h64 if (WARN_ON_ONCE(!ref->ops->tx_status_noskb)) in rate_control_tx_status_noskb()
Diface.c329 if (WARN_ON_ONCE(sdata->vif.hw_queue[i] == in ieee80211_check_queues()
332 if (WARN_ON_ONCE(sdata->vif.hw_queue[i] >= in ieee80211_check_queues()
346 if (WARN_ON_ONCE(sdata->vif.cab_queue == IEEE80211_INVAL_HW_QUEUE)) in ieee80211_check_queues()
349 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()
1832 if (WARN_ON_ONCE(!test_bit(SDATA_STATE_RUNNING, &sdata->state))) in ieee80211_sdata_stop()
Dtdls.c230 WARN_ON_ONCE(1); in ieee80211_ac_from_wmm()
365 if (WARN_ON_ONCE(!sta)) { in ieee80211_tdls_add_setup_start_ies()
488 if (WARN_ON_ONCE(!sta || !ap_sta)) { in ieee80211_tdls_add_setup_cfm_ies()
577 if (WARN_ON_ONCE(!chandef)) in ieee80211_tdls_add_chan_switch_req_ies()
1208 WARN_ON_ONCE(is_zero_ether_addr(sdata->u.mgd.tdls_peer) || in ieee80211_tdls_oper()
1731 WARN_ON_ONCE(1); in ieee80211_process_tdls_channel_switch()
Docb.c66 if (WARN_ON_ONCE(!chanctx_conf)) { in ieee80211_ocb_rx_no_sta()
Dagg-tx.c312 WARN_ON_ONCE(1); in ___ieee80211_stop_tx_ba_session()
335 WARN_ON_ONCE(ret); in ___ieee80211_stop_tx_ba_session()
563 if (WARN_ON_ONCE(!local->ops->ampdu_action)) in ieee80211_start_tx_ba_session()
/linux-4.1.27/drivers/net/wireless/ath/carl9170/
Dtx.c118 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 …]
Dusb.c169 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.1.27/arch/arm64/kernel/
Dperf_regs.c12 if (WARN_ON_ONCE((u32)idx >= PERF_REG_ARM64_MAX)) in perf_reg_value()
/linux-4.1.27/drivers/net/wireless/ath/
Dtrace.h49 WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
Dath.h298 #define ATH_DBG_WARN_ON_ONCE(foo) WARN_ON_ONCE(foo)
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
Dkernel.h24 #define WARN_ON_ONCE(x) (x) macro
/linux-4.1.27/drivers/s390/cio/
Dqdio_main.c198 WARN_ON_ONCE(tmp_count); in qdio_do_sqbs()
332 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.1.27/drivers/hwmon/
Dlineage-pem.c235 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()
Dltc4151.c124 WARN_ON_ONCE(1); in ltc4151_get_value()
Dltc4245.c202 WARN_ON_ONCE(1); in ltc4245_get_voltage()
251 WARN_ON_ONCE(1); in ltc4245_get_current()
Dltc4261.c127 WARN_ON_ONCE(1); in ltc4261_get_value()
Dltc4215.c103 WARN_ON_ONCE(1); in ltc4215_get_voltage()
/linux-4.1.27/arch/x86/mm/
Dpat.c340 WARN_ON_ONCE(1); in reserve_ram_pages_type()
574 WARN_ON_ONCE(iomem_map_sanity_check(start, size)); in io_reserve_memtype()
816 WARN_ON_ONCE(1); in track_pfn_copy()
904 WARN_ON_ONCE(1); in untrack_pfn()
Diomap_32.c107 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in iounmap_atomic()
Dhighmem_32.c83 WARN_ON_ONCE(vaddr != __fix_to_virt(FIX_KMAP_BEGIN + idx)); in __kunmap_atomic()
/linux-4.1.27/arch/arm/mm/
Dpageattr.c49 WARN_ON_ONCE(1); in change_memory_common()
/linux-4.1.27/arch/sh/kernel/
Dperf_event.c244 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.1.27/fs/xfs/
Dxfs_pnfs.c164 if (WARN_ON_ONCE(error)) in xfs_fs_map_blocks()
293 WARN_ON_ONCE(error); in xfs_fs_commit_blocks()
Dxfs_aops.c969 if (WARN_ON_ONCE((current->flags & (PF_MEMALLOC|PF_KSWAPD)) == in xfs_vm_writepage()
977 if (WARN_ON_ONCE(current->flags & PF_FSTRANS)) in xfs_vm_writepage()
1227 if (WARN_ON_ONCE(delalloc)) in xfs_vm_releasepage()
1229 if (WARN_ON_ONCE(unwritten)) in xfs_vm_releasepage()
1905 WARN_ON_ONCE(!PageUptodate(page)); in xfs_vm_set_page_dirty()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dbase.c155 if (WARN_ON_ONCE(chan->user == NULL)) in _nvkm_fifo_channel_rd32()
167 if (WARN_ON_ONCE(chan->user == NULL)) in _nvkm_fifo_channel_wr32()
/linux-4.1.27/arch/powerpc/mm/
Dfault.c412 WARN_ON_ONCE(error_code & DSISR_PROTFAULT); in do_page_fault()
423 WARN_ON_ONCE(error_code & DSISR_PROTFAULT); in do_page_fault()
Dcopro_fault.c74 WARN_ON_ONCE(dsisr & DSISR_PROTFAULT); in copro_handle_mm_fault()
Dicswx.c136 if (WARN_ON_ONCE(!mm)) in drop_cop()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dtx.c532 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.1.27/arch/arm64/mm/
Dpageattr.c51 WARN_ON_ONCE(1); in change_memory_common()
Dmmu.c165 if (!WARN_ON_ONCE(slab_is_available())) in alloc_init_pmd()
226 if (!WARN_ON_ONCE(slab_is_available())) in alloc_init_pud()
/linux-4.1.27/arch/s390/kernel/
Dperf_cpum_cf.c481 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in cpumf_pmu_start()
484 if (WARN_ON_ONCE(hwc->config == -1)) in cpumf_pmu_start()
488 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in cpumf_pmu_start()
Druntime_instr.c78 WARN_ON_ONCE(1); in runtime_instr_int_handler()
Dperf_cpum_sf.c1311 if (WARN_ON_ONCE(!(event->hw.state & PERF_HES_STOPPED))) in cpumsf_pmu_start()
1315 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in cpumsf_pmu_start()
1377 if (WARN_ON_ONCE(cpuhw->lsctl.es == 1 || cpuhw->lsctl.ed == 1)) { in cpumsf_pmu_add()
1481 WARN_ON_ONCE(!(cpuhw->flags & PMU_F_IN_USE)); in cpumf_measurement_alert()
/linux-4.1.27/drivers/ata/
Dlibata-sff.c426 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.1.27/drivers/clk/
Dclk.c102 WARN_ON_ONCE(prepare_owner != NULL); in clk_prepare_lock()
103 WARN_ON_ONCE(prepare_refcnt != 0); in clk_prepare_lock()
110 WARN_ON_ONCE(prepare_owner != current); in clk_prepare_unlock()
111 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()
139 WARN_ON_ONCE(enable_owner != current); in clk_enable_unlock()
140 WARN_ON_ONCE(enable_refcnt == 0); in clk_enable_unlock()
2603 WARN_ON_ONCE(1); in clk_nodrv_disable_unprepare()
2634 if (!clk || WARN_ON_ONCE(IS_ERR(clk))) in clk_unregister()
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_bo.h104 WARN_ON_ONCE(ioptr && !is_iomem); in nvbo_kmap_obj_iovirtual()
/linux-4.1.27/fs/
Dblock_dev.c56 WARN_ON_ONCE(write_inode_now(inode, true)); in bdev_write_inode()
922 WARN_ON_ONCE(!bdev->bd_holder); in bd_link_disk_holder()
988 if (!WARN_ON_ONCE(holder == NULL) && !--holder->refcnt) { in bd_unlink_disk_holder()
1314 WARN_ON_ONCE((mode & FMODE_EXCL) && !holder); in blkdev_get()
1492 WARN_ON_ONCE(bdev->bd_holders); in __blkdev_put()
1538 WARN_ON_ONCE(--bdev->bd_holders < 0); in blkdev_put()
1539 WARN_ON_ONCE(--bdev->bd_contains->bd_holders < 0); in blkdev_put()
Dlocks.c236 WARN_ON_ONCE(!list_empty(&ctx->flc_flock)); in locks_free_lock_context()
237 WARN_ON_ONCE(!list_empty(&ctx->flc_posix)); in locks_free_lock_context()
238 WARN_ON_ONCE(!list_empty(&ctx->flc_lease)); in locks_free_lock_context()
339 WARN_ON_ONCE(new->fl_ops); in locks_copy_lock()
1404 WARN_ON_ONCE(1); in __break_lease()
1627 WARN_ON_ONCE(1); in generic_add_lease()
1771 WARN_ON_ONCE(1); in generic_setlease()
2210 WARN_ON_ONCE(error); in fcntl_setlk()
2352 WARN_ON_ONCE(error); in fcntl_setlk64()
Dattr.c198 WARN_ON_ONCE(!mutex_is_locked(&inode->i_mutex)); in notify_change()
/linux-4.1.27/fs/sysfs/
Ddir.c96 WARN_ON_ONCE(kernfs_type(kn) != KERNFS_DIR); in sysfs_remove_dir()
Dfile.c116 if (pos || WARN_ON_ONCE(buf != of->prealloc_buf)) in sysfs_kf_read()
431 if (WARN_ON_ONCE(!kn)) in sysfs_remove_file_self()
/linux-4.1.27/arch/arc/kernel/
Dperf_event.c193 if (WARN_ON_ONCE(idx == -1)) in arc_pmu_start()
197 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in arc_pmu_start()
/linux-4.1.27/fs/kernfs/
Ddir.c350 WARN_ON_ONCE(kernfs_active(kn)); in kernfs_drain()
1017 WARN_ON_ONCE(pos->parent && RB_EMPTY_NODE(&pos->rb)); in kernfs_activate()
1018 WARN_ON_ONCE(atomic_read(&pos->active) != KN_DEACTIVATED_BIAS); in kernfs_activate()
1070 WARN_ON_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS); in __kernfs_remove()
1223 WARN_ON_ONCE(!RB_EMPTY_NODE(&kn->rb)); in kernfs_remove_self()
/linux-4.1.27/drivers/oprofile/
Devent_buffer.c51 WARN_ON_ONCE(1); in add_event_entry()
/linux-4.1.27/drivers/pps/clients/
Dpps-ldisc.c44 if (WARN_ON_ONCE(pps == NULL)) in pps_tty_dcd_change()
/linux-4.1.27/drivers/clocksource/
Dtimer-atmel-st.c73 WARN_ON_ONCE(!irqs_disabled()); in at91rm9200_timer_interrupt()
Dtimer-atmel-pit.c162 WARN_ON_ONCE(!irqs_disabled()); in at91sam926x_pit_interrupt()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dcfp.c401 if (WARN_ON_ONCE(!sband)) in mwifiex_get_rates_from_cfg80211()
406 if (WARN_ON_ONCE(!sband)) in mwifiex_get_rates_from_cfg80211()
/linux-4.1.27/arch/blackfin/kernel/
Dperf_event.c325 if (WARN_ON_ONCE(idx == -1)) in bfin_pmu_start()
329 WARN_ON_ONCE(!(event->hw.state & PERF_HES_UPTODATE)); in bfin_pmu_start()
Dipipe.c194 WARN_ON_ONCE(irqs_disabled_hw()); in __ipipe_syscall_root()
/linux-4.1.27/net/wireless/
Dchan.c149 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.1.27/arch/s390/mm/
Dpageattr.c73 if (WARN_ON_ONCE(!ptep)) in change_page_attr()
/linux-4.1.27/kernel/events/
Dcallchain.c105 if (WARN_ON_ONCE(count < 1)) { in get_callchain_buffers()
Dcore.c517 WARN_ON_ONCE(cpuctx->cgrp); in perf_cgroup_switch()
1231 WARN_ON_ONCE(event->attach_state & PERF_ATTACH_CONTEXT); in list_add_event()
1371 WARN_ON_ONCE(group_leader->ctx != event->ctx); in perf_group_attach()
1395 WARN_ON_ONCE(event->ctx != ctx); in list_del_event()
1480 WARN_ON_ONCE(sibling->ctx != event->ctx); in perf_group_detach()
1544 WARN_ON_ONCE(event->ctx != ctx); in event_sched_out()
2681 if (WARN_ON_ONCE(ctx != cpuctx->task_ctx)) in task_ctx_sched_out()
3704 WARN_ON_ONCE(ctx->parent_ctx); in put_event()
3891 WARN_ON_ONCE(event->ctx->parent_ctx); in perf_read_hw()
3955 WARN_ON_ONCE(event->ctx->parent_ctx); in perf_event_for_each_child()
[all …]
/linux-4.1.27/fs/ext4/
Dcrypto.c422 if (WARN_ON_ONCE(!ciphertext_page)) { in ext4_encrypt()
502 if (WARN_ON_ONCE(!ciphertext_page)) { in ext4_encrypted_zeroout()
/linux-4.1.27/fs/nfsd/
Dnfs4state.c285 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()
936 WARN_ON_ONCE(access > NFS4_SHARE_ACCESS_BOTH); in set_access()
946 WARN_ON_ONCE(access > NFS4_SHARE_ACCESS_BOTH); in clear_access()
965 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in set_deny()
975 WARN_ON_ONCE(deny > NFS4_SHARE_DENY_BOTH); in clear_deny()
998 WARN_ON_ONCE(1); in nfs4_access_to_omode()
1119 WARN_ON_ONCE(!list_empty(&stp->st_locks)); in put_ol_stateid_locked()
1722 WARN_ON_ONCE(atomic_read(&ses->se_ref)); in free_client()
[all …]
/linux-4.1.27/drivers/spi/
Dspi-xtensa-xtfpga.c53 WARN_ON_ONCE(i == BUSY_WAIT_US); in xtfpga_spi_wait_busy()
/linux-4.1.27/arch/arm/probes/uprobes/
Dcore.c154 WARN_ON_ONCE(current->thread.trap_no != UPROBE_TRAP_NR); in arch_uprobe_post_xol()
/linux-4.1.27/drivers/net/wireless/cw1200/
Dbh.c275 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.1.27/arch/arm/mach-omap2/
Dclock.c113 if (WARN_ON_ONCE(!(clk->flags & MEMMAP_ADDRESSING))) in omap2_clk_writel()
121 if (WARN_ON_ONCE(!(clk->flags & MEMMAP_ADDRESSING))) in omap2_clk_readl()
/linux-4.1.27/drivers/tty/
Dtty_ldisc.c193 if (WARN_ON_ONCE(!ld)) in tty_ldisc_put()
361 WARN_ON_ONCE(tty == tty2); in tty_ldisc_lock_pair_timeout()
/linux-4.1.27/arch/x86/oprofile/
Dnmi_int.c96 WARN_ON_ONCE(1); in nmi_cpu_start()
116 WARN_ON_ONCE(1); in nmi_cpu_stop()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Dtx.c398 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwlagn_tx_skb()
449 WARN_ON_ONCE(is_agg && in iwlagn_tx_skb()
1159 WARN_ON_ONCE(sta_id >= IWLAGN_STATION_COUNT || in iwlagn_rx_reply_tx()
1386 WARN_ON_ONCE(1); in iwlagn_rx_reply_compressed_ba()
/linux-4.1.27/drivers/nfc/microread/
Di2c.c219 WARN_ON_ONCE(1); in microread_i2c_irq_thread_fn()
/linux-4.1.27/drivers/net/wireless/b43/
Dppr.c123 WARN_ON_ONCE(1); in b43_ppr_load_max_from_sprom()
/linux-4.1.27/arch/alpha/kernel/
Dperf_event.c556 if (WARN_ON_ONCE(!(hwc->state & PERF_HES_STOPPED))) in alpha_pmu_start()
560 WARN_ON_ONCE(!(hwc->state & PERF_HES_UPTODATE)); in alpha_pmu_start()
/linux-4.1.27/fs/gfs2/
Dglops.c101 WARN_ON_ONCE(current->journal_info); in gfs2_ail_empty_gl()
179 WARN_ON_ONCE(!(flags & DIO_METADATA)); in rgrp_go_inval()
/linux-4.1.27/kernel/debug/
Ddebug_core.c437 WARN_ON_ONCE(1); in kgdb_reenter_check()
1037 WARN_ON_ONCE(dbg_io_ops != old_dbg_io_ops); in kgdb_unregister_io_module()
/linux-4.1.27/fs/udf/
Dfile.c90 if (WARN_ON_ONCE(pos >= PAGE_CACHE_SIZE)) in udf_adinicb_write_begin()

123