Lines Matching refs:cmp
362 atomic_cas_8(volatile uint8_t *target, uint8_t cmp, uint8_t new)
365 if (old == cmp)
371 atomic_cas_uchar(volatile uchar_t *target, uchar_t cmp, uchar_t new)
374 if (old == cmp)
380 atomic_cas_16(volatile uint16_t *target, uint16_t cmp, uint16_t new)
383 if (old == cmp)
389 atomic_cas_ushort(volatile ushort_t *target, ushort_t cmp, ushort_t new)
392 if (old == cmp)
398 atomic_cas_32(volatile uint32_t *target, uint32_t cmp, uint32_t new)
401 if (old == cmp)
407 atomic_cas_uint(volatile uint_t *target, uint_t cmp, uint_t new)
410 if (old == cmp)
416 atomic_cas_ulong(volatile ulong_t *target, ulong_t cmp, ulong_t new)
419 if (old == cmp)
425 atomic_cas_64(volatile uint64_t *target, uint64_t cmp, uint64_t new)
428 if (old == cmp)
434 atomic_cas_ptr(volatile void *target, void *cmp, void *new)
437 if (old == cmp)