Lines Matching full:compare
155 ck_pr_cas_64_value(uint64_t *target, uint64_t compare, uint64_t set, uint64_t *value) in ck_pr_cas_64_value() argument
161 "r" (compare) in ck_pr_cas_64_value()
165 return (compare == set); in ck_pr_cas_64_value()
169 ck_pr_cas_64(uint64_t *target, uint64_t compare, uint64_t set) in ck_pr_cas_64() argument
175 "r" (compare) in ck_pr_cas_64()
178 return (compare == set); in ck_pr_cas_64()
182 ck_pr_cas_ptr(void *target, void *compare, void *set) in ck_pr_cas_ptr() argument
185 return ck_pr_cas_64(target, (uint64_t)compare, (uint64_t)set); in ck_pr_cas_ptr()
189 ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *previous) in ck_pr_cas_ptr_value() argument
192 return ck_pr_cas_64_value(target, (uint64_t)compare, (uint64_t)set, previous); in ck_pr_cas_ptr_value()
197 ck_pr_cas_##N##_value(T *target, T compare, T set, T *value) \
202 "r" (compare) \
205 return (compare == set); \
208 ck_pr_cas_##N(T *target, T compare, T set) \
213 "r" (compare) \
215 return (compare == set); \