/openbmc/linux/kernel/power/ |
H A D | process.c | 141 BUG_ON(in_atomic()); in freeze_processes() 172 BUG_ON(in_atomic()); in freeze_kernel_threads()
|
/openbmc/linux/include/drm/ |
H A D | drm_util.h | 78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
|
/openbmc/linux/security/apparmor/include/ |
H A D | path.h | 29 char *aa_get_buffer(bool in_atomic);
|
H A D | file.h | 133 u32 request, bool in_atomic);
|
/openbmc/linux/arch/x86/crypto/ |
H A D | ghash-clmulni-intel_glue.c | 200 (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 D | simd.c | 73 (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() 299 (in_atomic() && cryptd_aead_queued(ctx->cryptd_tfm))) in simd_aead_encrypt() 320 (in_atomic() && cryptd_aead_queued(ctx->cryptd_tfm))) in simd_aead_decrypt()
|
/openbmc/linux/security/apparmor/ |
H A D | file.c | 487 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 D | lsm.c | 512 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() 1676 char *aa_get_buffer(bool in_atomic) in aa_get_buffer() argument 1685 (in_atomic && !list_empty(&aa_global_buffers))) { in aa_get_buffer() 1693 if (in_atomic) { in aa_get_buffer() 1703 if (!in_atomic) in aa_get_buffer()
|
/openbmc/linux/include/linux/ |
H A D | preempt.h | 186 #define in_atomic() (preempt_count() != 0) macro
|
H A D | uaccess.h | 263 #define faulthandler_disabled() (pagefault_disabled() || in_atomic())
|
/openbmc/linux/arch/arm/crypto/ |
H A D | ghash-ce-glue.c | 237 (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 D | kvm_host.h | 306 bool writable, bool in_atomic);
|
/openbmc/linux/arch/um/kernel/ |
H A D | process.c | 224 return in_atomic() || irqs_disabled() || in_interrupt(); in __uml_cant_sleep()
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | mmu.c | 348 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 D | time.c | 255 if (in_atomic() || irqs_disabled()) in atari_tt_hwclk()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc.h | 320 bool not_atomic = !in_atomic() && !irqs_disabled(); in intel_guc_send_busy_loop()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_utils.h | 292 # define _WAIT_FOR_ATOMIC_CHECK(ATOMIC) WARN_ON_ONCE((ATOMIC) && !in_atomic())
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-fence.c | 309 if (in_atomic()) in dma_fence_begin_signalling()
|
/openbmc/linux/drivers/base/power/ |
H A D | clock_ops.c | 90 bool atomic_context = in_atomic() || irqs_disabled(); in pm_clk_op_lock()
|
/openbmc/linux/arch/s390/kernel/ |
H A D | setup.c | 322 if ((!in_interrupt() && !in_atomic()) || oops_in_progress) in machine_restart()
|
/openbmc/linux/kernel/events/ |
H A D | ring_buffer.c | 656 WARN_ON_ONCE(in_atomic()); in __rb_free_aux()
|
/openbmc/linux/Documentation/dev-tools/ |
H A D | checkpatch.rst | 439 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 D | trace_functions_graph.c | 1281 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in graph_trace_open()
|
/openbmc/linux/arch/mips/mm/ |
H A D | c-r4k.c | 627 if (in_atomic()) in r4k_flush_data_cache_page()
|
/openbmc/linux/drivers/xen/ |
H A D | grant-table.c | 558 gfp_t gfp = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL; in gnttab_add_deferred()
|