Home
last modified time | relevance | path

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

/subsys/zbus/
A DKconfig69 bool "Runtime observers support."
74 prompt "ZBus runtime observers node allocation"
79 bool "Use heap to allocate runtime observers node"
82 bool "Use a pool of runtime observers nodes"
85 bool "Use user-provided runtime observers nodes"
100 ZBus implements the Highest Locker Protocol that relies on the observers’ thread priority
120 message subscribers and runtime observers).
A Dzbus_runtime_observers.c88 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&chan->data->observers, obs_nd, tmp, node) { in _zbus_runtime_take_chan_sem_and_obs_check()
120 sys_slist_append(&chan->data->observers, &node->node); in zbus_chan_add_obs_with_node()
152 sys_slist_append(&chan->data->observers, &new_obs_nd->node); in zbus_chan_add_obs()
176 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&chan->data->observers, obs_nd, tmp, node) { in zbus_chan_rm_obs()
178 sys_slist_remove(&chan->data->observers, in zbus_chan_rm_obs()
A Dzbus.c220 SYS_SLIST_FOR_EACH_CONTAINER_SAFE(&chan->data->observers, obs_nd, tmp, node) { in _zbus_vded_exec()
/subsys/net/lib/coap/
A Dcoap.c1674 struct coap_observer *observers, size_t len) in coap_observer_next_unused() argument
1679 for (i = 0, o = observers; i < len; i++, o++) { in coap_observer_next_unused()
1941 if (sys_slist_is_empty(&resource->observers)) { in coap_resource_notify()
1947 SYS_SLIST_FOR_EACH_CONTAINER(&resource->observers, o, list) { in coap_resource_notify()
1992 sys_slist_append(&resource->observers, &observer->list); in coap_register_observer()
2053 struct coap_observer *observers, size_t len, in coap_find_observer() argument
2062 struct coap_observer *o = &observers[i]; in coap_find_observer()
2075 struct coap_observer *observers, size_t len, in coap_find_observer_by_addr() argument
2081 struct coap_observer *o = &observers[i]; in coap_find_observer_by_addr()
2092 struct coap_observer *observers, size_t len, in coap_find_observer_by_token() argument
[all …]
A Dcoap_server.c94 obs = coap_find_observer(service->data->observers, MAX_OBSERVERS, addr, token, tkl); in coap_service_remove_observer()
97 obs = coap_find_observer_by_token(service->data->observers, MAX_OBSERVERS, token, in coap_service_remove_observer()
100 obs = coap_find_observer_by_addr(service->data->observers, MAX_OBSERVERS, addr); in coap_service_remove_observer()
708 observer = coap_find_observer(service->data->observers, MAX_OBSERVERS, addr, token, in coap_resource_parse_observe()
716 observer = coap_observer_next_unused(service->data->observers, MAX_OBSERVERS); in coap_resource_parse_observe()
A DKconfig215 int "CoAP service observers"
218 Maximum number of CoAP observers per active service.

Completed in 36 milliseconds