Searched refs:jsctx_mutex (Results 1 – 17 of 17) sorted by relevance
55 lockdep_assert_held(&kctx->jctx.sched_info.ctx.jsctx_mutex); in assign_and_activate_kctx_addr_space()130 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()156 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()169 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()173 mutex_lock(&as_js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()184 mutex_unlock(&as_js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()193 mutex_unlock(&as_js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()195 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()204 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()
892 mutex_lock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbase_jm_wait_for_zero_jobs()893 mutex_unlock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbase_jm_wait_for_zero_jobs()
52 lockdep_assert_held(&kctx->jctx.sched_info.ctx.jsctx_mutex); in assign_and_activate_kctx_addr_space()125 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()152 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()165 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()169 mutex_lock(&as_js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()180 mutex_unlock(&as_js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()189 mutex_unlock(&as_js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()191 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()200 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_backend_find_and_release_free_address_space()
851 mutex_lock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbase_jm_wait_for_zero_jobs()852 mutex_unlock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbase_jm_wait_for_zero_jobs()
585 mutex_init(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_kctx_init()618 mutex_lock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbasep_js_kctx_term()630 mutex_unlock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbasep_js_kctx_term()1084 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_add_job()1165 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_add_job()1307 lockdep_assert_held(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbasep_js_run_jobs_after_ctx_and_atom_release()1555 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_and_katom_retained_state()1569 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_and_katom_retained_state()1605 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_no_schedule()1617 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_no_schedule()[all …]
53 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_runpool_retain_attr()99 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_runpool_release_attr()140 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_ctx_retain_attr()176 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_ctx_release_attr()
327 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_context_set_create_flags()338 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_context_set_create_flags()
811 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbase_js_runpool_inc_context_count()844 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbase_js_runpool_dec_context_count()
299 struct mutex jsctx_mutex; /**< Job Scheduler Context lock */ member
1489 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_jd_done_worker()1501 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_jd_done_worker()1532 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_jd_done_worker()1664 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in jd_cancel_worker()1666 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in jd_cancel_worker()
663 mutex_init(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_kctx_init()698 mutex_lock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbasep_js_kctx_term()712 mutex_unlock(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbasep_js_kctx_term()1518 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_add_job()1634 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_add_job()1732 lockdep_assert_held(&kctx->jctx.sched_info.ctx.jsctx_mutex); in kbasep_js_run_jobs_after_ctx_and_atom_release()1985 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_and_katom_retained_state()1999 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_and_katom_retained_state()2036 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_no_schedule()2048 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_runpool_release_ctx_no_schedule()[all …]
60 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_runpool_retain_attr()110 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_runpool_release_attr()155 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_ctx_retain_attr()195 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbasep_js_ctx_attr_ctx_release_attr()
1269 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_jd_done_worker()1282 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_jd_done_worker()1315 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_jd_done_worker()1453 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in jd_cancel_worker()1455 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in jd_cancel_worker()
745 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_api_set_flags()754 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_api_set_flags()
97 mutex_lock(&js_kctx_info->ctx.jsctx_mutex); in kbase_context_submit_check()105 mutex_unlock(&js_kctx_info->ctx.jsctx_mutex); in kbase_context_submit_check()
873 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbase_js_runpool_inc_context_count()906 lockdep_assert_held(&js_kctx_info->ctx.jsctx_mutex); in kbase_js_runpool_dec_context_count()
376 struct mutex jsctx_mutex; member