Lines Matching refs:num_devs
123 char *num_devs, *be_path; in libxl__device_pci_add_xenstore() local
137 num_devs = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/num_devs", be_path)); in libxl__device_pci_add_xenstore()
138 if (!num_devs) in libxl__device_pci_add_xenstore()
153 num = atoi(num_devs); in libxl__device_pci_add_xenstore()
207 char *be_path, *num_devs_path, *num_devs, *xsdev, *tmp, *tmppath; in libxl__device_pci_remove_xenstore() local
214 num_devs = libxl__xs_read(gc, XBT_NULL, num_devs_path); in libxl__device_pci_remove_xenstore()
215 if (!num_devs) in libxl__device_pci_remove_xenstore()
217 num = atoi(num_devs); in libxl__device_pci_remove_xenstore()
330 char *path, *num_devs; in get_all_assigned_devices() local
335 num_devs = libxl__xs_read(gc, XBT_NULL, path); in get_all_assigned_devices()
336 if ( num_devs ) { in get_all_assigned_devices()
337 int ndev = atoi(num_devs), j; in get_all_assigned_devices()
2384 char *num_devs; in libxl__device_pci_get_num() local
2387 num_devs = libxl__xs_read(gc, XBT_NULL, GCSPRINTF("%s/num_devs", be_path)); in libxl__device_pci_get_num()
2388 if (!num_devs) in libxl__device_pci_get_num()
2391 *num = atoi(num_devs); in libxl__device_pci_get_num()