Searched refs:loop_node (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/esp_event/ |
D | esp_event.c | 264 static esp_err_t loop_node_add_handler(esp_event_loop_node_t* loop_node, in loop_node_add_handler() argument 273 …return handler_instances_add(&(loop_node->handlers), event_handler, event_handler_arg, handler_ctx… in loop_node_add_handler() 279 SLIST_FOREACH(it, &(loop_node->base_nodes), next) { in loop_node_add_handler() 306 SLIST_INSERT_HEAD(&(loop_node->base_nodes), base_node, next); in loop_node_add_handler() 373 static esp_err_t loop_node_remove_handler(esp_event_loop_node_t* loop_node, esp_event_base_t base, … in loop_node_remove_handler() argument 376 return handler_instances_remove(&(loop_node->handlers), handler_ctx, legacy); in loop_node_remove_handler() 380 SLIST_FOREACH_SAFE(it, &(loop_node->base_nodes), next, temp) { in loop_node_remove_handler() 386 SLIST_REMOVE(&(loop_node->base_nodes), it, esp_event_base_node, next); in loop_node_remove_handler() 420 static void loop_node_remove_all_handler(esp_event_loop_node_t* loop_node) in loop_node_remove_all_handler() argument 422 handler_instances_remove_all(&(loop_node->handlers)); in loop_node_remove_all_handler() [all …]
|
D | esp_event_private.c | 26 esp_event_loop_node_t* loop_node; in esp_event_is_handler_registered() local 31 SLIST_FOREACH(loop_node, &(loop->loop_nodes), next) { in esp_event_is_handler_registered() 32 SLIST_FOREACH(handler, &(loop_node->handlers), next) { in esp_event_is_handler_registered() 40 SLIST_FOREACH(base_node, &(loop_node->base_nodes), next) { in esp_event_is_handler_registered()
|