Lines Matching refs:modem_stats_buffer
21 static struct modem_stats_buffer *stats_buffer_from_node(sys_snode_t *node) in stats_buffer_from_node()
23 return (struct modem_stats_buffer *)node; in stats_buffer_from_node()
26 static void stats_buffer_list_append(struct modem_stats_buffer *buffer) in stats_buffer_list_append()
33 static struct modem_stats_buffer *stats_buffer_list_first(void) in stats_buffer_list_first()
35 struct modem_stats_buffer *first = NULL; in stats_buffer_list_first()
44 static struct modem_stats_buffer *stats_buffer_list_next(struct modem_stats_buffer *buffer) in stats_buffer_list_next()
46 struct modem_stats_buffer *next = NULL; in stats_buffer_list_next()
74 static void stats_buffer_get_and_clear_max_used(struct modem_stats_buffer *buffer, in stats_buffer_get_and_clear_max_used()
83 static bool stats_buffer_length_is_valid(const struct modem_stats_buffer *buffer, uint32_t length) in stats_buffer_length_is_valid()
88 static void stats_buffer_log_invalid_length(const struct modem_stats_buffer *buffer, in stats_buffer_log_invalid_length()
94 static void stats_buffer_update_max_used(struct modem_stats_buffer *buffer, uint32_t length) in stats_buffer_update_max_used()
104 const struct modem_stats_buffer *buffer, in stats_buffer_print_to_shell()
113 struct modem_stats_buffer *buffer; in stats_buffer_shell_cmd_handler()
143 static void stats_buffer_set_name(struct modem_stats_buffer *buffer, const char *name) in stats_buffer_set_name()
149 void modem_stats_buffer_init(struct modem_stats_buffer *buffer, in modem_stats_buffer_init()
158 void modem_stats_buffer_advertise_length(struct modem_stats_buffer *buffer, uint32_t length) in modem_stats_buffer_advertise_length()