Searched refs:shm_mutex (Results 1 – 2 of 2) sorted by relevance
45 mutex_init(&ctxdata->shm_mutex); in amdtee_open()88 mutex_destroy(&ctxdata->shm_mutex); in amdtee_release()159 mutex_lock(&ctxdata->shm_mutex); in get_buffer_id()165 mutex_unlock(&ctxdata->shm_mutex); in get_buffer_id()374 mutex_lock(&ctxdata->shm_mutex); in amdtee_map_shmem()376 mutex_unlock(&ctxdata->shm_mutex); in amdtee_map_shmem()397 mutex_lock(&ctxdata->shm_mutex); in amdtee_unmap_shmem()404 mutex_unlock(&ctxdata->shm_mutex); in amdtee_unmap_shmem()
74 struct mutex shm_mutex; /* synchronizes access to @shm_list */ member