Lines Matching full:address
36 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_relaxed_uint32_t() argument
38 return __c11_atomic_load(address, __ATOMIC_RELAXED); in pthreadpool_load_relaxed_uint32_t()
42 pthreadpool_atomic_size_t* address) in pthreadpool_load_relaxed_size_t() argument
44 return __c11_atomic_load(address, __ATOMIC_RELAXED); in pthreadpool_load_relaxed_size_t()
48 pthreadpool_atomic_void_p* address) in pthreadpool_load_relaxed_void_p() argument
50 return __c11_atomic_load(address, __ATOMIC_RELAXED); in pthreadpool_load_relaxed_void_p()
54 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_acquire_uint32_t() argument
56 return __c11_atomic_load(address, __ATOMIC_ACQUIRE); in pthreadpool_load_acquire_uint32_t()
60 pthreadpool_atomic_size_t* address) in pthreadpool_load_acquire_size_t() argument
62 return __c11_atomic_load(address, __ATOMIC_ACQUIRE); in pthreadpool_load_acquire_size_t()
66 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_relaxed_uint32_t() argument
69 __c11_atomic_store(address, value, __ATOMIC_RELAXED); in pthreadpool_store_relaxed_uint32_t()
73 pthreadpool_atomic_size_t* address, in pthreadpool_store_relaxed_size_t() argument
76 __c11_atomic_store(address, value, __ATOMIC_RELAXED); in pthreadpool_store_relaxed_size_t()
80 pthreadpool_atomic_void_p* address, in pthreadpool_store_relaxed_void_p() argument
83 __c11_atomic_store(address, value, __ATOMIC_RELAXED); in pthreadpool_store_relaxed_void_p()
87 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_release_uint32_t() argument
90 __c11_atomic_store(address, value, __ATOMIC_RELEASE); in pthreadpool_store_release_uint32_t()
94 pthreadpool_atomic_size_t* address, in pthreadpool_store_release_size_t() argument
97 __c11_atomic_store(address, value, __ATOMIC_RELEASE); in pthreadpool_store_release_size_t()
101 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_relaxed_size_t() argument
103 return __c11_atomic_fetch_sub(address, 1, __ATOMIC_RELAXED) - 1; in pthreadpool_decrement_fetch_relaxed_size_t()
107 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_release_size_t() argument
109 return __c11_atomic_fetch_sub(address, 1, __ATOMIC_RELEASE) - 1; in pthreadpool_decrement_fetch_release_size_t()
141 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_relaxed_uint32_t() argument
143 return atomic_load_explicit(address, memory_order_relaxed); in pthreadpool_load_relaxed_uint32_t()
147 pthreadpool_atomic_size_t* address) in pthreadpool_load_relaxed_size_t() argument
149 return atomic_load_explicit(address, memory_order_relaxed); in pthreadpool_load_relaxed_size_t()
153 pthreadpool_atomic_void_p* address) in pthreadpool_load_relaxed_void_p() argument
155 return atomic_load_explicit(address, memory_order_relaxed); in pthreadpool_load_relaxed_void_p()
159 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_acquire_uint32_t() argument
161 return atomic_load_explicit(address, memory_order_acquire); in pthreadpool_load_acquire_uint32_t()
165 pthreadpool_atomic_size_t* address) in pthreadpool_load_acquire_size_t() argument
167 return atomic_load_explicit(address, memory_order_acquire); in pthreadpool_load_acquire_size_t()
171 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_relaxed_uint32_t() argument
174 atomic_store_explicit(address, value, memory_order_relaxed); in pthreadpool_store_relaxed_uint32_t()
178 pthreadpool_atomic_size_t* address, in pthreadpool_store_relaxed_size_t() argument
181 atomic_store_explicit(address, value, memory_order_relaxed); in pthreadpool_store_relaxed_size_t()
185 pthreadpool_atomic_void_p* address, in pthreadpool_store_relaxed_void_p() argument
188 atomic_store_explicit(address, value, memory_order_relaxed); in pthreadpool_store_relaxed_void_p()
192 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_release_uint32_t() argument
195 atomic_store_explicit(address, value, memory_order_release); in pthreadpool_store_release_uint32_t()
199 pthreadpool_atomic_size_t* address, in pthreadpool_store_release_size_t() argument
202 atomic_store_explicit(address, value, memory_order_release); in pthreadpool_store_release_size_t()
206 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_relaxed_size_t() argument
208 return atomic_fetch_sub_explicit(address, 1, memory_order_relaxed) - 1; in pthreadpool_decrement_fetch_relaxed_size_t()
212 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_release_size_t() argument
214 return atomic_fetch_sub_explicit(address, 1, memory_order_release) - 1; in pthreadpool_decrement_fetch_release_size_t()
256 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_relaxed_uint32_t() argument
258 return *address; in pthreadpool_load_relaxed_uint32_t()
262 pthreadpool_atomic_size_t* address) in pthreadpool_load_relaxed_size_t() argument
264 return *address; in pthreadpool_load_relaxed_size_t()
268 pthreadpool_atomic_void_p* address) in pthreadpool_load_relaxed_void_p() argument
270 return *address; in pthreadpool_load_relaxed_void_p()
274 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_acquire_uint32_t() argument
276 return *address; in pthreadpool_load_acquire_uint32_t()
280 pthreadpool_atomic_size_t* address) in pthreadpool_load_acquire_size_t() argument
282 return *address; in pthreadpool_load_acquire_size_t()
286 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_relaxed_uint32_t() argument
289 *address = value; in pthreadpool_store_relaxed_uint32_t()
293 pthreadpool_atomic_size_t* address, in pthreadpool_store_relaxed_size_t() argument
296 *address = value; in pthreadpool_store_relaxed_size_t()
300 pthreadpool_atomic_void_p* address, in pthreadpool_store_relaxed_void_p() argument
303 *address = value; in pthreadpool_store_relaxed_void_p()
307 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_release_uint32_t() argument
310 *address = value; in pthreadpool_store_release_uint32_t()
314 pthreadpool_atomic_size_t* address, in pthreadpool_store_release_size_t() argument
317 *address = value; in pthreadpool_store_release_size_t()
321 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_relaxed_size_t() argument
323 return __sync_sub_and_fetch(address, 1); in pthreadpool_decrement_fetch_relaxed_size_t()
327 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_release_size_t() argument
329 return __sync_sub_and_fetch(address, 1); in pthreadpool_decrement_fetch_release_size_t()
360 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_relaxed_uint32_t() argument
362 return *address; in pthreadpool_load_relaxed_uint32_t()
366 pthreadpool_atomic_size_t* address) in pthreadpool_load_relaxed_size_t() argument
368 return *address; in pthreadpool_load_relaxed_size_t()
372 pthreadpool_atomic_void_p* address) in pthreadpool_load_relaxed_void_p() argument
374 return *address; in pthreadpool_load_relaxed_void_p()
378 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_acquire_uint32_t() argument
381 const uint32_t value = *address; in pthreadpool_load_acquire_uint32_t()
387 pthreadpool_atomic_size_t* address) in pthreadpool_load_acquire_size_t() argument
390 const size_t value = *address; in pthreadpool_load_acquire_size_t()
396 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_relaxed_uint32_t() argument
399 *address = value; in pthreadpool_store_relaxed_uint32_t()
403 pthreadpool_atomic_size_t* address, in pthreadpool_store_relaxed_size_t() argument
406 *address = value; in pthreadpool_store_relaxed_size_t()
410 pthreadpool_atomic_void_p* address, in pthreadpool_store_relaxed_void_p() argument
413 *address = value; in pthreadpool_store_relaxed_void_p()
417 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_release_uint32_t() argument
422 *address = value; in pthreadpool_store_release_uint32_t()
426 pthreadpool_atomic_size_t* address, in pthreadpool_store_release_size_t() argument
431 *address = value; in pthreadpool_store_release_size_t()
435 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_relaxed_size_t() argument
437 return (size_t) _InterlockedDecrement64((volatile __int64*) address); in pthreadpool_decrement_fetch_relaxed_size_t()
441 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_release_size_t() argument
443 return (size_t) _InterlockedDecrement64((volatile __int64*) address); in pthreadpool_decrement_fetch_release_size_t()
477 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_relaxed_uint32_t() argument
479 return *address; in pthreadpool_load_relaxed_uint32_t()
483 pthreadpool_atomic_size_t* address) in pthreadpool_load_relaxed_size_t() argument
485 return *address; in pthreadpool_load_relaxed_size_t()
489 pthreadpool_atomic_void_p* address) in pthreadpool_load_relaxed_void_p() argument
491 return *address; in pthreadpool_load_relaxed_void_p()
495 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_acquire_uint32_t() argument
498 const uint32_t value = *address; in pthreadpool_load_acquire_uint32_t()
504 pthreadpool_atomic_size_t* address) in pthreadpool_load_acquire_size_t() argument
507 const size_t value = *address; in pthreadpool_load_acquire_size_t()
513 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_relaxed_uint32_t() argument
516 *address = value; in pthreadpool_store_relaxed_uint32_t()
520 pthreadpool_atomic_size_t* address, in pthreadpool_store_relaxed_size_t() argument
523 *address = value; in pthreadpool_store_relaxed_size_t()
527 pthreadpool_atomic_void_p* address, in pthreadpool_store_relaxed_void_p() argument
530 *address = value; in pthreadpool_store_relaxed_void_p()
534 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_release_uint32_t() argument
539 *address = value; in pthreadpool_store_release_uint32_t()
543 pthreadpool_atomic_size_t* address, in pthreadpool_store_release_size_t() argument
548 *address = value; in pthreadpool_store_release_size_t()
552 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_relaxed_size_t() argument
554 return (size_t) _InterlockedDecrement((volatile long*) address); in pthreadpool_decrement_fetch_relaxed_size_t()
558 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_release_size_t() argument
560 return (size_t) _InterlockedDecrement((volatile long*) address); in pthreadpool_decrement_fetch_release_size_t()
592 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_relaxed_uint32_t() argument
594 return (uint32_t) __iso_volatile_load32((const volatile __int32*) address); in pthreadpool_load_relaxed_uint32_t()
598 pthreadpool_atomic_size_t* address) in pthreadpool_load_relaxed_size_t() argument
600 return (size_t) __iso_volatile_load64((const volatile __int64*) address); in pthreadpool_load_relaxed_size_t()
604 pthreadpool_atomic_void_p* address) in pthreadpool_load_relaxed_void_p() argument
606 return (void*) __iso_volatile_load64((const volatile __int64*) address); in pthreadpool_load_relaxed_void_p()
610 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_acquire_uint32_t() argument
612 return (uint32_t) __ldar32((volatile unsigned __int32*) address); in pthreadpool_load_acquire_uint32_t()
616 pthreadpool_atomic_size_t* address) in pthreadpool_load_acquire_size_t() argument
618 return (size_t) __ldar64((volatile unsigned __int64*) address); in pthreadpool_load_acquire_size_t()
622 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_relaxed_uint32_t() argument
625 __iso_volatile_store32((volatile __int32*) address, (__int32) value); in pthreadpool_store_relaxed_uint32_t()
629 pthreadpool_atomic_size_t* address, in pthreadpool_store_relaxed_size_t() argument
632 __iso_volatile_store64((volatile __int64*) address, (__int64) value); in pthreadpool_store_relaxed_size_t()
636 pthreadpool_atomic_void_p* address, in pthreadpool_store_relaxed_void_p() argument
639 __iso_volatile_store64((volatile __int64*) address, (__int64) value); in pthreadpool_store_relaxed_void_p()
643 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_release_uint32_t() argument
647 __stlr32((unsigned __int32 volatile*) address, (unsigned __int32) value); in pthreadpool_store_release_uint32_t()
651 pthreadpool_atomic_size_t* address, in pthreadpool_store_release_size_t() argument
655 __stlr64((unsigned __int64 volatile*) address, (unsigned __int64) value); in pthreadpool_store_release_size_t()
659 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_relaxed_size_t() argument
661 return (size_t) _InterlockedDecrement64_nf((volatile __int64*) address); in pthreadpool_decrement_fetch_relaxed_size_t()
665 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_release_size_t() argument
667 return (size_t) _InterlockedDecrement64_rel((volatile __int64*) address); in pthreadpool_decrement_fetch_release_size_t()
701 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_relaxed_uint32_t() argument
703 return (uint32_t) __iso_volatile_load32((const volatile __int32*) address); in pthreadpool_load_relaxed_uint32_t()
707 pthreadpool_atomic_size_t* address) in pthreadpool_load_relaxed_size_t() argument
709 return (size_t) __iso_volatile_load32((const volatile __int32*) address); in pthreadpool_load_relaxed_size_t()
713 pthreadpool_atomic_void_p* address) in pthreadpool_load_relaxed_void_p() argument
715 return (void*) __iso_volatile_load32((const volatile __int32*) address); in pthreadpool_load_relaxed_void_p()
719 pthreadpool_atomic_uint32_t* address) in pthreadpool_load_acquire_uint32_t() argument
721 const uint32_t value = (uint32_t) __iso_volatile_load32((const volatile __int32*) address); in pthreadpool_load_acquire_uint32_t()
728 pthreadpool_atomic_size_t* address) in pthreadpool_load_acquire_size_t() argument
730 const size_t value = (size_t) __iso_volatile_load32((const volatile __int32*) address); in pthreadpool_load_acquire_size_t()
737 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_relaxed_uint32_t() argument
740 __iso_volatile_store32((volatile __int32*) address, (__int32) value); in pthreadpool_store_relaxed_uint32_t()
744 pthreadpool_atomic_size_t* address, in pthreadpool_store_relaxed_size_t() argument
747 __iso_volatile_store32((volatile __int32*) address, (__int32) value); in pthreadpool_store_relaxed_size_t()
751 pthreadpool_atomic_void_p* address, in pthreadpool_store_relaxed_void_p() argument
754 __iso_volatile_store32((volatile __int32*) address, (__int32) value); in pthreadpool_store_relaxed_void_p()
758 pthreadpool_atomic_uint32_t* address, in pthreadpool_store_release_uint32_t() argument
763 __iso_volatile_store32((volatile __int32*) address, (__int32) value); in pthreadpool_store_release_uint32_t()
767 pthreadpool_atomic_size_t* address, in pthreadpool_store_release_size_t() argument
772 __iso_volatile_store32((volatile __int32*) address, (__int32) value); in pthreadpool_store_release_size_t()
776 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_relaxed_size_t() argument
778 return (size_t) _InterlockedDecrement_nf((volatile long*) address); in pthreadpool_decrement_fetch_relaxed_size_t()
782 pthreadpool_atomic_size_t* address) in pthreadpool_decrement_fetch_release_size_t() argument
784 return (size_t) _InterlockedDecrement_rel((volatile long*) address); in pthreadpool_decrement_fetch_release_size_t()