Searched defs:devfs_path (Results 1 - 25 of 53) sorted by relevance

123

/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_ieee1394.c36 HalDevice *devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
37 static HalDevice *devinfo_scsa1394_add(HalDevice *d, di_node_t node, gchar *devfs_path);
49 devinfo_ieee1394_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
69 d = devinfo_scsa1394_add (parent, node, devfs_path);
76 devinfo_scsa1394_add(HalDevice *parent, di_node_t node, gchar *devfs_path) argument
82 devinfo_set_default_properties (d, parent, node, devfs_path);
86 devinfo_add_enqueue (d, devfs_path, &devinfo_ieee1394_handler);
H A Dhotplug.h45 char devfs_path[HAL_PATH_MAX]; member in struct:__anon628::__anon629::__anon630
H A Ddevinfo_cpu.c45 devinfo_cpu_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
146 * If cpu driver is not installed, then devfs_path returned by
148 * Since HAL stores the devices in its tree based on the devfs_path,
149 * To make it unique, will be concatenating devfs_path with cpu_id
153 devfs_path, cpu_id);
155 snprintf (cpu_devfs_path, HAL_PATH_MAX, "%s", devfs_path);
170 hal_device_property_set_string (d, "solaris.devfs_path",
H A Ddevinfo_misc.c73 devinfo_computer_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
78 if (strcmp (devfs_path, "/") != 0) {
88 hal_device_property_set_string (d, "solaris.devfs_path", devfs_path);
109 devinfo_add_enqueue (d, devfs_path, &devinfo_computer_handler);
119 hal_device_property_set_string (local_d, "solaris.devfs_path", "/local");
127 devinfo_keyboard_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
139 devinfo_set_default_properties(d, parent, node, devfs_path);
158 devinfo_add_enqueue(d, devfs_path, &devinfo_keyboard_handler);
164 devinfo_mouse_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
199 devinfo_default_add(HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
[all...]
H A Ddevinfo_pci.c31 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type);
42 HalDevice *devinfo_pci_add (HalDevice *parent, di_node_t node, char *devfs_path, char *device_type) argument
63 devinfo_set_default_properties (d, parent, node, devfs_path);
118 devinfo_add_enqueue (d, devfs_path, &devinfo_pci_handler);
H A Ddevinfo_acpi.c39 char *devfs_path, char *device_type);
62 devinfo_acpi_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
90 devinfo_set_default_properties(d, parent, node, devfs_path);
91 devinfo_add_enqueue(d, devfs_path, &devinfo_acpi_handler);
108 "solaris.devfs_path", minor_path) == NULL) {
131 devinfo_power_button_add(HalDevice *parent, di_node_t node, char *devfs_path, argument
144 devinfo_set_default_properties(d, parent, node, devfs_path);
151 devinfo_add_enqueue(d, devfs_path, &devinfo_power_button_handler);
H A Dosspec.c90 * @param devfs_path Path into devfs, e.g. /pci@0,0/pci1025,57@10,2/storage@1
94 hal_util_find_closest_ancestor (const gchar *devfs_path, gchar **ancestor_devfs_path, gchar **hotplug_devfs_path) argument
102 strncpy (buf, devfs_path, sizeof (buf));
113 "solaris.devfs_path",
H A Ddevinfo.c86 devinfo_set_default_properties (HalDevice *d, HalDevice *parent, di_node_t node, char *devfs_path) argument
100 devfs_path, local
111 hal_device_property_set_string (d, "solaris.devfs_path", devfs_path);
153 char *devfs_path; local
158 devfs_path = di_devfs_path (node);
165 d = handler->add (parent, node, devfs_path, device_type);
168 di_devfs_path_free(devfs_path);
175 devinfo_hotplug_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler, int action, int front) argument
183 strlcpy (hotplug_event->un.devfs.devfs_path, devfs_pat
191 devinfo_add_enqueue(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
197 devinfo_add_enqueue_at_front(HalDevice *d, gchar *devfs_path, DevinfoDevHandler *handler) argument
203 devinfo_remove_enqueue(gchar *devfs_path, DevinfoDevHandler *handler) argument
335 devinfo_remove(gchar *devfs_path) argument
342 devinfo_remove_branch(gchar *devfs_path, HalDevice *d) argument
390 hotplug_event_begin_remove_devinfo(HalDevice *d, gchar *devfs_path, void *end_token) argument
[all...]
/illumos-gate/usr/src/cmd/hal/probing/acpi/
H A Dprobe-acpi.c38 char *devfs_path; local
44 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL)
46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
/illumos-gate/usr/src/cmd/hal/tools/sunos/
H A Dhal-system-lcd-get-brightness-sunos.c37 char *devfs_path; local
42 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) {
46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
H A Dhal-system-lcd-set-brightness-sunos.c38 char *devfs_path; local
43 if ((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL) {
46 strlcat(device_file, devfs_path, HAL_PATH_MAX);
/illumos-gate/usr/src/cmd/hal/probing/printer/
H A Dprobe-printer.c79 char *devfs_path; local
82 if (((devfs_path = getenv("HAL_PROP_SOLARIS_DEVFS_PATH")) != NULL) &&
93 (strstr(lpath, devfs_path) != NULL)) {
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/
H A Dpi_pciexrc.c449 char *devfs_path; local
451 devfs_path = di_devfs_path(dnode);
452 if (devfs_path != NULL) {
453 if (strncmp(devfs_path, path, strlen(path)) == 0) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Ddisk_discovery.c31 static char *device_format_disk_name(char *devfs_path);
176 device_format_disk_name(char *devfs_path) argument
183 devfs_path);
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_rcm.c432 char *devfs_path; local
450 if ((devfs_path = di_devfs_path(node)) == NULL)
452 (void) snprintf(disk_path, MAXPATHLEN, "%s%s", DEVICES, devfs_path);
453 di_devfs_path_free(devfs_path);
H A Dcfga_cvt.c363 * state then check the devfs_path to
459 * the devfs_path since it is not
712 char *devfs_path, path_name[MAXPATHLEN], *lun_guid, *port_wwn; local
717 devfs_path = di_devfs_path(node);
718 strcpy(path_name, devfs_path);
719 di_devfs_path_free(devfs_path);
726 * state then check the devfs_path to
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/
H A Dpiclenvsetup.c332 char *pname, *nodename, *devfs_path; local
367 * Add "devfs_path" property in child node
369 devfs_path = sensorp->devfs_path;
373 strlen(devfs_path)+1, (void *)devfs_path, &proph);
451 char *pname, *nodename, *devfs_path; local
487 * Add "devfs_path" property in child node
490 devfs_path = fanp->devfs_path;
[all...]
/illumos-gate/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c41 static char *devfs_path; variable
120 if (strncmp (path, devfs_path, len) != 0)
335 if ((devfs_path = getenv ("HAL_PROP_SOLARIS_DEVFS_PATH")) == NULL)
/illumos-gate/usr/src/cmd/hal/utils/
H A Dacpi.c723 char *devfs_path; local
727 devfs_path = libhal_device_get_property_string(ctx, udi,
728 "solaris.devfs_path", &error);
730 if (devfs_path == NULL) {
733 strlcat(path, devfs_path, HAL_PATH_MAX);
734 libhal_free_string(devfs_path);
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dio.c752 char *devfs_path = NULL; local
793 if ((devfs_path = di_devfs_path(node)) != NULL) {
794 if (strcmp(rootpath, devfs_path) == 0) {
796 di_devfs_path_free(devfs_path);
799 di_devfs_path_free(devfs_path);
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/
H A Dpiclsbl.c202 char *devfs_path; local
241 if (nvlist_lookup_string(nvlp, "devfs-path", &devfs_path))
250 lookup.path = strdup(devfs_path);
/illumos-gate/usr/src/lib/fm/topo/modules/sun4v/xaui/
H A Dxaui.c206 char *devfs_path; local
242 devfs_path = di_devfs_path(dnode);
243 if (devfs_path == NULL) {
244 topo_mod_dprintf(mod, "NULL devfs_path\n");
247 topo_mod_dprintf(mod, "devfs_path (%s)\n", devfs_path);
248 dev_path_len = strlen(devfs_path) + 1;
253 buf = xaui_trans_str(mod, devfs_path, "pci", dev_path_len);
256 buf = xaui_trans_str(mod, devfs_path, "niu", dev_path_len);
259 di_devfs_path_free(devfs_path);
[all...]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdment.c57 static int dmap_resolve_link(char *devpath, char **devfs_path);
453 * devfs_path: Returns malloced string: /devices path w/out "/devices"
456 dmap_resolve_link(char *devpath, char **devfs_path) argument
464 if (devfs_path) {
465 *devfs_path = NULL;
499 return (dmap_resolve_link(stage_link, devfs_path));
502 if (devfs_path) {
503 *devfs_path = strdup(ptr);
504 if (*devfs_path == NULL) {
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/
H A Dpiclenvsetup.c391 char *pname, *nodename, *devfs_path; local
433 * Add "devfs_path" property in child node
435 devfs_path = sensorp->devfs_path;
439 strlen(devfs_path)+1, (void *)devfs_path, &proph);
513 char *pname, *nodename, *devfs_path; local
559 * Add "devfs_path" property in child node
561 devfs_path = diskp->devfs_path;
656 char *pname, *nodename, *devfs_path; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/
H A Dpiclenvsetup.c401 char *pname, *nodename, *devfs_path; local
437 * Add "devfs_path" property in child node
439 devfs_path = sensorp->devfs_path;
443 strlen(devfs_path)+1, (void *)devfs_path, &proph);
518 char *pname, *nodename, *devfs_path; local
558 * Add "devfs_path" property in child node
560 devfs_path = diskp->devfs_path;
655 char *pname, *nodename, *devfs_path; local
[all...]

Completed in 98 milliseconds

123