Home
last modified time | relevance | path

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

12

/linux-6.1.9/kernel/power/
Dprocess.c141 BUG_ON(in_atomic()); in freeze_processes()
177 BUG_ON(in_atomic()); in freeze_kernel_threads()
/linux-6.1.9/include/drm/
Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
/linux-6.1.9/security/apparmor/include/
Dpath.h29 char *aa_get_buffer(bool in_atomic);
Dfile.h203 u32 request, bool in_atomic);
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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()
1622 char *aa_get_buffer(bool in_atomic) in aa_get_buffer() argument
1631 (in_atomic && !list_empty(&aa_global_buffers))) { in aa_get_buffer()
1639 if (in_atomic) { in aa_get_buffer()
1649 if (!in_atomic) in aa_get_buffer()
/linux-6.1.9/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.h241 #define faulthandler_disabled() (pagefault_disabled() || in_atomic())
/linux-6.1.9/arch/riscv/include/asm/
Dkvm_host.h290 bool writable, bool in_atomic);
/linux-6.1.9/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.h291 bool not_atomic = !in_atomic() && !irqs_disabled(); in intel_guc_send_busy_loop()
/linux-6.1.9/arch/um/kernel/
Dprocess.c224 return in_atomic() || irqs_disabled() || in_interrupt(); in __cant_sleep()
/linux-6.1.9/arch/riscv/kvm/
Dmmu.c348 bool writable, bool in_atomic) in kvm_riscv_gstage_ioremap() argument
355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0, in kvm_riscv_gstage_ioremap()
/linux-6.1.9/arch/m68k/atari/
Dtime.c255 if (in_atomic() || irqs_disabled()) in atari_tt_hwclk()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_utils.h298 # define _WAIT_FOR_ATOMIC_CHECK(ATOMIC) WARN_ON_ONCE((ATOMIC) && !in_atomic())
/linux-6.1.9/drivers/dma-buf/
Ddma-fence.c308 if (in_atomic()) in dma_fence_begin_signalling()
/linux-6.1.9/drivers/base/power/
Dclock_ops.c90 bool atomic_context = in_atomic() || irqs_disabled(); in pm_clk_op_lock()
/linux-6.1.9/kernel/events/
Dring_buffer.c653 WARN_ON_ONCE(in_atomic()); in __rb_free_aux()
/linux-6.1.9/arch/s390/kernel/
Dsetup.c322 if ((!in_interrupt() && !in_atomic()) || oops_in_progress) in machine_restart()
/linux-6.1.9/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-6.1.9/kernel/trace/
Dtrace_functions_graph.c1208 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open()
/linux-6.1.9/drivers/usb/misc/sisusbvga/
Dsisusb_con.c161 if (in_atomic()) in sisusb_get_sisusb_lock_and_check()

12