|
Zephyr Project API 4.4.99
A Scalable Open Source RTOS
|
Opaque iterator state for zms_iter_next and zms_iter_next_all. More...
#include <zms.h>
Data Fields | |
| uint64_t | walk_addr |
| Current walk address in the ATE ring. | |
| uint64_t | end_addr |
| Snapshot of ate_wra taken at iterator initialization time. | |
| zms_id_t | mask_id |
| ID mask used to filter returned entries. | |
| zms_id_t | min_id |
| Inclusive minimum ID accepted by the iterator. | |
| zms_id_t | max_id |
| Inclusive maximum ID accepted by the iterator. | |
| zms_iter_predicate_t | predicate_func |
| Optional callback used to filter IDs. | |
| bool | exhausted |
| True once the walk has completed the full ring. | |
| int | previous_sector_num |
| Sector of the last ATE seen, cached to avoid re-reading the cycle below every step. | |
| uint8_t | current_cycle |
| Cycle count of the sector identified by previous_sector_num. | |
Opaque iterator state for zms_iter_next and zms_iter_next_all.
Must be initialised with zms_iter_init or zms_iter_init_with_config before use. Do not access fields directly.
| uint8_t zms_iter::current_cycle |
Cycle count of the sector identified by previous_sector_num.
| uint64_t zms_iter::end_addr |
Snapshot of ate_wra taken at iterator initialization time.
| bool zms_iter::exhausted |
True once the walk has completed the full ring.
| zms_id_t zms_iter::mask_id |
ID mask used to filter returned entries.
| zms_id_t zms_iter::max_id |
Inclusive maximum ID accepted by the iterator.
| zms_id_t zms_iter::min_id |
Inclusive minimum ID accepted by the iterator.
| zms_iter_predicate_t zms_iter::predicate_func |
Optional callback used to filter IDs.
| int zms_iter::previous_sector_num |
Sector of the last ATE seen, cached to avoid re-reading the cycle below every step.
| uint64_t zms_iter::walk_addr |
Current walk address in the ATE ring.