Home
last modified time | relevance | path

Searched refs:domaininfo (Results 1 – 6 of 6) sorted by relevance

/xen/tools/xenstat/libxenstat/src/
A Dxenstat.c139 xc_domaininfo_t domaininfo[DOMAIN_CHUNK_SIZE]; in xenstat_get_node() local
181 domaininfo); in xenstat_get_node()
200 domain->id = domaininfo[i].domain; in xenstat_get_node()
216 domain->state = domaininfo[i].flags; in xenstat_get_node()
217 domain->cpu_ns = domaininfo[i].cpu_time; in xenstat_get_node()
218 domain->num_vcpus = (domaininfo[i].max_vcpu_id+1); in xenstat_get_node()
221 ((unsigned long long)domaininfo[i].tot_pages) in xenstat_get_node()
224 domaininfo[i].max_pages == UINT_MAX in xenstat_get_node()
226 : (unsigned long long)(domaininfo[i].max_pages in xenstat_get_node()
228 domain->ssid = domaininfo[i].ssidref; in xenstat_get_node()
/xen/tools/ocaml/libs/xc/
A Dxenctrl.mli76 type domaininfo = { type
155 external _domain_getinfolist : handle -> domid -> int -> domaininfo list
157 val domain_getinfolist : handle -> domid -> domaininfo list
158 external domain_getinfo : handle -> domid -> domaininfo
A Dxenctrl.ml84 type domaininfo = type
198 external _domain_getinfolist: handle -> domid -> int -> domaininfo list
210 external domain_getinfo: handle -> domid -> domaininfo= "stub_xc_domain_getinfo"
/xen/tools/flask/policy/modules/
A Dxenstore.te14 # Xenstore queries domaininfo on all domains
/xen/tools/libxl/
A Dlibxl_sched.c219 xc_domaininfo_t domaininfo; in sched_credit_domain_set() local
222 rc = xc_domain_getinfolist(CTX->xch, domid, 1, &domaininfo); in sched_credit_domain_set()
227 if (rc != 1 || domaininfo.domain != domid) in sched_credit_domain_set()
247 || scinfo->cap > (domaininfo.max_vcpu_id + 1) * 100) { in sched_credit_domain_set()
250 ((domaininfo.max_vcpu_id + 1) * 100)); in sched_credit_domain_set()
A Dlibxl_domain.c1661 xc_domaininfo_t domaininfo; in libxl_list_vcpu() local
1664 if (xc_domain_getinfolist(ctx->xch, domid, 1, &domaininfo) != 1) { in libxl_list_vcpu()
1670 if (domaininfo.max_vcpu_id == XEN_INVALID_MAX_VCPU_ID) { in libxl_list_vcpu()
1676 ret = ptr = libxl__calloc(NOGC, domaininfo.max_vcpu_id + 1, in libxl_list_vcpu()
1680 *nr_vcpus_out <= domaininfo.max_vcpu_id; in libxl_list_vcpu()

Completed in 12 milliseconds