/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/cris/ |
A D | pt-machine.h | 29 testandset (int *spinlock) in testandset() argument 44 : "=&r" (ret), "=m" (*spinlock) in testandset() 45 : "r" (spinlock), "r" ((int) 1), "m" (*spinlock) in testandset() 55 : "=&r" (ret), "=m" (*spinlock) in testandset() 56 : "r" (spinlock), "r" ((int) 1), "m" (*spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/i386/ |
A D | pt-machine.h | 31 extern long int testandset (int *spinlock); 46 testandset (int *spinlock) in testandset() argument 52 : "=r" (ret), "=m" (*spinlock) in testandset() 53 : "0" (1), "m" (*spinlock) in testandset() 89 testandset (int *spinlock) in testandset() argument 95 : "=r"(ret), "=m"(*spinlock) in testandset() 96 : "0"(1), "m"(*spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/ |
A D | spinlock.h | 40 int * spinlock); 43 int * spinlock) in compare_and_swap() argument 48 return __pthread_compare_and_swap(ptr, oldval, newval, spinlock); in compare_and_swap() 61 long newval, int * spinlock) in compare_and_swap_with_release_semantics() argument 70 int * spinlock) in compare_and_swap() argument 78 int * spinlock); 81 int * spinlock) in compare_and_swap() argument 83 return __pthread_compare_and_swap(ptr, oldval, newval, spinlock); in compare_and_swap()
|
A D | spinlock.c | 29 static void __pthread_acquire(int * spinlock); 31 static __inline__ void __pthread_release(int * spinlock) in __pthread_release() argument 34 *spinlock = __LT_SPINLOCK_INIT; in __pthread_release() 35 __asm__ __volatile__ ("" : "=m" (*spinlock) : "m" (*spinlock)); in __pthread_release() 665 int * spinlock) in __pthread_compare_and_swap() argument 669 __pthread_acquire(spinlock); in __pthread_compare_and_swap() 677 __pthread_release(spinlock); in __pthread_compare_and_swap() 702 static void __pthread_acquire(int * spinlock) in __pthread_acquire() argument 709 while (testandset(spinlock)) { in __pthread_acquire()
|
/l4re-core-master/uclibc/lib/libpthread/src/ |
A D | spinlock.h | 40 int * spinlock); 43 int * spinlock) in compare_and_swap() argument 48 return __pthread_compare_and_swap(ptr, oldval, newval, spinlock); in compare_and_swap() 61 long newval, int * spinlock) 70 int * spinlock) 78 int * spinlock); 81 int * spinlock) 83 return __pthread_compare_and_swap(ptr, oldval, newval, spinlock);
|
A D | spinlock.c | 30 static void __pthread_acquire(int * spinlock); 32 static __inline__ void __pthread_release(int * spinlock) in __pthread_release() argument 35 *spinlock = __LT_SPINLOCK_INIT; in __pthread_release() 36 __asm__ __volatile__ ("" : "=m" (*spinlock) : "m" (*spinlock)); in __pthread_release() 680 int * spinlock) in __pthread_compare_and_swap() argument 684 __pthread_acquire(spinlock); in __pthread_compare_and_swap() 692 __pthread_release(spinlock); in __pthread_compare_and_swap() 717 static void __pthread_acquire(int * spinlock) in __pthread_acquire() argument 723 while (testandset(spinlock)) { in __pthread_acquire()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/ |
A D | spinlock.h | 40 int * spinlock); 43 int * spinlock) in compare_and_swap() argument 48 return __pthread_compare_and_swap(ptr, oldval, newval, spinlock); in compare_and_swap() 61 long newval, int * spinlock) in compare_and_swap_with_release_semantics() argument 70 int * spinlock) in compare_and_swap() argument 78 int * spinlock); 81 int * spinlock) in compare_and_swap() argument 83 return __pthread_compare_and_swap(ptr, oldval, newval, spinlock); in compare_and_swap()
|
A D | spinlock.c | 27 static void __pthread_acquire(int * spinlock); 29 static __inline__ void __pthread_release(int * spinlock) in __pthread_release() argument 32 *spinlock = __LT_SPINLOCK_INIT; in __pthread_release() 33 __asm__ __volatile__ ("" : "=m" (*spinlock) : "m" (*spinlock)); in __pthread_release() 677 int * spinlock) in __pthread_compare_and_swap() argument 681 __pthread_acquire(spinlock); in __pthread_compare_and_swap() 689 __pthread_release(spinlock); in __pthread_compare_and_swap() 714 static void __pthread_acquire(int * spinlock) in __pthread_acquire() argument 721 while (testandset(spinlock)) { in __pthread_acquire()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/arm/ |
A D | pt-machine.h | 35 PT_EI long int testandset (int *spinlock); 36 PT_EI long int testandset (int *spinlock) in testandset() argument 52 : "0"(1), "r"(spinlock)); in testandset() 56 : "0"(1), "r"(spinlock)); in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/bfin/ |
A D | pt-machine.h | 39 testandset (int *spinlock) in testandset() argument 45 : "=q0" (res), "=m" (*spinlock) in testandset() 46 : "qA" (spinlock), "m" (*spinlock), "a" (ATOMIC_XCHG32), "q1" (1) in testandset()
|
/l4re-core-master/uclibc/lib/libpthread/src/sysdeps/i386/i686/ |
A D | pt-machine.h | 31 extern long int testandset (int *spinlock); 41 testandset (int *spinlock) in testandset() argument 47 : "=r" (ret), "=m" (*spinlock) in testandset() 48 : "0" (1), "m" (*spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/i386/i686/ |
A D | pt-machine.h | 30 extern long int testandset (int *spinlock); 40 testandset (int *spinlock) in testandset() argument 46 : "=r" (ret), "=m" (*spinlock) in testandset() 47 : "0" (1), "m" (*spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/microblaze/ |
A D | pt-machine.h | 24 extern long int testandset (int *spinlock); 80 PT_EI long int testandset (int *spinlock) in testandset() argument 92 if (*spinlock) in testandset() 98 *spinlock=1; in testandset()
|
/l4re-core-master/uclibc/lib/libpthread/src/sysdeps/sparc/sparc32/ |
A D | pt-machine.h | 29 extern long int testandset (int *spinlock); 34 testandset (int *spinlock) in testandset() argument 39 : "=r"(ret), "=m"(*spinlock) in testandset() 40 : "m"(*spinlock)); in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/sparc/sparc32/ |
A D | pt-machine.h | 28 extern long int testandset (int *spinlock); 33 testandset (int *spinlock) in testandset() argument 38 : "=r"(ret), "=m"(*spinlock) in testandset() 39 : "m"(*spinlock)); in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/sparc/sparc32/ |
A D | pt-machine.h | 28 extern long int testandset (int *spinlock); 33 testandset (int *spinlock) in testandset() argument 38 : "=r"(ret), "=m"(*spinlock) in testandset() 39 : "m"(*spinlock)); in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/i386/ |
A D | pt-machine.h | 34 extern long int testandset (int *spinlock); 44 testandset (int *spinlock) in testandset() argument 50 : "=r"(ret), "=m"(*spinlock) in testandset() 51 : "0"(1), "m"(*spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/libpthread/src/sysdeps/i386/ |
A D | pt-machine.h | 36 extern long int testandset (int *spinlock); 46 testandset (int *spinlock) in testandset() argument 52 : "=r"(ret), "=m"(*spinlock) in testandset() 53 : "0"(1), "m"(*spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/libpthread/src/sysdeps/sparc/sparc64/ |
A D | pt-machine.h | 29 extern long int testandset (int *spinlock); 34 testandset (int *spinlock) in testandset() argument 39 : "=r" (ret), "=m" (*spinlock) : "m" (*spinlock)); in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/sparc/sparc64/ |
A D | pt-machine.h | 28 extern long int testandset (int *spinlock); 33 testandset (int *spinlock) in testandset() argument 38 : "=r" (ret), "=m" (*spinlock) : "m" (*spinlock)); in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/sparc/sparc64/ |
A D | pt-machine.h | 28 extern long int testandset (int *spinlock); 33 testandset (int *spinlock) in testandset() argument 38 : "=r" (ret), "=m" (*spinlock) : "m" (*spinlock)); in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/h8300/ |
A D | pt-machine.h | 32 testandset (int *spinlock) in testandset() argument 44 :"=r"(ret),"=m"(*spinlock) in testandset() 45 :"g"(spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/cris/ |
A D | pt-machine.h | 30 testandset (int *spinlock) in testandset() argument 43 : "=&r" (ret), "=m" (*spinlock) in testandset() 44 : "r" (spinlock), "r" ((int) 1) in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/arc/ |
A D | pt-machine.h | 15 extern long int testandset (int *spinlock); 19 testandset (int *spinlock) in testandset() argument 27 : "r" (spinlock) in testandset()
|
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads/sysdeps/hppa/ |
A D | pt-machine.h | 45 testandset (int *spinlock) in testandset() argument 51 : "=r"(ret), "=m"(*spinlock) in testandset() 52 : "r"(spinlock)); in testandset()
|