Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/
Dbt_settings_hook.c34 struct settings_list_node *loop_node; in add_key() local
39 SYS_SLIST_FOR_EACH_CONTAINER(&settings_list, loop_node, node) { in add_key()
40 if (strcmp(loop_node->key, key) == 0) { in add_key()
63 struct settings_list_node *loop_node, *prev_loop_node; in remove_key() local
70 SYS_SLIST_FOR_EACH_CONTAINER(&settings_list, loop_node, node) { in remove_key()
71 if (strcmp(loop_node->key, key) == 0) { in remove_key()
75 prev_loop_node = loop_node; in remove_key()
78 if (loop_node != NULL) { in remove_key()
79 sys_slist_remove(&settings_list, &prev_loop_node->node, &loop_node->node); in remove_key()
81 k_free(loop_node->key); in remove_key()
[all …]