Home
last modified time | relevance | path

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

12

/linux-6.6.21/kernel/power/
Dprocess.c141 BUG_ON(in_atomic()); in freeze_processes()
172 BUG_ON(in_atomic()); in freeze_kernel_threads()
/linux-6.6.21/include/drm/
Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
/linux-6.6.21/security/apparmor/include/
Dpath.h29 char *aa_get_buffer(bool in_atomic);
Dfile.h133 u32 request, bool in_atomic);
/linux-6.6.21/arch/x86/crypto/
Dghash-clmulni-intel_glue.c200 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_update()
218 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_final()
259 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_digest()
/linux-6.6.21/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.6.21/security/apparmor/
Dfile.c487 u32 request, u32 denied, bool in_atomic) in __file_path_perm() argument
506 buffer = aa_get_buffer(in_atomic); in __file_path_perm()
586 u32 request, bool in_atomic) in aa_file_perm() argument
622 request, denied, in_atomic); in aa_file_perm()
Dlsm.c512 bool in_atomic) in common_file_perm() argument
522 error = aa_file_perm(op, current_cred(), label, file, mask, in_atomic); in common_file_perm()
550 unsigned long flags, bool in_atomic) in common_mmap() argument
568 return common_file_perm(op, file, mask, in_atomic); in common_mmap()
1669 char *aa_get_buffer(bool in_atomic) in aa_get_buffer() argument
1678 (in_atomic && !list_empty(&aa_global_buffers))) { in aa_get_buffer()
1686 if (in_atomic) { in aa_get_buffer()
1696 if (!in_atomic) in aa_get_buffer()
/linux-6.6.21/include/linux/
Dpreempt.h186 #define in_atomic() (preempt_count() != 0) macro
Dpage_ref.h275 VM_BUG_ON(!in_atomic() && !irqs_disabled()); in folio_ref_try_add_rcu()
Duaccess.h263 #define faulthandler_disabled() (pagefault_disabled() || in_atomic())
/linux-6.6.21/arch/arm/crypto/
Dghash-ce-glue.c237 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_update()
255 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_final()
273 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) { in ghash_async_digest()
/linux-6.6.21/arch/riscv/include/asm/
Dkvm_host.h306 bool writable, bool in_atomic);
/linux-6.6.21/arch/um/kernel/
Dprocess.c224 return in_atomic() || irqs_disabled() || in_interrupt(); in __uml_cant_sleep()
/linux-6.6.21/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.6.21/arch/m68k/atari/
Dtime.c255 if (in_atomic() || irqs_disabled()) in atari_tt_hwclk()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_guc.h320 bool not_atomic = !in_atomic() && !irqs_disabled(); in intel_guc_send_busy_loop()
/linux-6.6.21/drivers/gpu/drm/i915/
Di915_utils.h292 # define _WAIT_FOR_ATOMIC_CHECK(ATOMIC) WARN_ON_ONCE((ATOMIC) && !in_atomic())
/linux-6.6.21/drivers/dma-buf/
Ddma-fence.c309 if (in_atomic()) in dma_fence_begin_signalling()
/linux-6.6.21/drivers/base/power/
Dclock_ops.c90 bool atomic_context = in_atomic() || irqs_disabled(); in pm_clk_op_lock()
/linux-6.6.21/kernel/events/
Dring_buffer.c654 WARN_ON_ONCE(in_atomic()); in __rb_free_aux()
/linux-6.6.21/arch/s390/kernel/
Dsetup.c322 if ((!in_interrupt() && !in_atomic()) || oops_in_progress) in machine_restart()
/linux-6.6.21/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.6.21/kernel/trace/
Dtrace_functions_graph.c1281 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open()
/linux-6.6.21/arch/mips/mm/
Dc-r4k.c627 if (in_atomic()) in r4k_flush_data_cache_page()

12