Home
last modified time | relevance | path

Searched refs:in_atomic (Results 1 – 25 of 32) sorted by relevance

12

/linux/kernel/power/
A Dprocess.c146 BUG_ON(in_atomic()); in freeze_processes()
182 BUG_ON(in_atomic()); in freeze_kernel_threads()
/linux/arch/x86/crypto/
A Dghash-clmulni-intel_glue.c181 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_update()
199 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_final()
240 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_digest()
/linux/crypto/
A Dsimd.c73 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm))) in simd_skcipher_encrypt()
94 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm))) in simd_skcipher_decrypt()
321 (in_atomic() && cryptd_aead_queued(ctx->cryptd_tfm))) in simd_aead_encrypt()
342 (in_atomic() && cryptd_aead_queued(ctx->cryptd_tfm))) in simd_aead_decrypt()
/linux/include/drm/
A Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
/linux/security/apparmor/include/
A Dpath.h29 char *aa_get_buffer(bool in_atomic);
A Dfile.h200 u32 request, bool in_atomic);
/linux/arch/arm/crypto/
A Dghash-ce-glue.c220 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_update()
238 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_final()
256 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_digest()
/linux/security/apparmor/
A Dfile.c509 u32 request, u32 denied, bool in_atomic) in __file_path_perm() argument
526 buffer = aa_get_buffer(in_atomic); in __file_path_perm()
599 u32 request, bool in_atomic) in aa_file_perm() argument
635 denied, in_atomic); in aa_file_perm()
A Dlsm.c465 bool in_atomic) in common_file_perm() argument
475 error = aa_file_perm(op, label, file, mask, in_atomic); in common_file_perm()
503 unsigned long flags, bool in_atomic) in common_mmap() argument
521 return common_file_perm(op, file, mask, in_atomic); in common_mmap()
1592 char *aa_get_buffer(bool in_atomic) in aa_get_buffer() argument
1601 (in_atomic && !list_empty(&aa_global_buffers))) { in aa_get_buffer()
1609 if (in_atomic) { in aa_get_buffer()
1619 if (!in_atomic) in aa_get_buffer()
/linux/include/linux/
A Dpreempt.h174 #define in_atomic() (preempt_count() != 0) macro
A Dpage_ref.h275 VM_BUG_ON(!in_atomic() && !irqs_disabled()); in folio_ref_try_add_rcu()
A Duaccess.h272 #define faulthandler_disabled() (pagefault_disabled() || in_atomic())
/linux/drivers/staging/media/atomisp/pci/hmm/
A Dhmm.c484 if (in_atomic()) in hmm_store()
514 if (in_atomic()) in hmm_store()
/linux/drivers/gpu/drm/i915/gt/uc/
A Dintel_guc.h212 bool not_atomic = !in_atomic() && !irqs_disabled(); in intel_guc_send_busy_loop()
/linux/arch/um/kernel/
A Dprocess.c222 return in_atomic() || irqs_disabled() || in_interrupt(); in __cant_sleep()
/linux/arch/m68k/atari/
A Dtime.c255 if (in_atomic() || irqs_disabled()) in atari_tt_hwclk()
/linux/drivers/gpu/drm/i915/
A Di915_utils.h348 # define _WAIT_FOR_ATOMIC_CHECK(ATOMIC) WARN_ON_ONCE((ATOMIC) && !in_atomic())
/linux/drivers/dma-buf/
A Ddma-fence.c299 if (in_atomic()) in dma_fence_begin_signalling()
/linux/drivers/base/power/
A Dclock_ops.c90 bool atomic_context = in_atomic() || irqs_disabled(); in pm_clk_op_lock()
/linux/kernel/events/
A Dring_buffer.c650 WARN_ON_ONCE(in_atomic()); in __rb_free_aux()
/linux/arch/s390/kernel/
A Dsetup.c321 if ((!in_interrupt() && !in_atomic()) || oops_in_progress) in machine_restart()
/linux/arch/x86/kvm/
A Dxen.c237 if (in_atomic() || !task_is_running(current)) in __kvm_xen_has_interrupt()
/linux/Documentation/dev-tools/
A Dcheckpatch.rst439 in_atomic() is not for driver use so any such use is reported as an ERROR.
440 Also in_atomic() is often used to determine if sleeping is permitted,
444 However, in_atomic() is ok for core kernel use.
/linux/drivers/usb/misc/sisusbvga/
A Dsisusb_con.c161 if (in_atomic()) in sisusb_get_sisusb_lock_and_check()
/linux/kernel/trace/
A Dtrace_functions_graph.c1208 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open()

Completed in 62 milliseconds

12