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

12

/linux-master/include/drm/
H A Ddrm_util.h78 if (in_atomic() || in_dbg_master() || irqs_disabled())
/linux-master/security/apparmor/include/
H A Dpath.h29 char *aa_get_buffer(bool in_atomic);
H A Dfile.h96 u32 request, bool in_atomic);
/linux-master/kernel/power/
H A Dprocess.c141 BUG_ON(in_atomic());
172 BUG_ON(in_atomic());
/linux-master/arch/x86/crypto/
H A Dghash-clmulni-intel_glue.c200 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
218 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
259 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
/linux-master/crypto/
H A Dsimd.c73 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm)))
94 (in_atomic() && cryptd_skcipher_queued(ctx->cryptd_tfm)))
321 (in_atomic() && cryptd_aead_queued(ctx->cryptd_tfm)))
342 (in_atomic() && cryptd_aead_queued(ctx->cryptd_tfm)))
/linux-master/security/apparmor/
H A Dfile.c487 u32 request, u32 denied, bool in_atomic)
506 buffer = aa_get_buffer(in_atomic);
580 * @in_atomic: whether allocations need to be done in atomic context
586 u32 request, bool in_atomic)
622 request, denied, in_atomic);
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) 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) argument
H A Dlsm.c522 bool in_atomic)
532 error = aa_file_perm(op, current_cred(), label, file, mask, in_atomic);
560 unsigned long flags, bool in_atomic)
578 return common_file_perm(op, file, mask, in_atomic);
1861 char *aa_get_buffer(bool in_atomic) argument
1891 (in_atomic && !list_empty(&aa_global_buffers))) {
1899 if (in_atomic) {
1909 if (!in_atomic)
521 common_file_perm(const char *op, struct file *file, u32 mask, bool in_atomic) argument
559 common_mmap(const char *op, struct file *file, unsigned long prot, unsigned long flags, bool in_atomic) argument
/linux-master/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());
H A Duaccess.h255 * when in irq context (via in_atomic()).
261 * in_atomic() will report different values based on !CONFIG_PREEMPT_COUNT.
263 #define faulthandler_disabled() (pagefault_disabled() || in_atomic())
/linux-master/arch/riscv/include/asm/
H A Dkvm_host.h329 bool writable, bool in_atomic);
/linux-master/arch/riscv/kvm/
H A Dmmu.c348 bool writable, bool in_atomic)
355 .gfp_custom = (in_atomic) ? GFP_ATOMIC | __GFP_ACCOUNT : 0,
346 kvm_riscv_gstage_ioremap(struct kvm *kvm, gpa_t gpa, phys_addr_t hpa, unsigned long size, bool writable, bool in_atomic) argument
/linux-master/arch/m68k/atari/
H A Dtime.c257 if (in_atomic() || irqs_disabled())
/linux-master/arch/um/kernel/
H A Dprocess.c224 return in_atomic() || irqs_disabled() || in_interrupt();
/linux-master/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc.h363 bool not_atomic = !in_atomic() && !irqs_disabled();
367 * using in_atomic(). It is likely safe here as we check for irqs
/linux-master/drivers/gpu/drm/i915/
H A Di915_utils.h290 /* If CONFIG_PREEMPT_COUNT is disabled, in_atomic() always reports false. */
292 # define _WAIT_FOR_ATOMIC_CHECK(ATOMIC) WARN_ON_ONCE((ATOMIC) && !in_atomic())
/linux-master/arch/arm/crypto/
H A Dghash-ce-glue.c237 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
255 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
273 (in_atomic() && cryptd_ahash_queued(cryptd_tfm))) {
/linux-master/drivers/base/power/
H A Dclock_ops.c90 bool atomic_context = in_atomic() || irqs_disabled();
/linux-master/drivers/dma-buf/
H A Ddma-fence.c309 if (in_atomic())
/linux-master/kernel/events/
H A Dring_buffer.c394 * aux pages in this path, which is a bug, because in_atomic().
654 WARN_ON_ONCE(in_atomic());
/linux-master/kernel/trace/
H A Dtrace_functions_graph.c1281 gfpflags = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL;
/linux-master/arch/s390/kernel/
H A Dsetup.c322 if ((!in_interrupt() && !in_atomic()) || oops_in_progress)
/linux-master/drivers/xen/
H A Dgrant-table.c556 gfp_t gfp = (in_atomic() || irqs_disabled()) ? GFP_ATOMIC : GFP_KERNEL;
/linux-master/arch/mips/mm/
H A Dc-r4k.c627 if (in_atomic())

Completed in 464 milliseconds

12