Lines Matching refs:obj_mutex
550 if (exynos_mutex_trylock(gsc_handle->obj_mutex[i]) == true) { in m_exynos_gsc_find_and_trylock_and_create()
560 exynos_mutex_unlock(gsc_handle->obj_mutex[i]); in m_exynos_gsc_find_and_trylock_and_create()
572 gsc_handle->cur_obj_mutex = gsc_handle->obj_mutex[i]; in m_exynos_gsc_find_and_trylock_and_create()
734 gsc_handle->obj_mutex[i] = NULL; in exynos_gsc_create()
756 gsc_handle->obj_mutex[i] = exynos_mutex_create(EXYNOS_MUTEX_TYPE_SHARED, mutex_name); in exynos_gsc_create()
757 if (gsc_handle->obj_mutex[i] == NULL) { in exynos_gsc_create()
781 if ((gsc_handle->obj_mutex[i] != NULL) && in exynos_gsc_create()
782 (exynos_mutex_get_created_status(gsc_handle->obj_mutex[i]) == true)) { in exynos_gsc_create()
783 if (exynos_mutex_destroy(gsc_handle->obj_mutex[i]) == false) in exynos_gsc_create()
915 gsc_handle->obj_mutex[i] = NULL; in exynos_gsc_create_exclusive()
984 if ((gsc_handle->obj_mutex[i] != NULL) && in exynos_gsc_create_exclusive()
985 (exynos_mutex_get_created_status(gsc_handle->obj_mutex[i]) == true)) { in exynos_gsc_create_exclusive()
986 if (exynos_mutex_destroy(gsc_handle->obj_mutex[i]) == false) in exynos_gsc_create_exclusive()
1031 if ((gsc_handle->obj_mutex[i] != NULL) && in exynos_gsc_destroy()
1032 (exynos_mutex_get_created_status(gsc_handle->obj_mutex[i]) == true)) { in exynos_gsc_destroy()
1033 if (exynos_mutex_destroy(gsc_handle->obj_mutex[i]) == false) in exynos_gsc_destroy()