Searched defs:atomic (Results 1 - 4 of 4) sorted by relevance

/arch/alpha/lib/
H A Ddec_and_lock.c9 #include <linux/atomic.h>
33 static int __used atomic_dec_and_lock_1(atomic_t *atomic, spinlock_t *lock) argument
37 if (atomic_dec_and_test(atomic))
/arch/arm/lib/
H A Duaccess_with_memcpy.c91 int atomic; local
98 /* the mmap semaphore is taken only if not in an atomic context */
99 atomic = in_atomic();
101 if (!atomic)
109 if (!atomic)
113 if (!atomic)
131 if (!atomic)
/arch/arc/kernel/
H A Dsetup.c144 int i, be, atomic; local
153 atomic = cpu->isa.atomic1;
155 atomic = IS_ENABLED(CONFIG_ARC_HAS_LLSC);
186 IS_AVAIL2(atomic, "atomic ", CONFIG_ARC_HAS_LLSC));
/arch/um/kernel/
H A Dprocess.c60 unsigned long alloc_stack(int order, int atomic) argument
65 if (atomic)

Completed in 196 milliseconds