Searched refs:irqs_disabled (Results 1 - 127 of 127) sorted by relevance

/linux-4.1.27/arch/arm/mm/
H A Dl2c-common.c15 WARN_ON(!irqs_disabled()); outer_disable()
H A Dcache-l2x0.c238 BUG_ON(!irqs_disabled()); l2c210_flush_all()
H A Ddma-mapping.c750 WARN_ON(irqs_disabled()); __arm_dma_free()
/linux-4.1.27/drivers/base/
H A Dsyscore.c60 WARN_ONCE(!irqs_disabled(), syscore_suspend()
70 WARN_ONCE(!irqs_disabled(), syscore_suspend()
98 WARN_ONCE(!irqs_disabled(), syscore_resume()
106 WARN_ONCE(!irqs_disabled(), syscore_resume()
/linux-4.1.27/tools/lib/lockdep/uinclude/linux/
H A Dirqflags.h31 #define irqs_disabled() (1) macro
/linux-4.1.27/lib/
H A Dsmp_processor_id.c18 if (irqs_disabled()) check_preemption_disabled()
H A Dlocking-selftest.c974 WARN_ON(irqs_disabled()); dotest()
H A Dswiotlb.c690 WARN_ON(irqs_disabled()); swiotlb_free_coherent()
/linux-4.1.27/include/acpi/platform/
H A Daclinuxex.h79 * The irqs_disabled() check is for resume from RAM.
86 return kmalloc(size, irqs_disabled()? GFP_ATOMIC : GFP_KERNEL); acpi_os_allocate()
91 return kzalloc(size, irqs_disabled()? GFP_ATOMIC : GFP_KERNEL); acpi_os_allocate_zeroed()
102 irqs_disabled()? GFP_ATOMIC : GFP_KERNEL); acpi_os_acquire_object()
/linux-4.1.27/kernel/locking/
H A Dlockdep_internals.h146 WARN_ON_ONCE(!irqs_disabled()); \
151 WARN_ON_ONCE(!irqs_disabled()); \
H A Dlockdep.c719 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) look_up_lock_class()
748 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); register_lock_class()
1037 DEBUG_LOCKS_WARN_ON(!irqs_disabled()); __bfs()
2030 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) lookup_chain_cache()
2595 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_hardirqs_on_caller()
2639 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_hardirqs_off_caller()
2675 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_softirqs_on()
2714 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) trace_softirqs_off()
3089 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) __lock_acquire()
3274 if (DEBUG_LOCKS_WARN_ON(!irqs_disabled())) check_unlock()
/linux-4.1.27/include/linux/
H A Dirqflags.h139 #define irqs_disabled() \ macro
146 #define irqs_disabled() raw_irqs_disabled() macro
H A Dnetpoll.h100 return irqs_disabled(); netpoll_tx_running()
H A Dpreempt_mask.h120 # define preemptible() (preempt_count() == 0 && !irqs_disabled())
H A Dhighmem.h95 WARN_ON_ONCE(in_irq() && !irqs_disabled()); kmap_atomic_idx_push()
H A Drcupdate.h512 return lockdep_opinion || preempt_count() != 0 || irqs_disabled(); rcu_read_lock_sched_held()
539 return preempt_count() != 0 || irqs_disabled(); rcu_read_lock_sched_held()
H A Dnetdevice.h2902 * (in_irq() || irqs_disabled())
/linux-4.1.27/arch/x86/xen/
H A Dsuspend.c23 BUG_ON(!irqs_disabled()); xen_pv_pre_suspend()
H A Dirq.c111 if (irqs_disabled()) xen_halt()
/linux-4.1.27/kernel/
H A Dirq_work.c135 BUG_ON(!irqs_disabled()); irq_work_run_list()
191 WARN_ON_ONCE(irqs_disabled()); irq_work_sync()
H A Dsoftirq.c129 WARN_ON_ONCE(!irqs_disabled()); __local_bh_enable()
150 WARN_ON_ONCE(in_irq() || irqs_disabled()); __local_bh_enable_ip()
385 WARN_ON_ONCE(!irqs_disabled()); irq_exit()
477 BUG_ON(!irqs_disabled()); __tasklet_hi_schedule_first()
H A Dsmp.c219 WARN_ON(!irqs_disabled()); flush_smp_call_function_queue()
291 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() smp_call_function_single()
416 WARN_ON_ONCE(cpu_online(this_cpu) && irqs_disabled() smp_call_function_many()
H A Dparams.c215 irq_was_disabled = irqs_disabled(); parse_args()
218 if (irq_was_disabled && !irqs_disabled()) parse_args()
H A Dworkqueue.c1356 WARN_ON_ONCE(!irqs_disabled()); __queue_work()
/linux-4.1.27/arch/powerpc/kernel/
H A Didle.c66 if (irqs_disabled()) arch_cpu_idle()
H A Drtasd.c218 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ pSeries_log_error()
240 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ pSeries_log_error()
263 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ pSeries_log_error()
269 WARN_ON_ONCE(!irqs_disabled()); /* @@@ DEBUG @@@ */ pSeries_log_error()
H A Dirq.c291 if (irqs_disabled()) { restore_interrupts()
H A Dtime.c302 WARN_ON_ONCE(!irqs_disabled()); vtime_delta()
H A Dprocess.c772 WARN_ON(!irqs_disabled()); __switch_to()
/linux-4.1.27/arch/arm64/kernel/
H A Ddebug-monitors.c402 WARN_ON(!irqs_disabled()); kernel_enable_single_step()
410 WARN_ON(!irqs_disabled()); kernel_disable_single_step()
417 WARN_ON(!irqs_disabled()); kernel_active_single_step()
/linux-4.1.27/block/
H A Dblk-exec.c58 WARN_ON(irqs_disabled()); blk_execute_rq_nowait()
H A Dblk.h260 WARN_ON_ONCE(irqs_disabled()); create_io_context()
H A Dblk-core.c197 WARN_ON(!irqs_disabled()); blk_start_queue()
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dintc.c153 if (unlikely(!irqs_disabled())) { intc_suspend()
/linux-4.1.27/arch/arm/include/asm/
H A Dmmu_context.h51 if (irqs_disabled()) check_and_switch_context()
/linux-4.1.27/drivers/cpuidle/
H A Dcpuidle-pseries.c51 if (irqs_disabled()) idle_loop_epilog()
H A Dcpuidle.c116 WARN_ON(!irqs_disabled()); enter_freeze_proper()
182 if (WARN_ON_ONCE(!irqs_disabled())) cpuidle_enter_state()
/linux-4.1.27/arch/x86/include/asm/
H A Ddma-mapping.h166 WARN_ON(irqs_disabled()); /* for portability */ dma_free_attrs()
/linux-4.1.27/arch/arm64/include/asm/
H A Dmmu_context.h137 else if (irqs_disabled()) check_and_switch_context()
/linux-4.1.27/kernel/irq/
H A Dhandle.c146 if (WARN_ONCE(!irqs_disabled(),"irq %u handler %pF enabled interrupts\n", handle_irq_event_percpu()
/linux-4.1.27/sound/pci/asihpi/
H A Dhpios.h110 if (irqs_disabled()) { cond_lock()
/linux-4.1.27/arch/tile/include/asm/
H A Dirqflags.h191 /* Allow the given interrupt to be enabled immediately, if !irqs_disabled. */
194 if (!irqs_disabled()) \
/linux-4.1.27/kernel/power/
H A Dsuspend.c357 BUG_ON(!irqs_disabled()); suspend_enter()
374 BUG_ON(irqs_disabled()); suspend_enter()
/linux-4.1.27/init/
H A Dmain.c567 if (WARN(!irqs_disabled(), start_kernel()
592 WARN(!irqs_disabled(), "Interrupts were enabled early\n"); start_kernel()
797 if (irqs_disabled()) { do_one_initcall()
/linux-4.1.27/net/rxrpc/
H A Dar-input.c52 ASSERT(!irqs_disabled()); rxrpc_queue_rcv_skb()
318 ASSERT(!irqs_disabled()); rxrpc_fast_process_packet()
651 ASSERT(!irqs_disabled()); rxrpc_data_ready()
H A Dar-accept.c328 ASSERT(!irqs_disabled()); rxrpc_accept_call()
420 ASSERT(!irqs_disabled()); rxrpc_reject_call()
/linux-4.1.27/arch/x86/mm/kmemcheck/
H A Dkmemcheck.c190 BUG_ON(!irqs_disabled()); kmemcheck_show()
232 BUG_ON(!irqs_disabled()); kmemcheck_hide()
/linux-4.1.27/arch/arm/common/
H A Dmcpm_entry.c133 BUG_ON(!irqs_disabled()); mcpm_cpu_power_down()
230 BUG_ON(!irqs_disabled()); mcpm_cpu_suspend()
/linux-4.1.27/drivers/misc/
H A Dvexpress-syscfg.c90 if (!irqs_disabled()) { vexpress_syscfg_exec()
/linux-4.1.27/drivers/clocksource/
H A Dtimer-atmel-pit.c162 WARN_ON_ONCE(!irqs_disabled()); at91sam926x_pit_interrupt()
H A Dtimer-atmel-st.c73 WARN_ON_ONCE(!irqs_disabled()); at91rm9200_timer_interrupt()
/linux-4.1.27/drivers/cpufreq/
H A Dsa1110-cpufreq.c265 if (!irqs_disabled()) sa1110_target()
H A Dcpufreq.c286 BUG_ON(irqs_disabled()); __cpufreq_notify_transition()
/linux-4.1.27/arch/tile/kernel/
H A Dsmp.c184 if (irqs_disabled()) flush_icache_range()
/linux-4.1.27/arch/um/kernel/
H A Dprocess.c213 return in_atomic() || irqs_disabled() || in_interrupt(); __cant_sleep()
/linux-4.1.27/arch/s390/kernel/
H A Dvtime.c54 BUG_ON(!irqs_disabled()); virt_timer_forward()
/linux-4.1.27/arch/m68k/atari/
H A Dtime.c222 if (in_atomic() || irqs_disabled()) atari_tt_hwclk()
/linux-4.1.27/kernel/sched/
H A Didle.c180 if (WARN_ON_ONCE(irqs_disabled())) cpuidle_idle_call()
H A Dclock.c328 WARN_ON_ONCE(!irqs_disabled()); sched_clock_tick()
H A Dsched.h1548 if (unlikely(!irqs_disabled())) { double_lock_balance()
1601 BUG_ON(!irqs_disabled());
1645 BUG_ON(!irqs_disabled());
H A Dcore.c2625 if (irqs_disabled()) __schedule_bug()
2957 BUG_ON(preempt_count() || !irqs_disabled()); preempt_schedule_irq()
7312 if ((preempt_count_equals(preempt_offset) && !irqs_disabled() && ___might_sleep()
7324 "in_atomic(): %d, irqs_disabled(): %d, pid: %d, name: %s\n", ___might_sleep()
7325 in_atomic(), irqs_disabled(), ___might_sleep()
7332 if (irqs_disabled()) ___might_sleep()
H A Dfair.c1986 BUG_ON(irqs_disabled()); task_numa_group()
/linux-4.1.27/kernel/time/
H A Dsched_clock.c179 WARN_ON(!irqs_disabled()); sched_clock_register()
H A Dposix-cpu-timers.c629 WARN_ON_ONCE(!irqs_disabled()); posix_cpu_timer_set()
1050 WARN_ON_ONCE(!irqs_disabled()); posix_cpu_timer_schedule()
1139 WARN_ON_ONCE(!irqs_disabled()); run_posix_cpu_timers()
H A Dtick-sched.c162 WARN_ON_ONCE(!irqs_disabled()); can_stop_full_tick()
830 WARN_ON_ONCE(irqs_disabled()); tick_nohz_idle_enter()
H A Dhrtimer.c752 WARN_ONCE(!irqs_disabled(), hrtimers_resume()
1206 WARN_ON(!irqs_disabled()); __run_hrtimer()
/linux-4.1.27/drivers/xen/events/
H A Devents_2l.c91 BUG_ON(!irqs_disabled()); evtchn_2l_unmask()
H A Devents_fifo.c249 BUG_ON(!irqs_disabled()); evtchn_fifo_unmask()
H A Devents_base.c1240 BUG_ON(!irqs_disabled()); __xen_evtchn_do_upcall()
/linux-4.1.27/drivers/xen/
H A Dmanage.c66 BUG_ON(!irqs_disabled()); xen_suspend()
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-audio.c55 if (!irqs_disabled()) cx231xx_isoc_audio_deinit()
79 if (!irqs_disabled()) cx231xx_bulk_audio_deinit()
H A Dcx231xx-vbi.c353 if (!irqs_disabled()) cx231xx_uninit_vbi_isoc()
H A Dcx231xx-core.c878 if (!irqs_disabled()) cx231xx_uninit_isoc()
928 if (!irqs_disabled()) cx231xx_uninit_bulk()
/linux-4.1.27/arch/x86/crypto/sha-mb/
H A Dsha1_mb.c439 if (irqs_disabled()) sha_complete_job()
458 if (irqs_disabled()) sha_complete_job()
/linux-4.1.27/net/core/
H A Dnetpoll.c326 WARN_ON_ONCE(!irqs_disabled()); netpoll_send_skb_on_dev()
360 WARN_ONCE(!irqs_disabled(), netpoll_send_skb_on_dev()
H A Ddev.c2303 if (in_irq() || irqs_disabled()) __dev_kfree_skb_any()
/linux-4.1.27/drivers/target/
H A Dtarget_core_tmr.c121 WARN_ON_ONCE(!irqs_disabled()); __target_check_io_state()
H A Dtarget_core_transport.c2683 WARN_ON_ONCE(!irqs_disabled());
3036 WARN_ON_ONCE(!irqs_disabled());
/linux-4.1.27/drivers/net/wireless/b43legacy/
H A Ddebugfs.c479 B43legacy_WARN_ON(!irqs_disabled()); b43legacy_debugfs_log_txstat()
H A Dmain.c1973 B43legacy_WARN_ON(irqs_disabled()); b43legacy_mac_enable()
2001 B43legacy_WARN_ON(irqs_disabled()); b43legacy_mac_suspend()
H A Dphy.c90 !in_interrupt() && !irqs_disabled())); b43legacy_voluntary_preempt()
/linux-4.1.27/drivers/tty/hvc/
H A Dhvsi_lib.c250 if (irqs_disabled()) maybe_msleep()
/linux-4.1.27/arch/mips/kernel/
H A Dsmp.c190 WARN_ON_ONCE(!irqs_disabled()); start_secondary()
/linux-4.1.27/arch/powerpc/mm/
H A Dslb.c137 WARN_ON(!irqs_disabled()); slb_flush_and_rebolt()
/linux-4.1.27/arch/blackfin/kernel/
H A Dipipe.c287 BUG_ON(irqs_disabled()); __ipipe_sync_root()
/linux-4.1.27/arch/ia64/kernel/
H A Dtime.c122 WARN_ON_ONCE(!irqs_disabled()); vtime_delta()
/linux-4.1.27/arch/x86/mm/
H A Dpageattr.c163 BUG_ON(irqs_disabled()); cpa_flush_all()
183 BUG_ON(irqs_disabled()); cpa_flush_range()
214 BUG_ON(irqs_disabled()); cpa_flush_array()
/linux-4.1.27/kernel/events/
H A Dhw_breakpoint.c446 if (irqs_disabled() && bp->ctx && bp->ctx->task == current) modify_user_hw_breakpoint()
H A Dcore.c756 WARN_ON(!irqs_disabled()); perf_cpu_hrtimer_handler()
868 WARN_ON(!irqs_disabled()); perf_event_ctx_activate()
877 WARN_ON(!irqs_disabled()); perf_event_ctx_deactivate()
3102 WARN_ON(!irqs_disabled()); perf_event_task_tick()
/linux-4.1.27/kernel/trace/
H A Dtrace_irqsoff.c54 irqs_disabled()); irq_trace()
H A Dtrace_functions_graph.c1317 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; graph_trace_open()
H A Dtrace.c1067 WARN_ON_ONCE(!irqs_disabled()); update_max_tr()
1101 WARN_ON_ONCE(!irqs_disabled()); update_max_tr_single()
H A Dftrace.c2472 if (!irqs_disabled()) ftrace_modify_all_code()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-stu300.c331 if (unlikely(irqs_disabled())) { stu300_start_and_await_event()
383 if (unlikely(irqs_disabled())) { stu300_await_event()
/linux-4.1.27/drivers/media/usb/em28xx/
H A Dem28xx-core.c814 if (!irqs_disabled()) em28xx_uninit_usb_xfer()
856 if (!irqs_disabled()) em28xx_stop_urbs()
H A Dem28xx-audio.c72 if (!irqs_disabled()) em28xx_deinit_isoc_audio()
/linux-4.1.27/drivers/acpi/
H A Dpci_link.c307 resource = kzalloc(sizeof(*resource) + 1, irqs_disabled() ? GFP_ATOMIC: GFP_KERNEL); acpi_pci_link_set()
H A Dec.c508 if (EC_FLAGS_MSI || irqs_disabled()) { ec_poll()
/linux-4.1.27/net/rds/
H A Dib_rdma.c488 BUG_ON(irqs_disabled()); __rds_ib_teardown_mr()
H A Drdma.c454 BUG_ON(irqs_disabled()); rds_rdma_free_op()
/linux-4.1.27/drivers/media/usb/au0828/
H A Dau0828-video.c177 if (!irqs_disabled()) au0828_uninit_isoc()
1589 if (!irqs_disabled()) au0828_v4l2_suspend()
/linux-4.1.27/drivers/net/wireless/zd1211rw/
H A Dzd_usb.c540 ZD_ASSERT(!irqs_disabled()); zd_usb_enable_int()
776 ZD_ASSERT(!irqs_disabled()); __zd_usb_enable_rx()
H A Dzd_mac.c208 ZD_ASSERT(!irqs_disabled()); zd_mac_init_hw()
/linux-4.1.27/drivers/mmc/host/
H A Dau1xmmc.c693 WARN_ON(irqs_disabled()); au1xmmc_request()
/linux-4.1.27/drivers/net/irda/
H A Dsir_dev.c294 if (in_interrupt() || in_atomic() || irqs_disabled()) { sirdev_schedule_request()
/linux-4.1.27/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c2210 WARN_ON_ONCE(irqs_disabled()); srpt_drain_channel()
2251 WARN_ON_ONCE(irqs_disabled()); srpt_find_channel()
2369 WARN_ON_ONCE(irqs_disabled()); srpt_cm_req_recv()
3083 WARN_ON_ONCE(irqs_disabled()); srpt_release_sdev()
/linux-4.1.27/arch/x86/kernel/
H A Dftrace.c529 int enable_irqs = irqs_disabled(); run_sync()
H A Dsmpboot.c929 WARN_ON(irqs_disabled()); native_cpu_up()
H A Dapm_32.c555 else if (irqs_disabled()) apm_irq_restore()
/linux-4.1.27/drivers/video/fbdev/
H A Dtmiofb.c366 if (irqs_disabled() || par->use_polling) { tmiofb_acc_wait()
/linux-4.1.27/arch/powerpc/kvm/
H A Dpowerpc.c73 WARN_ON(irqs_disabled()); kvmppc_prepare_to_enter()
H A Dbooke.c675 WARN_ON_ONCE(!irqs_disabled()); kvmppc_core_prepare_to_enter()
/linux-4.1.27/kernel/rcu/
H A Dupdate.c253 return in_softirq() || irqs_disabled(); rcu_read_lock_bh_held()
/linux-4.1.27/include/drm/
H A DdrmP.h1086 if (in_atomic() || in_dbg_master() || irqs_disabled()) drm_can_sleep()
/linux-4.1.27/drivers/ide/
H A Dide-probe.c1526 BUG_ON(irqs_disabled()); ide_unregister()
/linux-4.1.27/drivers/s390/cio/
H A Dqdio_main.c1163 WARN_ON_ONCE(irqs_disabled()); qdio_shutdown()
/linux-4.1.27/fs/
H A Dbuffer.c1256 #ifdef irqs_disabled check_irqs_on()
1257 BUG_ON(irqs_disabled()); check_irqs_on()
/linux-4.1.27/mm/
H A Dslab.c2297 BUG_ON(!irqs_disabled()); check_irq_off()
2302 BUG_ON(irqs_disabled()); check_irq_on()
H A Dslub.c370 VM_BUG_ON(!irqs_disabled()); __cmpxchg_double_slab()
867 VM_BUG_ON(!irqs_disabled()); check_slab()
/linux-4.1.27/drivers/md/
H A Ddm.c2136 BUG_ON(!irqs_disabled()); dm_request_fn()
/linux-4.1.27/drivers/i2c/
H A Di2c-core.c2098 if (in_atomic() || irqs_disabled()) { i2c_transfer()
/linux-4.1.27/drivers/scsi/
H A Dscsi_lib.c3095 WARN_ON(!irqs_disabled()); scsi_kmap_atomic_sg()
H A Datari_NCR5380.c908 if (in_interrupt() || irqs_disabled()) NCR5380_queue_command()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Di915_drv.h1492 * The irqs_disabled variable becomes true exactly after we disable the IRQs and
/linux-4.1.27/arch/x86/kernel/cpu/
H A Dperf_event_intel.c1931 WARN_ON_ONCE(!irqs_disabled()); intel_start_scheduling()
/linux-4.1.27/drivers/usb/host/
H A Du132-hcd.c2249 if (irqs_disabled()) { u132_urb_enqueue()
/linux-4.1.27/drivers/usb/wusbcore/
H A Dwa-xfer.c1840 unsigned cant_sleep = irqs_disabled() | in_atomic(); wa_urb_enqueue()

Completed in 8171 milliseconds