Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/zbus/
Dzbus_iterable_sections.c31 bool zbus_iterate_over_observers(bool (*iterator_func)(const struct zbus_observer *obs)) in zbus_iterate_over_observers()
33 STRUCT_SECTION_FOREACH(zbus_observer, obs) { in zbus_iterate_over_observers()
42 bool (*iterator_func)(const struct zbus_observer *obs, void *user_data), void *user_data) in zbus_iterate_over_observers_with_user_data()
44 STRUCT_SECTION_FOREACH(zbus_observer, obs) { in zbus_iterate_over_observers_with_user_data()
Dzbus.c126 const struct zbus_observer *obs, k_timepoint_t end_time, in _zbus_notify_observer()
193 const struct zbus_observer *obs = observation->obs; in _zbus_vded_exec()
221 const struct zbus_observer *obs = obs_nd->obs; in _zbus_vded_exec()
258 const struct zbus_observer *obs = observation->obs; in chan_update_hop()
272 static inline void update_all_channels_hop(const struct zbus_observer *obs) in update_all_channels_hop()
283 int zbus_obs_attach_to_thread(const struct zbus_observer *obs) in zbus_obs_attach_to_thread()
301 int zbus_obs_detach_from_thread(const struct zbus_observer *obs) in zbus_obs_detach_from_thread()
317 static inline void update_all_channels_hop(const struct zbus_observer *obs) in update_all_channels_hop()
488 int zbus_sub_wait(const struct zbus_observer *sub, const struct zbus_channel **chan, in zbus_sub_wait()
502 int zbus_sub_wait_msg(const struct zbus_observer *sub, const struct zbus_channel **chan, void *msg, in zbus_sub_wait_msg()
[all …]
Dzbus_runtime_observers.c11 int zbus_chan_add_obs(const struct zbus_channel *chan, const struct zbus_observer *obs, in zbus_chan_add_obs()
68 int zbus_chan_rm_obs(const struct zbus_channel *chan, const struct zbus_observer *obs, in zbus_chan_rm_obs()
/Zephyr-latest/include/zephyr/zbus/
Dzbus.h148 struct zbus_observer { struct
182 const struct zbus_observer *obs; argument
231 #define _ZBUS_OBS_EXTERN(_name) extern const struct zbus_observer _name
451 _ZBUS_CPP_EXTERN const STRUCT_SECTION_ITERABLE(zbus_observer, _name) = { \
493 _ZBUS_CPP_EXTERN const STRUCT_SECTION_ITERABLE(zbus_observer, _name) = { \
533 _ZBUS_CPP_EXTERN const STRUCT_SECTION_ITERABLE(zbus_observer, _name) = { \
880 int zbus_chan_add_obs(const struct zbus_channel *chan, const struct zbus_observer *obs,
900 int zbus_chan_rm_obs(const struct zbus_channel *chan, const struct zbus_observer *obs,
907 const struct zbus_observer *obs;
927 int zbus_obs_set_enable(const struct zbus_observer *obs, bool enabled);
[all …]
/Zephyr-latest/samples/subsys/zbus/benchmark/src/
Dmsg_sub.c39 struct zbus_observer *msub = msub_ref; in msg_sub_thread()
Dsub.c38 struct zbus_observer *sub = sub_ref; in sub_thread()
/Zephyr-latest/tests/subsys/zbus/hlp_priority_boost/src/
Dmain.c44 const struct zbus_observer *sub = ptr1; in consumer_sub_thread()
71 const struct zbus_observer *msub = ptr1; in consumer_msg_sub_thread()
/Zephyr-latest/tests/subsys/zbus/unittests/src/
Dmain.c237 const STRUCT_SECTION_ITERABLE(zbus_observer, invalid_obs) = {
373 static bool always_true_obs_iterator(const struct zbus_observer *obs) in always_true_obs_iterator()
383 static bool always_false_obs_iterator(const struct zbus_observer *obs) in always_false_obs_iterator()
433 static bool check_obs_iterator(const struct zbus_observer *obs, void *user_data) in check_obs_iterator()
495 static bool count_false_obs_iterator(const struct zbus_observer *obs, void *user_data) in count_false_obs_iterator()
553 STRUCT_SECTION_COUNT(zbus_observer, &obs_count); in ZTEST()
723 const STRUCT_SECTION_ITERABLE(zbus_observer, invalid_sub) = {
/Zephyr-latest/include/zephyr/linker/common-rom/
Dcommon-rom-misc.ld39 ITERABLE_SECTION_ROM(zbus_observer, Z_LINK_ITERABLE_SUBALIGN)
/Zephyr-latest/samples/subsys/zbus/msg_subscriber/src/
Dmain.c89 const struct zbus_observer *subscriber = sub; in msg_subscriber_task()
141 const struct zbus_observer *subscriber = sub; in subscriber_task()
/Zephyr-latest/samples/subsys/zbus/hello_world/src/
Dmain.c125 static bool print_observer_data_iterator(const struct zbus_observer *obs, void *user_data) in print_observer_data_iterator()
/Zephyr-latest/cmake/linker_script/common/
Dcommon-rom.cmake239 …zephyr_iterable_section(NAME zbus_observer KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN ${CONFIG_L…
/Zephyr-latest/doc/services/zbus/
Dindex.rst649 :c:struct:`zbus_observer`.
681 static bool print_observer_data_iterator(const struct zbus_observer *obs, void *user_data)