Home
last modified time | relevance | path

Searched refs:ctrl_blk (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/subsys/shell/
Dshell_fprintf.c23 sh_fprintf->buffer[sh_fprintf->ctrl_blk->buffer_cnt] = (uint8_t)c; in out_func()
24 sh_fprintf->ctrl_blk->buffer_cnt++; in out_func()
26 if (sh_fprintf->ctrl_blk->buffer_cnt == sh_fprintf->buffer_size) { in out_func()
38 if (sh_fprintf->ctrl_blk->autoflush) { in z_shell_fprintf_fmt()
47 sh_fprintf->ctrl_blk->buffer_cnt); in z_shell_fprintf_buffer_flush()
48 sh_fprintf->ctrl_blk->buffer_cnt = 0; in z_shell_fprintf_buffer_flush()
/Zephyr-latest/include/zephyr/shell/
Dshell_fprintf.h34 struct shell_fprintf_control_block *ctrl_blk; member
59 .ctrl_blk = &_name##_shell_fprintf_ctx \
/Zephyr-latest/include/zephyr/logging/
Dlog_link.h65 struct log_link_ctrl_blk *ctrl_blk; member
106 .ctrl_blk = &_name##_ctrl_blk, \
158 return link->ctrl_blk->domain_offset > 0 ? 0 : -EINPROGRESS; in log_link_is_active()
171 return link->ctrl_blk->domain_cnt; in log_link_domains_count()
186 return link->ctrl_blk->source_cnt[domain_id]; in log_link_sources_count()
/Zephyr-latest/subsys/logging/
Dlog_mgmt.c89 domain_max = link->ctrl_blk->domain_offset + in get_link_domain()
90 link->ctrl_blk->domain_cnt; in get_link_domain()
93 *rel_domain_id = domain_id - link->ctrl_blk->domain_offset; in get_link_domain()
131 return &link->ctrl_blk->filters[source_offset + source_id]; in z_log_link_get_dynamic_filter()
137 uint32_t total_cnt = get_source_offset(link, link->ctrl_blk->domain_cnt); in link_filters_init()
139 link->ctrl_blk->filters = k_malloc(sizeof(uint32_t) * total_cnt); in link_filters_init()
140 if (link->ctrl_blk->filters == NULL) { in link_filters_init()
146 memset(link->ctrl_blk->filters, 0, sizeof(uint32_t) * total_cnt); in link_filters_init()
519 for (uint8_t d = link->ctrl_blk->domain_offset; in link_filter_set()
520 d < link->ctrl_blk->domain_offset + link->ctrl_blk->domain_cnt; d++) { in link_filter_set()
[all …]
Dlog_multidomain_link.c194 if (cnt > ARRAY_SIZE(link->ctrl_blk->source_cnt)) { in link_remote_activate()
199 link->ctrl_blk->domain_cnt = cnt; in link_remote_activate()
200 for (int i = 0; i < link->ctrl_blk->domain_cnt; i++) { in link_remote_activate()
206 link->ctrl_blk->source_cnt[i] = cnt; in link_remote_activate()
Dlog_core.c852 log_msg->hdr.desc.domain += link->ctrl_blk->domain_offset; in z_log_msg_enqueue()
/Zephyr-latest/tests/subsys/logging/log_link_order/src/
Dmock_log_link.c11 link->ctrl_blk->domain_cnt = 1; in initiate()
12 link->ctrl_blk->source_cnt[0] = 1; in initiate()
/Zephyr-latest/tests/subsys/logging/log_links/src/
Dmock_log_link.c13 link->ctrl_blk->domain_cnt = mock->domain_cnt; in initiate()
16 link->ctrl_blk->source_cnt[i] = mock->domains[i]->source_cnt; in initiate()