Searched refs:ctrl_blk (Results 1 – 8 of 8) sorted by relevance
23 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()
34 struct shell_fprintf_control_block *ctrl_blk; member59 .ctrl_blk = &_name##_shell_fprintf_ctx \
65 struct log_link_ctrl_blk *ctrl_blk; member106 .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()
89 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 …]
194 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()
852 log_msg->hdr.desc.domain += link->ctrl_blk->domain_offset; in z_log_msg_enqueue()
11 link->ctrl_blk->domain_cnt = 1; in initiate()12 link->ctrl_blk->source_cnt[0] = 1; in initiate()
13 link->ctrl_blk->domain_cnt = mock->domain_cnt; in initiate()16 link->ctrl_blk->source_cnt[i] = mock->domains[i]->source_cnt; in initiate()