Home
last modified time | relevance | path

Searched refs:K_FOREVER (Results 1 – 24 of 24) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/port/core/
A Dmbox.c67 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_free()
95 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_post()
102 k_sem_take(&mbox->not_full, K_FOREVER); in k_mbox_post()
103 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_post()
141 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_trypost()
199 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_fetch()
215 k_sem_take(&mbox->not_empty, K_FOREVER); in k_mbox_fetch()
218 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_fetch()
256 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_tryfetch()
A DKconfig55 generated when a buffer cannot immediately be allocated with K_FOREVER
A Dbuf.c49 #define WARN_ALLOC_INTERVAL K_FOREVER
365 if (timeout == K_FOREVER) { in net_buf_alloc_len_debug()
402 if (timeout != K_NO_WAIT && timeout != K_FOREVER) { in net_buf_alloc_len_debug()
703 if (timeout != K_NO_WAIT && timeout != K_FOREVER) { in net_buf_clone()
/AliOS-Things-master/components/ble_host/bt_host/port/core/settings/src/
A Dsettings_store.c58 k_mutex_lock(&settings_lock, K_FOREVER); in settings_load_subtree()
85 k_mutex_lock(&settings_lock, K_FOREVER); in settings_load_subtree_direct()
106 k_mutex_lock(&settings_lock, K_FOREVER); in settings_save_one()
A Dsettings.c55 k_mutex_lock(&settings_lock, K_FOREVER); in settings_register()
/AliOS-Things-master/components/ble_host/bt_host/host/
A Dhci_ecc.c96 buf = bt_buf_get_evt(BT_HCI_EVT_CMD_STATUS, false, K_FOREVER); in send_cmd_status()
145 buf = bt_buf_get_rx(BT_BUF_EVT, K_FOREVER); in emulate_le_p256_public_key_cmd()
196 buf = bt_buf_get_rx(BT_BUF_EVT, K_FOREVER); in emulate_le_generate_dhkey()
226 k_sem_take(&cmd_sem, K_FOREVER); in ecc_thread()
A Dconn_internal.h273 bt_conn_create_pdu_timeout_debug(_pool, _reserve, K_FOREVER, \
280 bt_conn_create_pdu_timeout(_pool, _reserve, K_FOREVER)
294 bt_conn_create_frag_timeout_debug(_reserve, K_FOREVER, \
301 bt_conn_create_frag_timeout(_reserve, K_FOREVER)
A Dl2cap_internal.h308 bt_l2cap_create_pdu_timeout(_pool, _reserve, K_FOREVER)
A Drfcomm.c514 k_sem_take(&dlc->tx_credits, K_FOREVER); in rfcomm_check_fc()
520 k_sem_take(&dlc->session->fc, K_FOREVER); in rfcomm_check_fc()
534 k_timeout_t timeout = K_FOREVER; in rfcomm_dlc_tx_thread()
A Dhci_api.c261 k_sem_take(&ncmd_sem, K_FOREVER); in send_cmd()
298 buf = net_buf_alloc(&hci_cmd_pool, K_FOREVER); in bt_hci_cmd_create()
1788 err = k_poll(events, ev_count, K_FOREVER); in hci_tx_thread()
A Dconn.c1321 return k_fifo_get(&free_tx, K_FOREVER); in conn_tx_alloc()
1381 k_sem_take(bt_conn_get_pkts(conn), K_FOREVER); in send_frag()
A Dsdp.c1859 buf = net_buf_alloc(session->param->pool, K_FOREVER); in sdp_client_alloc_buf()
A Dhci_core.c298 buf = net_buf_alloc(&hci_cmd_pool, K_FOREVER); in bt_hci_cmd_create()
5837 k_sem_take(&bt_dev.ncmd_sem, K_FOREVER); in send_cmd()
7264 buf = net_buf_get(&bt_dev.rx_queue, K_FOREVER); in hci_rx_thread()
A Dsmp.c5139 err = k_sem_take(&sc_local_pkey_ready, K_FOREVER); in bt_smp_le_oob_generate_sc_data()
/AliOS-Things-master/components/ble_host/bt_host/port/aos/
A Daos_port.c108 if (timeout == K_FOREVER) { in k_queue_get()
159 if (timeout == K_FOREVER) { in k_sem_take()
236 if (timeout == K_FOREVER) { in k_mutex_lock()
A Devent_scheduler.c22 delayed_ms = K_FOREVER; in scheduler_loop()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dadv.c234 buf = net_buf_get(&adv_queue, K_FOREVER); in adv_thread()
693 k_mutex_lock(&adv_scan_schd.mutex, K_FOREVER);
717 k_mutex_lock(&adv_scan_schd.mutex, K_FOREVER);
840 k_mutex_lock(&adv_scan_schd.mutex, K_FOREVER);
864 k_mutex_lock(&adv_scan_schd.mutex, K_FOREVER);
A Dproxy.c1211 bt_s32_t remaining = K_FOREVER; in gatt_proxy_advertise()
1322 return K_FOREVER; in bt_mesh_proxy_adv_start()
1369 return K_FOREVER; in bt_mesh_proxy_adv_start()
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_provisioner/
A Dmesh_provisioner.c42 #define K_FOREVER -1 macro
128 k_sem_take(&prov_input_sem, K_FOREVER); in provisioner_input_num()
148 k_sem_take(&prov_input_sem, K_FOREVER); in provisioner_input_static_oob()
/AliOS-Things-master/hardware/chip/rtl872xd/hci_driver/
A Dhci_driver.c285 ret = k_sem_take(&tx.send_sem, K_FOREVER); in h4_send()
331 ret = k_sem_take(&hci_if_open_sem, K_FOREVER); in h4_open()
/AliOS-Things-master/components/ble_host/include/
A Dble_os_port.h44 #define K_FOREVER -1 macro
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/
A Dshell.c559 k_sem_take(&prov_input_sem, K_FOREVER); in provisioner_input_num()
2626 if (timeout == K_FOREVER) { in cmd_timeout()
2638 timeout = K_FOREVER; in cmd_timeout()
2645 if (timeout == K_FOREVER) { in cmd_timeout()
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/
A Dbt.c1505 return net_buf_alloc(&data_rx_pool, K_FOREVER); in l2cap_alloc_buf()
1684 buf = net_buf_alloc(&data_tx_pool, K_FOREVER); in cmd_l2cap_send()
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/
A Dbt.c2531 return net_buf_alloc(&data_rx_pool, K_FOREVER); in l2cap_alloc_buf()
2709 buf = net_buf_alloc(&data_tx_pool, K_FOREVER); in cmd_l2cap_send()
2772 return net_buf_alloc(&data_bredr_pool, K_FOREVER); in l2cap_bredr_alloc_buf()

Completed in 69 milliseconds