Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/include/zephyr/stats/
Dstats.h66 struct stats_hdr { struct
75 struct stats_hdr *s_next; argument
103 struct stats_hdr s_hdr;
189 ((sizeof(group__)) - sizeof(struct stats_hdr)) / (size__)
209 (sizeof(group__) - sizeof(struct stats_hdr)) / (size__), \
230 void stats_init(struct stats_hdr *shdr, uint8_t size, uint16_t cnt,
245 int stats_register(const char *name, struct stats_hdr *shdr);
271 int stats_init_and_reg(struct stats_hdr *hdr, uint8_t size, uint16_t cnt,
280 void stats_reset(struct stats_hdr *shdr);
294 typedef int stats_walk_fn(struct stats_hdr *hdr, void *arg,
[all …]
/Zephyr-Core-3.7.0/subsys/stats/
Dstats.c16 static struct stats_hdr *stats_list;
19 stats_get_name(const struct stats_hdr *hdr, int idx) in stats_get_name()
44 stats_get_off(const struct stats_hdr *hdr, int idx) in stats_get_off()
96 stats_walk(struct stats_hdr *hdr, stats_walk_fn *walk_func, void *arg) in stats_walk()
133 stats_init(struct stats_hdr *hdr, uint8_t size, uint16_t cnt, in stats_init()
161 struct stats_hdr *hdr; in stats_group_walk()
174 struct stats_hdr *
175 stats_group_get_next(const struct stats_hdr *cur) in stats_group_get_next()
193 struct stats_hdr *
196 struct stats_hdr *hdr; in stats_group_find()
[all …]
Dstats_shell.c10 static int stats_cb(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off) in stats_cb()
32 static int stats_group_cb(struct stats_hdr *hdr, void *arg) in stats_group_cb()
/Zephyr-Core-3.7.0/subsys/mgmt/mcumgr/grp/stat_mgmt/src/
Dstat_mgmt.c31 stats_mgmt_count_plus_one(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off) in stats_mgmt_count_plus_one()
43 struct stats_hdr *hdr = stats_group_find(group_name); in stat_mgmt_count()
55 stat_mgmt_walk_cb(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off);
63 stat_mgmt_walk_cb(struct stats_hdr *hdr, void *arg, const char *name, uint16_t off) in stat_mgmt_walk_cb()
95 struct stats_hdr *hdr; in stat_mgmt_foreach_entry()
191 const struct stats_hdr *cur = NULL; in stat_mgmt_list()
/Zephyr-Core-3.7.0/tests/subsys/fs/nvs/src/
Dmain.c42 struct stats_hdr *sim_stats;
43 struct stats_hdr *sim_thresholds;
145 static int flash_sim_write_calls_find(struct stats_hdr *hdr, void *arg, in flash_sim_write_calls_find()
156 static int flash_sim_max_write_calls_find(struct stats_hdr *hdr, void *arg, in flash_sim_max_write_calls_find()
430 static int flash_sim_erase_calls_find(struct stats_hdr *hdr, void *arg, in flash_sim_erase_calls_find()
441 static int flash_sim_max_erase_calls_find(struct stats_hdr *hdr, void *arg, in flash_sim_max_erase_calls_find()
452 static int flash_sim_max_len_find(struct stats_hdr *hdr, void *arg, in flash_sim_max_len_find()