Lines Matching refs:compare
155 ck_pr_cas_64_value(uint64_t *target, uint64_t compare, uint64_t set, uint64_t *value)
161 "r" (compare)
165 return (compare == set);
169 ck_pr_cas_64(uint64_t *target, uint64_t compare, uint64_t set)
175 "r" (compare)
178 return (compare == set);
182 ck_pr_cas_ptr(void *target, void *compare, void *set)
185 return ck_pr_cas_64(target, (uint64_t)compare, (uint64_t)set);
189 ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *previous)
192 return ck_pr_cas_64_value(target, (uint64_t)compare, (uint64_t)set, previous);
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); \