| /arch/arm64/include/asm/ |
| A D | rwonce.h | 35 int atomic = 1; \ 59 atomic = 0; \ 61 atomic ? (typeof(*__x))__u.__val : (*(volatile typeof(__x))__x);\
|
| /arch/mips/include/asm/ |
| A D | atomic.h | 37 ATOMIC_OPS(atomic, int) 144 ATOMIC_OPS(atomic, add, int, +=, addu, ll, sc) 145 ATOMIC_OPS(atomic, sub, int, -=, subu, ll, sc) 166 ATOMIC_OPS(atomic, and, int, &=, and, ll, sc) 167 ATOMIC_OPS(atomic, or, int, |=, or, ll, sc) 168 ATOMIC_OPS(atomic, xor, int, ^=, xor, ll, sc) 248 ATOMIC_SIP_OP(atomic, int, subu, ll, sc)
|
| /arch/arm/lib/ |
| A D | uaccess_with_memcpy.c | 96 int atomic; in __copy_to_user_memcpy() local 99 atomic = faulthandler_disabled(); in __copy_to_user_memcpy() 101 if (!atomic) in __copy_to_user_memcpy() 109 if (!atomic) in __copy_to_user_memcpy() 113 if (!atomic) in __copy_to_user_memcpy() 133 if (!atomic) in __copy_to_user_memcpy()
|
| /arch/riscv/include/asm/ |
| A D | atomic.h | 55 void arch_atomic##prefix##_##op(c_type i, atomic##prefix##_t *v) \ 90 atomic##prefix##_t *v) \ in ATOMIC_OPS() 101 c_type arch_atomic##prefix##_fetch_##op(c_type i, atomic##prefix##_t *v) \ 115 atomic##prefix##_t *v) \ 120 c_type arch_atomic##prefix##_##op##_return(c_type i, atomic##prefix##_t *v) \
|
| /arch/mips/lib/ |
| A D | Makefile | 7 mips-atomic.o strncpy_user.o \
|
| /arch/arc/kernel/ |
| A D | setup.c | 82 int atomic = 0, be, present; in arcompact_mumbojumbo() local 92 atomic = IS_ENABLED(CONFIG_ARC_HAS_LLSC); in arcompact_mumbojumbo() 95 atomic = isa.info & 1; in arcompact_mumbojumbo() 107 IS_AVAIL2(atomic, "atomic ", CONFIG_ARC_HAS_LLSC), in arcompact_mumbojumbo() 217 IS_AVAIL2(isa.atomic, "atomic ", CONFIG_ARC_HAS_LLSC), in arcv2_mumbojumbo()
|
| A D | entry.S | 264 ; Disable IRQs to ensures that chk for pending work itself is atomic
|
| /arch/csky/kernel/ |
| A D | Makefile | 4 obj-y += head.o entry.o atomic.o signal.o traps.o irq.o time.o vdso.o vdso/
|
| /arch/um/include/shared/ |
| A D | kern_util.h | 21 extern unsigned long alloc_stack(int order, int atomic);
|
| /arch/um/kernel/ |
| A D | process.c | 54 unsigned long alloc_stack(int order, int atomic) in alloc_stack() argument 59 if (atomic) in alloc_stack()
|
| /arch/arc/include/asm/ |
| A D | arcregs.h | 172 unsigned int div_rem:4, pad2:4, ldd:1, unalign:1, atomic:1, be:1, member 175 unsigned int ver:8, pad1:12, be:1, atomic:1, unalign:1,
|
| /arch/powerpc/platforms/powernv/ |
| A D | opal.c | 442 size_t total_len, bool atomic) in __opal_put_chars() argument 452 if (atomic) in __opal_put_chars() 482 if (atomic) { in __opal_put_chars() 492 if (atomic) in __opal_put_chars()
|
| /arch/sh/ |
| A D | Kconfig | 627 bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)" 631 atomic operations using a software implementation of load-locked/ 634 disabling interrupts around the atomic sequence.
|
| /arch/x86/kvm/ |
| A D | xen.c | 321 static void kvm_xen_update_runstate_guest(struct kvm_vcpu *v, bool atomic) in kvm_xen_update_runstate_guest() argument 423 if (atomic) { in kvm_xen_update_runstate_guest() 436 if (atomic) in kvm_xen_update_runstate_guest() 468 if (atomic) { in kvm_xen_update_runstate_guest() 482 if (atomic) in kvm_xen_update_runstate_guest()
|
| /arch/arm/mm/ |
| A D | cache-v7m.S | 190 save_and_disable_irqs_notrace r9 @ make cssr&csidr read atomic
|
| A D | cache-v7.S | 142 save_and_disable_irqs_notrace r9 @ make cssr&csidr read atomic
|
| /arch/csky/ |
| A D | Kconfig | 134 For SMP, CPU needs "ldex&stex" instructions for atomic operations.
|
| /arch/riscv/ |
| A D | Kconfig | 532 guarantee of cmpxchg()/xchg() atomic operations: CAS with Zabha or 698 bool "Zabha extension support for atomic byte/halfword operations" 704 byte/halfword atomic memory operations when it is detected at boot. 716 bool "Zacas extension support for atomic CAS" 721 Enable the use of the Zacas ISA-extension to implement kernel atomic
|
| /arch/xtensa/ |
| A D | Kconfig | 278 bool "Enable fast atomic syscalls" 281 fast_syscall_xtensa is a syscall that can make atomic operations
|
| /arch/sparc/ |
| A D | Kconfig | 202 is emulated, and therefore it is not completely atomic.
|
| /arch/arc/ |
| A D | Kconfig | 339 bool "Insn: LLOCK/SCOND (efficient atomic ops)"
|
| /arch/arm64/ |
| A D | Kconfig | 1921 atomic instructions that are designed specifically to scale in 1925 atomic routines. This incurs a small overhead on CPUs that do
|
| /arch/ |
| A D | Kconfig | 555 e.g. the SLUB allocator can perform double word atomic operations
|