Lines Matching refs:free_call
356 struct bt_tbs_call *free_call = NULL; in call_alloc() local
360 free_call = &inst->calls[i]; in call_alloc()
365 if (free_call == NULL) { in call_alloc()
369 __ASSERT_NO_MSG(uri_len < sizeof(free_call->remote_uri)); in call_alloc()
371 memset(free_call, 0, sizeof(*free_call)); in call_alloc()
374 free_call->index = next_free_call_index(); in call_alloc()
375 __ASSERT_NO_MSG(free_call->index != BT_TBS_FREE_CALL_INDEX); in call_alloc()
377 free_call->state = state; in call_alloc()
378 (void)memcpy(free_call->remote_uri, uri, uri_len); in call_alloc()
379 free_call->remote_uri[uri_len] = '\0'; in call_alloc()
381 return free_call; in call_alloc()