Lines Matching refs:sem
40 #define IA64_FETCHADD(tmp,v,n,sz,sem) \ argument
44 tmp = ia64_fetchadd4_##sem((unsigned int *) v, n); \
48 tmp = ia64_fetchadd8_##sem((unsigned long *) v, n); \
56 #define ia64_fetchadd(i,v,sem) \ argument
62 IA64_FETCHADD(_tmp, _v, -16, sizeof(*(v)), sem); \
64 IA64_FETCHADD(_tmp, _v, -8, sizeof(*(v)), sem); \
66 IA64_FETCHADD(_tmp, _v, -4, sizeof(*(v)), sem); \
68 IA64_FETCHADD(_tmp, _v, -1, sizeof(*(v)), sem); \
70 IA64_FETCHADD(_tmp, _v, 1, sizeof(*(v)), sem); \
72 IA64_FETCHADD(_tmp, _v, 4, sizeof(*(v)), sem); \
74 IA64_FETCHADD(_tmp, _v, 8, sizeof(*(v)), sem); \
76 IA64_FETCHADD(_tmp, _v, 16, sizeof(*(v)), sem); \