Home
last modified time | relevance | path

Searched refs:ret (Results 1 – 25 of 33) sorted by relevance

12

/libpthread/linuxthreads/sysdeps/arm/
A Dpt-machine.h36 unsigned int ret, tmp, val = 1; in testandset() local
43 : "=&r" (ret), "=&r" (tmp) in testandset()
46 return ret; in testandset()
59 register unsigned int ret; in testandset() local
70 : "=r"(ret), "=r"(pc) in testandset()
72 return ret; in testandset()
80 register unsigned int ret; in testandset() local
82 : "=r"(ret) in testandset()
84 return ret; in testandset()
/libpthread/linuxthreads/sysdeps/i386/
A Dpt-machine.h48 long int ret; in testandset() local
52 : "=r" (ret), "=m" (*spinlock) in testandset()
56 return ret; in testandset()
65 char ret; in __compare_and_swap() local
69 : "=q" (ret), "=m" (*p), "=a" (readval) in __compare_and_swap()
72 return ret; in __compare_and_swap()
91 long int ret; in testandset() local
95 : "=r"(ret), "=m"(*spinlock) in testandset()
99 return ret; in testandset()
113 char ret; in __compare_and_swap() local
[all …]
/libpthread/linuxthreads/sysdeps/m68k/
A Dpt-machine.h34 char ret; in testandset() local
42 : "=&dm"(ret), "=m"(*spinlock) in testandset()
46 return ret; in testandset()
63 char ret; in __compare_and_swap() local
67 : "=dm" (ret), "=m" (*p), "=d" (readval) in __compare_and_swap()
70 return ret; in __compare_and_swap()
/libpthread/linuxthreads/sysdeps/x86_64/
A Dpt-machine.h48 long int ret; in testandset() local
52 : "=r"(ret), "=m"(*__spinlock) in testandset()
56 return ret; in testandset()
66 char ret; in __compare_and_swap() local
70 : "=q" (ret), "=m" (*__p), "=a" (readval) in __compare_and_swap()
73 return ret; in __compare_and_swap()
/libpthread/linuxthreads/sysdeps/nios2/
A Dpt-machine.h34 long int ret=-2; in testandset() local
44 : "=&r"(scratch), "=r"(ret) in testandset()
45 : "1"(ret), "r"(1), "r"(spinlock) in testandset()
48 return ret; in testandset()
/libpthread/linuxthreads/sysdeps/powerpc/
A Dpt-machine.h61 int ret; in __compare_and_swap() local
70 : "=&r"(ret) in __compare_and_swap()
78 return ret == 0; in __compare_and_swap()
85 int ret; in __compare_and_swap_with_release_semantics() local
95 : "=&r"(ret) in __compare_and_swap_with_release_semantics()
98 return ret == 0; in __compare_and_swap_with_release_semantics()
/libpthread/linuxthreads/sysdeps/cris/
A Dpt-machine.h31 register unsigned long int ret; in testandset() local
44 : "=&r" (ret), "=m" (*spinlock) in testandset()
55 : "=&r" (ret), "=m" (*spinlock) in testandset()
59 return ret; in testandset()
/libpthread/nptl/
A Dpthread_getattr_np.c39 int ret = 0; in pthread_getattr_np() local
78 ret = errno; in pthread_getattr_np()
83 ret = errno; in pthread_getattr_np()
91 ret = ENOENT; in pthread_getattr_np()
119 ret = 0; in pthread_getattr_np()
134 if (ret == 0) in pthread_getattr_np()
146 ret = ENOMEM; in pthread_getattr_np()
156 if (ret == 0) in pthread_getattr_np()
164 if (ret == ENOSYS) in pthread_getattr_np()
167 ret = 0; in pthread_getattr_np()
[all …]
A Dsem_unlink.c62 int ret = unlink (fname); in sem_unlink() local
63 if (ret < 0 && errno == EPERM) in sem_unlink()
65 return ret; in sem_unlink()
A Dpthread_mutex_init.c66 int ret = INTERNAL_SYSCALL (futex_time64, err, 4, &lock, FUTEX_UNLOCK_PI, in __pthread_mutex_init() local
69 int ret = INTERNAL_SYSCALL (futex, err, 4, &lock, FUTEX_UNLOCK_PI, in __pthread_mutex_init() local
72 assert (INTERNAL_SYSCALL_ERROR_P (ret, err)); in __pthread_mutex_init()
73 tpi_supported = INTERNAL_SYSCALL_ERRNO (ret, err) == ENOSYS ? -1 : 1; in __pthread_mutex_init()
A Dpthread_mutex_setprioceiling.c99 int ret = __pthread_tpp_change_priority (oldprio, prioceiling); local
100 if (ret)
101 return ret;
/libpthread/linuxthreads/sysdeps/alpha/
A Dpt-machine.h53 long int ret, temp; in testandset() local
65 : "=&r"(ret), "=&r"(temp), "=m"(*spinlock) in testandset()
69 return ret; in testandset()
100 long int ret; in __compare_and_swap() local
113 : "=&r"(ret), "=m"(*p) in __compare_and_swap()
117 return ret; in __compare_and_swap()
/libpthread/linuxthreads/sysdeps/h8300/
A Dpt-machine.h34 char ret; in testandset() local
44 :"=r"(ret),"=m"(*spinlock) in testandset()
48 return ret; in testandset()
/libpthread/linuxthreads/sysdeps/or1k/
A Dpt-machine.h49 unsigned long ret; in stack_pointer() local
50 __asm__ __volatile__ ("l.ori %0, r1, 0" : "=r" (ret)); in stack_pointer()
51 return (char *)ret; in stack_pointer()
/libpthread/linuxthreads/sysdeps/hppa/
A Dpt-machine.h47 int ret; in testandset() local
51 : "=r"(ret), "=m"(*spinlock) in testandset()
54 return ret == 0; in testandset()
/libpthread/linuxthreads/sysdeps/c6x/
A Dpt-machine.h34 register unsigned int ret = 1; in testandset() local
41 ret = 0; in testandset()
45 return ret; in testandset()
/libpthread/linuxthreads/sysdeps/riscv32/
A Dpt-machine.h17 long int ret, temp; in __compare_and_swap() local
30 : "=&r" (ret), "=&r" (temp), "+A" (*p) in __compare_and_swap()
34 return ret; in __compare_and_swap()
/libpthread/linuxthreads/sysdeps/riscv64/
A Dpt-machine.h17 long int ret, temp; in __compare_and_swap() local
30 : "=&r" (ret), "=&r" (temp), "+A" (*p) in __compare_and_swap()
34 return ret; in __compare_and_swap()
/libpthread/linuxthreads/sysdeps/mips/
A Dpt-machine.h82 long int ret, temp; in __compare_and_swap() local
98 : "=&r" (ret), "=&r" (temp), "=m" (*p) in __compare_and_swap()
102 return ret; in __compare_and_swap()
/libpthread/nptl/sysdeps/unix/sysv/linux/
A Draise.c44 int ret = INLINE_SYSCALL (tgkill, 3, pid, tid, sig); in raise() local
48 return ret; in raise()
/libpthread/linuxthreads/sysdeps/sh/
A Dpt-machine.h37 int ret; in testandset() local
42 : "=r" (ret) in testandset()
46 return (ret == 0); in testandset()
/libpthread/linuxthreads/sysdeps/sparc/
A Dpt-machine.h35 int ret; in testandset() local
38 : "=r"(ret), "=m"(*spinlock) in testandset()
41 return ret; in testandset()
/libpthread/linuxthreads/sysdeps/ia64/
A Dpt-machine.h120 long int ret; in testandset() local
124 : "=r"(ret), "=m"(__atomic_fool_gcc (spinlock)) in testandset()
128 return ret; in testandset()
/libpthread/nptl/sysdeps/i386/
A Dpthread_spin_unlock.S26 ret
/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/
A Dlowlevellock.h254 ({ int ret; \
256 : "=a" (ret), "=m" (futex) \
260 ret; })
263 ({ int ret; \
265 : "=a" (ret), "=m" (futex) \
268 ret; })
271 ({ int ret; \
273 : "=a" (ret), "=m" (futex) \
277 ret; })

Completed in 31 milliseconds

12