Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 25 of 60) sorted by relevance

123

/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/sysdeps/cris/
A Dpt-machine.h29 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 Dpt-machine.h31 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 Dspinlock.h40 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 Dspinlock.c29 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 Dspinlock.h40 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 Dspinlock.c30 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 Dspinlock.h40 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 Dspinlock.c27 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 Dpt-machine.h35 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 Dpt-machine.h39 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 Dpt-machine.h31 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 Dpt-machine.h30 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 Dpt-machine.h24 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 Dpt-machine.h29 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 Dpt-machine.h28 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 Dpt-machine.h28 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 Dpt-machine.h34 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 Dpt-machine.h36 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 Dpt-machine.h29 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 Dpt-machine.h28 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 Dpt-machine.h28 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 Dpt-machine.h32 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 Dpt-machine.h30 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 Dpt-machine.h15 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 Dpt-machine.h45 testandset (int *spinlock) in testandset() argument
51 : "=r"(ret), "=m"(*spinlock) in testandset()
52 : "r"(spinlock)); in testandset()

Completed in 33 milliseconds

123