/illumos-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/frutree/ |
H A D | piclscsi.c | 230 * on given devfs_path. 234 find_scsi_controller(char *devfs_path, plist_t *list, char *ap_id) argument 241 if (devfs_path == NULL || ap_id == NULL) { 244 (void) snprintf((char *)path, sizeof (path), "/devices%s", devfs_path); 272 get_scsislot_name(char *devfs_path, char *bus_addr, char *name) argument 301 if ((rc = find_scsi_controller(devfs_path, &list, 553 is_node_present(scsi_info_t *scsi_info, char *devfs_path, int target) argument 570 (void) snprintf(path, sizeof (path), "/devices%s", devfs_path); 685 char *devfs_path = NULL; local 732 devfs_path [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/mdesc/ |
H A D | disk_discovery.c | 31 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/cmd/devfsadm/ |
H A D | port_link.c | 370 portcmp(char *devfs_path, char *phys_path) argument 377 p1 = strrchr(devfs_path, ':'); 395 rv = strcmp(devfs_path, phys_path); 420 char *devfs_path; local 426 if (devfsadm_read_link(node, port, &devfs_path) == DEVFSADM_SUCCESS && 427 portcmp(devfs_path, phys_path) != 0) { 428 free(devfs_path); 432 free(devfs_path); 435 if (devfsadm_read_link(node, port, &devfs_path) == DEVFSADM_SUCCESS && 436 portcmp(devfs_path, phys_pat [all...] |
H A D | devfsadm_impl.h | 360 static int devfsadm_enumerate_int_start(char *devfs_path, 409 char **devfs_path, int dangle); 417 char *devfs_path, int index, char *min, int type, char **buf, int multiple); 464 static char *alloc_cmp_str(const char *devfs_path, devfsadm_enumerate_t *dep);
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_cpu.c | 45 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 D | osspec.c | 90 * @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",
|
/illumos-gate/usr/src/cmd/hal/probing/printer/ |
H A D | probe-printer.c | 79 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/xaui/ |
H A D | xaui.c | 206 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 D | getdment.c | 57 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/lib/libdevinfo/ |
H A D | device_info.h | 92 extern int devfs_path_to_drv(char *devfs_path, char *drv_buf);
|
H A D | devinfo_devperm.c | 270 * devfs_path: Returns malloced string: /devices path w/out "/devices" 273 devfs_resolve_link(char *devpath, char **devfs_path) argument 281 if (devfs_path) { 282 *devfs_path = NULL; 316 return (devfs_resolve_link(stage_link, devfs_path)); 319 if (devfs_path) { 320 *devfs_path = strdup(ptr); 321 if (*devfs_path == NULL) { 338 char *devfs_path = NULL; local 342 if (devfs_resolve_link(path, &devfs_path) [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 474 char *pname, *nodename, *refnode, *devfs_path; local 530 * Add "devfs_path" property in child node 532 devfs_path = sensorp->devfs_path; 536 strlen(devfs_path)+1, (void *)devfs_path, &proph); 663 char *pname, *nodename, *devfs_path; local 704 * Add "devfs_path" property in child node 707 devfs_path = fanp->devfs_path; [all...] |
H A D | envd.h | 287 char *devfs_path; /* sensor device devfs path */ member in struct:env_sensor 327 char *devfs_path; /* fan device devfs path */ member in struct:env_fan
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvsetup.c | 451 char *pname, *nodename, *refnode, *devfs_path; local 507 * Add "devfs_path" property in child node 509 devfs_path = sensorp->devfs_path; 513 strlen(devfs_path)+1, (void *)devfs_path, &proph); 625 char *pname, *nodename, *devfs_path; local 666 * Add "devfs_path" property in child node 669 devfs_path = fanp->devfs_path; [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvsetup.c | 332 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...] |
H A D | envd.h | 301 char *devfs_path; /* sensor device devfs path */ member in struct:env_sensor 327 char *devfs_path; /* fan device devfs path */ member in struct:env_fan
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chicago/envd/ |
H A D | envd.h | 442 char *devfs_path; /* sensor device devfs path */ member in struct:env_sensor 460 char *devfs_path; /* disk device devfs path */ member in struct:env_disk 491 char *devfs_path; /* fan device devfs path */ member in struct:env_fan
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | envd.h | 382 char *devfs_path; /* sensor device devfs path */ member in struct:env_sensor 403 char *devfs_path; /* disk device devfs path */ member in struct:env_disk 433 char *devfs_path; /* fan device devfs path */ member in struct:env_fan
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/piclsbl/ |
H A D | piclsbl.c | 202 char *devfs_path; local 241 if (nvlist_lookup_string(nvlp, "devfs-path", &devfs_path)) 250 lookup.path = strdup(devfs_path);
|
/illumos-gate/usr/src/cmd/hal/addons/storage/ |
H A D | addon-storage.c | 41 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/lib/fm/topo/modules/sun4v/sun4vpi/ |
H A D | pi_pciexrc.c | 449 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/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_rcm.c | 432 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 D | cfga_cvt.c | 363 * 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/hal/utils/ |
H A D | acpi.c | 723 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 D | io.c | 752 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);
|