Lines Matching full:info
22 static bool slab_pool_found_already(struct ctx_info *info, in slab_pool_found_already() argument
30 if (info->tx_slabs[i] == slab) { in slab_pool_found_already()
34 if (info->data_pools[i] == pool) { in slab_pool_found_already()
49 struct ctx_info *info = data->user_data; in context_info() local
60 if (slab_pool_found_already(info, slab, NULL)) { in context_info()
66 slab, slab->info.num_blocks, k_mem_slab_num_free_get(slab)); in context_info()
68 PR("%p\t%d\tETX\n", slab, slab->info.num_blocks); in context_info()
70 info->are_external_pools = true; in context_info()
71 info->tx_slabs[info->pos] = slab; in context_info()
77 if (slab_pool_found_already(info, NULL, pool)) { in context_info()
87 info->are_external_pools = true; in context_info()
88 info->data_pools[info->pos] = pool; in context_info()
91 info->pos++; in context_info()
120 rx, rx->info.num_blocks, k_mem_slab_num_free_get(rx)); in cmd_net_mem()
123 tx, tx->info.num_blocks, k_mem_slab_num_free_get(tx)); in cmd_net_mem()
133 PR("%p\t%d\tRX\n", rx, rx->info.num_blocks); in cmd_net_mem()
134 PR("%p\t%d\tTX\n", tx, tx->info.num_blocks); in cmd_net_mem()
143 struct ctx_info info; in cmd_net_mem() local
145 (void)memset(&info, 0, sizeof(info)); in cmd_net_mem()
148 user_data.user_data = &info; in cmd_net_mem()
152 if (!info.are_external_pools) { in cmd_net_mem()