Home
last modified time | relevance | path

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

12

/linux-5.19.10/kernel/power/
Dprocess.c143 BUG_ON(in_atomic()); in freeze_processes()
179 BUG_ON(in_atomic()); in freeze_kernel_threads()
/linux-5.19.10/include/drm/
Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
/linux-5.19.10/security/apparmor/include/
Dpath.h29 char *aa_get_buffer(bool in_atomic);
Dfile.h200 u32 request, bool in_atomic);
/linux-5.19.10/arch/x86/crypto/
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-5.19.10/crypto/
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-5.19.10/arch/arm/crypto/
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-5.19.10/security/apparmor/
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()
Dlsm.c485 bool in_atomic) in common_file_perm() argument
495 error = aa_file_perm(op, label, file, mask, in_atomic); in common_file_perm()
523 unsigned long flags, bool in_atomic) in common_mmap() argument
541 return common_file_perm(op, file, mask, in_atomic); in common_mmap()
1619 char *aa_get_buffer(bool in_atomic) in aa_get_buffer() argument
1628 (in_atomic && !list_empty(&aa_global_buffers))) { in aa_get_buffer()
1636 if (in_atomic) { in aa_get_buffer()
1646 if (!in_atomic) in aa_get_buffer()
/linux-5.19.10/include/linux/
Dpreempt.h174 #define in_atomic() (preempt_count() != 0) macro
Dpage_ref.h275 VM_BUG_ON(!in_atomic() && !irqs_disabled()); in folio_ref_try_add_rcu()
Duaccess.h232 #define faulthandler_disabled() (pagefault_disabled() || in_atomic())
/linux-5.19.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm.c485 if (in_atomic()) in hmm_store()
515 if (in_atomic()) in hmm_store()
/linux-5.19.10/arch/um/kernel/
Dprocess.c224 return in_atomic() || irqs_disabled() || in_interrupt(); in __cant_sleep()
/linux-5.19.10/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.h283 bool not_atomic = !in_atomic() && !irqs_disabled(); in intel_guc_send_busy_loop()
/linux-5.19.10/arch/m68k/atari/
Dtime.c255 if (in_atomic() || irqs_disabled()) in atari_tt_hwclk()
/linux-5.19.10/drivers/gpu/drm/i915/
Di915_utils.h338 # define _WAIT_FOR_ATOMIC_CHECK(ATOMIC) WARN_ON_ONCE((ATOMIC) && !in_atomic())
/linux-5.19.10/drivers/dma-buf/
Ddma-fence.c300 if (in_atomic()) in dma_fence_begin_signalling()
/linux-5.19.10/drivers/base/power/
Dclock_ops.c90 bool atomic_context = in_atomic() || irqs_disabled(); in pm_clk_op_lock()
/linux-5.19.10/arch/s390/kernel/
Dsetup.c321 if ((!in_interrupt() && !in_atomic()) || oops_in_progress) in machine_restart()
/linux-5.19.10/kernel/events/
Dring_buffer.c650 WARN_ON_ONCE(in_atomic()); in __rb_free_aux()
/linux-5.19.10/Documentation/dev-tools/
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-5.19.10/kernel/trace/
Dtrace_functions_graph.c1208 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open()
/linux-5.19.10/drivers/usb/misc/sisusbvga/
Dsisusb_con.c161 if (in_atomic()) in sisusb_get_sisusb_lock_and_check()
/linux-5.19.10/fs/erofs/
Dzdata.c1048 if (in_atomic() || irqs_disabled()) { in z_erofs_decompress_kickoff()

12