Lines Matching refs:num_domains
204 node->num_domains = 0; in xenstat_get_node()
209 node->num_domains, in xenstat_get_node()
216 (node->num_domains + new_domains) in xenstat_get_node()
223 domain = node->domains + node->num_domains; in xenstat_get_node()
266 node->num_domains++; in xenstat_get_node()
296 for (i = 0; i < node->num_domains; i++) in xenstat_free_node()
315 for (i = 0; i < node->num_domains; i++) { in xenstat_node_domain()
325 if (index < node->num_domains) in xenstat_node_domain_by_index()
352 return node->num_domains; in xenstat_node_num_domains()
489 for (i = 0; i < node->num_domains; i+=inc_index) { in xenstat_collect_vcpus()
530 for (i = 0; i < node->num_domains; i++) in xenstat_free_vcpus()
559 for (i = 0; i < node->num_domains; i++) in xenstat_free_networks()
686 for (i = 0; i < node->num_domains; i++) in xenstat_free_vbds()
779 if (node->num_domains == 0 || entry >= node->num_domains) in xenstat_prune_domain()
783 node->num_domains--; in xenstat_prune_domain()
786 if (entry < node->num_domains) { in xenstat_prune_domain()
788 memmove(domain,domain+1,(node->num_domains - entry) * sizeof(xenstat_domain) ); in xenstat_prune_domain()
793 memset(&node->domains[node->num_domains], 0, sizeof(xenstat_domain)); in xenstat_prune_domain()