Home
last modified time | relevance | path

Searched refs:in_atomic (Results 1 - 25 of 65) sorted by relevance

123

/kernel/linux/linux-6.6/kernel/power/
H A Dprocess.c141 BUG_ON(in_atomic()); in freeze_processes()
172 BUG_ON(in_atomic()); in freeze_kernel_threads()
/kernel/linux/linux-5.10/security/apparmor/include/
H A Dpath.h29 char *aa_get_buffer(bool in_atomic);
H A Dfile.h200 u32 request, bool in_atomic);
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled()) in drm_can_sleep()
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dpath.h29 char *aa_get_buffer(bool in_atomic);
H A Dfile.h133 u32 request, bool in_atomic);
/kernel/linux/linux-5.10/kernel/power/
H A Dprocess.c146 BUG_ON(in_atomic()); in freeze_processes()
182 BUG_ON(in_atomic()); in freeze_kernel_threads()
/kernel/linux/linux-5.10/arch/x86/crypto/
H A 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/security/apparmor/
H A Dfile.c507 u32 request, u32 denied, bool in_atomic) in __file_path_perm()
524 buffer = aa_get_buffer(in_atomic); in __file_path_perm()
592 * @in_atomic: whether allocations need to be done in atomic context
597 u32 request, bool in_atomic) in aa_file_perm()
633 denied, in_atomic); in aa_file_perm()
505 __file_path_perm(const char *op, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied, bool in_atomic) __file_path_perm() argument
596 aa_file_perm(const char *op, struct aa_label *label, struct file *file, u32 request, bool in_atomic) aa_file_perm() argument
H A Dlsm.c456 bool in_atomic) in common_file_perm()
466 error = aa_file_perm(op, label, file, mask, in_atomic); in common_file_perm()
494 unsigned long flags, bool in_atomic) in common_mmap()
512 return common_file_perm(op, file, mask, in_atomic); in common_mmap()
1589 char *aa_get_buffer(bool in_atomic) in aa_get_buffer() argument
1598 (in_atomic && !list_empty(&aa_global_buffers))) { in aa_get_buffer()
1606 if (in_atomic) { in aa_get_buffer()
1616 if (!in_atomic) in aa_get_buffer()
455 common_file_perm(const char *op, struct file *file, u32 mask, bool in_atomic) common_file_perm() argument
493 common_mmap(const char *op, struct file *file, unsigned long prot, unsigned long flags, bool in_atomic) common_mmap() argument
/kernel/linux/linux-6.6/security/apparmor/
H A Dfile.c487 u32 request, u32 denied, bool in_atomic) in __file_path_perm()
506 buffer = aa_get_buffer(in_atomic); in __file_path_perm()
580 * @in_atomic: whether allocations need to be done in atomic context
586 u32 request, bool in_atomic) in aa_file_perm()
622 request, denied, in_atomic); in aa_file_perm()
484 __file_path_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, struct aa_label *flabel, struct file *file, u32 request, u32 denied, bool in_atomic) __file_path_perm() argument
584 aa_file_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, struct file *file, u32 request, bool in_atomic) aa_file_perm() argument
H A Dlsm.c512 bool in_atomic) in common_file_perm()
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()
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()
511 common_file_perm(const char *op, struct file *file, u32 mask, bool in_atomic) common_file_perm() argument
549 common_mmap(const char *op, struct file *file, unsigned long prot, unsigned long flags, bool in_atomic) common_mmap() argument
/kernel/linux/linux-5.10/arch/arm/crypto/
H A 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()
/kernel/linux/linux-5.10/include/linux/
H A Dpreempt.h140 * Do not use in_atomic() in driver code.
142 #define in_atomic() (preempt_count() != 0) macro
/kernel/linux/linux-5.10/arch/csky/mm/
H A Dfault.c120 if (in_atomic() || !mm) in do_page_fault()
/kernel/linux/linux-6.6/include/linux/
H A Dpreempt.h184 * Do not use in_atomic() in driver code.
186 #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()
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/
H A Dmdfld_device.c360 if (in_atomic() || in_interrupt()) in mdfld_restore_display_registers()
368 if (in_atomic() || in_interrupt()) in mdfld_restore_display_registers()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dkvm_host.h306 bool writable, bool in_atomic);
/kernel/linux/linux-6.6/arch/riscv/kvm/
H A Dmmu.c348 bool writable, bool in_atomic) in kvm_riscv_gstage_ioremap()
355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0, in kvm_riscv_gstage_ioremap()
346 kvm_riscv_gstage_ioremap(struct kvm *kvm, gpa_t gpa, phys_addr_t hpa, unsigned long size, bool writable, bool in_atomic) kvm_riscv_gstage_ioremap() argument

Completed in 20 milliseconds

123