Home
last modified time | relevance | path

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

12

/openbmc/linux/kernel/power/
H A Dprocess.c141 BUG_ON(in_atomic()); in freeze_processes()
172 BUG_ON(in_atomic()); in freeze_kernel_threads()
/openbmc/linux/include/drm/
H A Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
/openbmc/linux/security/apparmor/include/
H A Dpath.h29 char *aa_get_buffer(bool in_atomic);
H A Dfile.h133 u32 request, bool in_atomic);
/openbmc/linux/arch/x86/crypto/
H A 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()
/openbmc/linux/crypto/
H 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()
/openbmc/linux/security/apparmor/
H A 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()
H A 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()
/openbmc/linux/include/linux/
H A Dpreempt.h186 #define in_atomic() (preempt_count() != 0) macro
H A Dpage_ref.h275 VM_BUG_ON(!in_atomic() && !irqs_disabled()); in folio_ref_try_add_rcu()
H A Duaccess.h263 #define faulthandler_disabled() (pagefault_disabled() || in_atomic())
/openbmc/linux/arch/arm/crypto/
H A 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()
/openbmc/linux/arch/riscv/include/asm/
H A Dkvm_host.h306 bool writable, bool in_atomic);
/openbmc/linux/arch/um/kernel/
H A Dprocess.c224 return in_atomic() || irqs_disabled() || in_interrupt(); in __uml_cant_sleep()
/openbmc/linux/arch/riscv/kvm/
H A 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()
/openbmc/linux/arch/m68k/atari/
H A Dtime.c255 if (in_atomic() || irqs_disabled()) in atari_tt_hwclk()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc.h320 bool not_atomic = !in_atomic() && !irqs_disabled(); in intel_guc_send_busy_loop()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_utils.h292 # define _WAIT_FOR_ATOMIC_CHECK(ATOMIC) WARN_ON_ONCE((ATOMIC) && !in_atomic())
/openbmc/linux/drivers/dma-buf/
H A Ddma-fence.c309 if (in_atomic()) in dma_fence_begin_signalling()
/openbmc/linux/drivers/base/power/
H A Dclock_ops.c90 bool atomic_context = in_atomic() || irqs_disabled(); in pm_clk_op_lock()
/openbmc/linux/kernel/events/
H A Dring_buffer.c654 WARN_ON_ONCE(in_atomic()); in __rb_free_aux()
/openbmc/linux/arch/s390/kernel/
H A Dsetup.c322 if ((!in_interrupt() && !in_atomic()) || oops_in_progress) in machine_restart()
/openbmc/linux/Documentation/dev-tools/
H 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.
/openbmc/linux/kernel/trace/
H A Dtrace_functions_graph.c1281 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open()
/openbmc/linux/arch/mips/mm/
H A Dc-r4k.c627 if (in_atomic()) in r4k_flush_data_cache_page()

12