Home
last modified time | relevance | path

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

/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_common/
Dmesh_timer.c18 static hash_map_t *bm_alarm_hash_map; variable
48 bm_alarm_hash_map = hash_map_new(BLE_MESH_GENERAL_ALARM_HASH_MAP_SIZE, in bt_mesh_timer_init()
51 __ASSERT(bm_alarm_hash_map, "Failed to create hash map"); in bt_mesh_timer_init()
57 if (bm_alarm_hash_map) { in bt_mesh_timer_deinit()
58 hash_map_free(bm_alarm_hash_map); in bt_mesh_timer_deinit()
59 bm_alarm_hash_map = NULL; in bt_mesh_timer_deinit()
68 if (!work || !bm_alarm_hash_map) { in k_delayed_work_init()
76 if (!hash_map_has_key(bm_alarm_hash_map, (void *)work)) { in k_delayed_work_init()
83 if (!hash_map_set(bm_alarm_hash_map, work, (void *)alarm)) { in k_delayed_work_init()
90 alarm = hash_map_get(bm_alarm_hash_map, work); in k_delayed_work_init()
[all …]