Lines Matching full:compare
212 ck_pr_cas_##N##_value(T *target, T compare, T set, T *value) \
226 : "r" (compare), "r" (set) , \
230 return (*value == compare); \
241 ck_pr_cas_ptr_2_value(void *target, void *compare, void *set, void *value)
243 uint32_t *_compare = CK_CPP_CAST(uint32_t *, compare);
256 ck_pr_cas_##N(T *target, T compare, T set) \
272 : "r" (compare), "r" (set) , \
285 ck_pr_cas_ptr_2(void *target, void *compare, void *set) in CK_PR_DOUBLE_CAS()
287 uint32_t *_compare = CK_CPP_CAST(uint32_t *, compare); in CK_PR_DOUBLE_CAS()
299 ck_pr_cas_ptr_value(void *target, void *compare, void *set, void *value) in ck_pr_cas_ptr_value() argument
313 "r" (compare) in ck_pr_cas_ptr_value()
316 return (previous == compare); in ck_pr_cas_ptr_value()
320 ck_pr_cas_ptr(void *target, void *compare, void *set) in ck_pr_cas_ptr() argument
334 "r" (compare) in ck_pr_cas_ptr()
336 return (previous == compare); in ck_pr_cas_ptr()
341 ck_pr_cas_##N##_value(T *target, T compare, T set, T *value) \
359 "r" (compare) \
362 return (previous == compare); \
365 ck_pr_cas_##N(T *target, T compare, T set) \
379 "r" (compare) \
381 return (previous == compare); \