Home
last modified time | relevance | path

Searched refs:olddata_val (Results 1 – 2 of 2) sorted by relevance

/hardware/intel/common/libmix/mix_common/src/
Dmixparams.c204 MixParams *olddata_val; in mix_params_replace() local
208 olddata_val = g_atomic_pointer_get ((gpointer *) olddata); in mix_params_replace()
210 if (olddata_val == newdata) in mix_params_replace()
216 while (!g_atomic_pointer_compare_and_exchange ((gpointer *) olddata, olddata_val, newdata)) in mix_params_replace()
218 olddata_val = g_atomic_pointer_get ((gpointer *) olddata); in mix_params_replace()
221 if (olddata_val) in mix_params_replace()
222 mix_params_unref (olddata_val); in mix_params_replace()
/hardware/intel/common/libmix/mix_video/src/
Dmixdisplay.c483 MixDisplay *olddata_val; in mix_display_replace() local
487 olddata_val = g_atomic_pointer_get ((gpointer *) olddata); in mix_display_replace()
489 if (olddata_val == newdata) in mix_display_replace()
496 ((gpointer *) olddata, olddata_val, newdata)) in mix_display_replace()
498 olddata_val = g_atomic_pointer_get ((gpointer *) olddata); in mix_display_replace()
501 if (olddata_val) in mix_display_replace()
502 mix_display_unref (olddata_val); in mix_display_replace()