Lines Matching refs:wr_mtx
560 k_mutex_unlock(&sh->ctx->wr_mtx); in exec_cmd()
564 k_mutex_lock(&sh->ctx->wr_mtx, K_FOREVER); in exec_cmd()
1218 k_mutex_init(&sh->ctx->wr_mtx); in instance_init()
1353 k_mutex_lock(&sh->ctx->wr_mtx, K_FOREVER); in shell_thread()
1356 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_thread()
1360 k_mutex_lock(&sh->ctx->wr_mtx, K_FOREVER); in shell_thread()
1373 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_thread()
1444 k_mutex_lock(&sh->ctx->wr_mtx, K_FOREVER); in shell_start()
1464 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_start()
1546 k_mutex_lock(&sh->ctx->wr_mtx, K_FOREVER); in shell_vfprintf()
1555 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_vfprintf()
1683 if (k_mutex_lock(&sh->ctx->wr_mtx, K_MSEC(mtx_timeout_ms))) { in shell_prompt_change()
1688 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_prompt_change()
1696 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_prompt_change()
1706 k_mutex_lock(&sh->ctx->wr_mtx, K_FOREVER); in shell_help()
1708 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_help()
1739 k_mutex_lock(&sh->ctx->wr_mtx, K_FOREVER); in shell_execute_cmd()
1741 k_mutex_unlock(&sh->ctx->wr_mtx); in shell_execute_cmd()