Lines Matching refs:be_path

60     char *be_path = libxl__device_libxl_path(gc, device);  in libxl__device_exists()  local
63 rc = libxl__xs_read_checked(gc, t, be_path, &dir); in libxl__device_exists()
93 char *snictype, *be_path; in libxl__nic_type() local
96 be_path = libxl__device_backend_path(gc, dev); in libxl__nic_type()
98 GCSPRINTF("%s/%s", be_path, "type")); in libxl__nic_type()
100 LOGED(ERROR, dev->domid, "unable to read nictype from %s", be_path); in libxl__nic_type()
106 LOGED(ERROR, dev->domid, "unable to parse nictype from %s", be_path); in libxl__nic_type()
342 int libxl__backendpath_parse_domid(libxl__gc *gc, const char *be_path, in libxl__backendpath_parse_domid() argument
348 r = sscanf(be_path, "/local/domain/%u%c", &domid_sc, &delim_sc); in libxl__backendpath_parse_domid()
350 LOG(ERROR, "internal error: backend path %s unparseable!", be_path); in libxl__backendpath_parse_domid()
701 const char *be_path = NULL; in libxl__device_destroy() local
712 be_path = libxl__device_backend_path(gc, dev); in libxl__device_destroy()
714 tapdisk_path = GCSPRINTF("%s/%s", be_path, "tapdisk-params"); in libxl__device_destroy()
744 libxl__xs_path_cleanup(gc, t, be_path); in libxl__device_destroy()
873 char *be_path = libxl__device_backend_path(gc, aodev->dev); in libxl__wait_device_connection() local
874 char *state_path = GCSPRINTF("%s/state", be_path); in libxl__wait_device_connection()
894 LOGD(ERROR, aodev->dev->domid, "unable to initialize device %s", be_path); in libxl__wait_device_connection()
911 char *be_path = libxl__device_backend_path(gc, aodev->dev); in libxl__initiate_device_generic_remove() local
912 char *state_path = GCSPRINTF("%s/state", be_path); in libxl__initiate_device_generic_remove()
913 char *online_path = GCSPRINTF("%s/online", be_path); in libxl__initiate_device_generic_remove()
944 be_path); in libxl__initiate_device_generic_remove()
994 LOGD(ERROR, domid, "unable to remove device %s", be_path); in libxl__initiate_device_generic_remove()
1015 char *be_path = libxl__device_backend_path(gc, aodev->dev); in device_qemu_timeout() local
1016 char *state_path = GCSPRINTF("%s/state", be_path); in device_qemu_timeout()
1103 char *be_path = libxl__device_backend_path(gc, aodev->dev); in device_hotplug() local
1130 aodev->xswait.path = be_path; in device_hotplug()
1136 "Setup of backend removal watch failed (path %s)", be_path); in device_hotplug()
1225 char *be_path = libxl__device_backend_path(gc, aodev->dev); in device_hotplug_child_death_cb() local
1232 GCSPRINTF("%s/hotplug-error", be_path)); in device_hotplug_child_death_cb()
1344 int libxl__wait_for_backend(libxl__gc *gc, const char *be_path, in libxl__wait_for_backend() argument
1348 const char *p, *path = GCSPRINTF("%s/state", be_path); in libxl__wait_for_backend()
1356 LOG(ERROR, "Backend %s does not exist", be_path); in libxl__wait_for_backend()
1366 LOG(ERROR, "Backend %s not ready", be_path); in libxl__wait_for_backend()
1742 char *be_path; in libxl_device_events_handler() local
1763 be_path = GCSPRINTF("/local/domain/%u/backend", domid); in libxl_device_events_handler()
1765 be_path); in libxl_device_events_handler()
1768 kinds = libxl__xs_directory(gc, XBT_NULL, be_path, &nkinds); in libxl_device_events_handler()
1772 GCSPRINTF("%s/%s", be_path, kinds[i]), &ndomains); in libxl_device_events_handler()
1777 GCSPRINTF("%s/%s/%s", be_path, kinds[i], domains[j]), &ndevs); in libxl_device_events_handler()
1782 be_path, kinds[i], domains[j], devs[k]); in libxl_device_events_handler()
1789 be_path, state_path); in libxl_device_events_handler()