| /onnv/onnv-gate/usr/src/lib/libsocket/socket/ |
| socket.c | 113 char *devpath; local 131 &devpath, &prototype) == -1) { 135 fd = _so_socket(family, type, protocol, devpath, version); 136 free(devpath);
|
| /onnv/onnv-gate/usr/src/uts/common/io/scsi/impl/ |
| scsi_fm.c | 38 const char *devpath, const char *minor_name, const char *devid, 99 char *devpath, *minor_name; local 112 devpath = mdi_pi_pathname_by_instance(path_instance); 114 devpath = NULL; 134 fm_dev_ereport_postv(dip, dip, devpath, minor_name, devid,
|
| /onnv/onnv-gate/usr/src/lib/libdevinfo/ |
| devinfo_dim.c | 121 char *devpath = (char *)di_devlink_path(dl); local 123 if (devpath) 124 *devp = strdup(devpath);
|
| /onnv/onnv-gate/usr/src/lib/sun_sas/common/ |
| Sun_sasRefreshAdapterConfiguration.c | 39 char *devpath, fulldevpath[MAXPATHLEN]; local 51 if ((devpath = di_devfs_path(node)) == NULL) { 56 devpath); 58 if ((strstr(fulldevpath, wa->devpath)) != NULL) { 61 di_devfs_path_free(devpath); 64 di_devfs_path_free(devpath); 117 wa.devpath = hba_ptr->device_path;
|
| Sun_sasRefreshInformation.c | 39 char *devpath, fulldevpath[MAXPATHLEN]; local 51 if ((devpath = di_devfs_path(node)) == NULL) { 56 devpath); 58 if ((strstr(fulldevpath, wa->devpath)) != NULL) { 66 di_devfs_path_free(devpath); 69 di_devfs_path_free(devpath); 127 wa.devpath = hba_ptr->device_path;
|
| devtree_device_disco.c | 41 get_minor(char *devpath, char *minor) 47 if ((strstr(devpath, "/st@")) || (strstr(devpath, "/tape@"))) { 49 } else if (strstr(devpath, "/smp@")) { 51 } else if ((strstr(devpath, "/ssd@")) || (strstr(devpath, "/sd@")) || 52 (strstr(devpath, "/disk@"))) { 54 } else if ((strstr(devpath, "/ses@")) || (strstr(devpath, 57 devpath, ":0") 264 char *devpath, link[MAXNAMELEN]; local [all...] |
| sun_sas.h | 171 char *devpath; member in struct:walkarg 286 extern HBA_STATUS send_uscsi_cmd(const char *devpath, struct uscsi_cmd *ucmd);
|
| /onnv/onnv-gate/usr/src/cmd/hal/hald/solaris/ |
| devinfo_acpi.c | 72 char *devpath; local
|
| devinfo_usb.c | 314 gchar *devpath = NULL; local 322 if ((devpath = di_devfs_path (node)) == NULL) 327 p = strrchr (devpath, '/'); 332 if ((tmp_node = di_init (devpath, DINFOCPYALL)) == DI_NODE_NIL) 361 if (devpath != NULL) 362 di_devfs_path_free (devpath);
|
| /onnv/onnv-gate/usr/src/cmd/devfsadm/ |
| audio_link.c | 201 char devpath[PATH_MAX + 1]; local 218 (void) snprintf(devpath, sizeof (devpath), "%s:%s", tmp, mn); 310 (void) strlcpy(devpath, newpath, sizeof (devpath)); 311 if (devfsadm_enumerate_int(devpath, 0, &buf, rules, 1)) {
|
| /onnv/onnv-gate/usr/src/cmd/cdrw/ |
| main.c | 198 char *devpath; local 201 devpath = (char *)my_zalloc(PATH_MAX); 202 if (lookup_device(tgtdev, devpath)) { 203 target = get_device(tgtdev, devpath); 205 free(devpath);
|
| /onnv/onnv-gate/usr/src/cmd/stat/common/ |
| dsr.c | 125 char *devpath; local 185 devpath = di_dim_path_dev(di_dim, driver, instance, part); 189 if ((devpath = di_dim_path_dev(di_dim, 194 if (devpath == NULL) 198 * At this point we have a devpath result. Return the information about 201 if (devpathp) /* devpath */ 202 *devpathp = safe_strdup(devpath); 204 if (adevpathp) { /* abbreviated devpath */ 210 * For example for devpath of "/dev/dsk/c0t0d0s0" the 211 * abbreviated devpath would be "c0t0d0" 351 char *devpath = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/syseventd/modules/zfs_mod/ |
| zfs_mod.c | 269 * <path>: This is a devpath, and the target is one 309 devpath_iter(const char *devpath, zfs_process_func_t func, boolean_t wholedisk) 313 data.dd_compare = devpath; 333 devid_iter(const char *devpath, zfs_process_func_t func, boolean_t wholedisk) 335 size_t len = strlen(devpath) + sizeof ("/devices") + 347 (void) snprintf(fullpath, len, "/devices%s%s", devpath, PHYS_PATH); 391 char *devpath, *devname; local 402 if (nvlist_lookup_string(nvl, DEV_PHYS_PATH, &devpath) != 0) 411 (void) strlcpy(realpath, devpath, sizeof (realpath)); 425 devpath, colon) [all...] |
| /onnv/onnv-gate/usr/src/cmd/wbem/provider/c/wbem_disk/common/ |
| methods.c | 52 static CIMBool get_devpath(CCIMObjectPath *op, char *devpath, int len); 55 static void make_fdisk_path(char *devpath); 69 char devpath[MAXPATHLEN]; local 79 if (get_devpath(op, devpath, sizeof (devpath)) == cim_false) { 94 "/usr/sbin/fmthard -s %s %s 2> /dev/null", fmt_file, devpath); 116 char devpath[MAXPATHLEN]; local 126 if (get_devpath(op, devpath, sizeof (devpath)) == cim_false) { 134 "echo y | /usr/sbin/newfs %s 2>/dev/null", devpath); 173 char devpath[MAXPATHLEN]; local 252 char devpath[MAXPATHLEN]; local 319 char devpath[MAXPATHLEN]; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libdevid/ |
| deviceid.c | 177 char *devpath = (char *)di_devlink_path(dl); local 179 if (strncmp(devpath, cbip->cbi_search_path, 181 if (nmlist_add(cbip->cbi_nlhp, devpath) == NULL) {
|
| /onnv/onnv-gate/usr/src/lib/libdiskmgt/common/ |
| slice.c | 121 char devpath[MAXPATHLEN]; local 134 dsk2rdsk(dp->name, devpath, sizeof (devpath)); 135 fd = open(devpath, O_RDONLY|O_NDELAY); 150 * Look for the slice by the slice devpath. 225 char devpath[MAXPATHLEN]; local 229 dsk2rdsk(dp->name, devpath, sizeof (devpath)); 230 fd = open(devpath, O_RDONLY|O_NDELAY); 248 slice_rdsk2dsk(sp->devpath, localpath 672 char devpath[MAXPATHLEN]; local 754 char devpath[MAXPATHLEN]; local [all...] |
| disks_private.h | 46 char *devpath; member in struct:slice_info
|
| /onnv/onnv-gate/usr/src/lib/libwanboot/common/ |
| bootinfo_aux.c | 380 char *devpath; local 398 if ((devpath = get_bootpath()) == NULL || 399 (node = path2node(devpath)) == DI_NODE_NIL || 405 free(devpath); 406 if ((devpath = get_netalias()) == NULL || 407 (node = path2node(devpath)) == DI_NODE_NIL || 431 (node = path2node(devpath)) == DI_NODE_NIL) { 451 free(devpath);
|
| /onnv/onnv-gate/usr/src/lib/mms/mgmt/common/ |
| mgmt_library.h | 114 char devpath[256]; /* drive /dev path */ member in struct:mms_drive
|
| /onnv/onnv-gate/usr/src/lib/storage/libg_fc/common/hdrs/ |
| g_state.h | 154 char *devpath; member in struct:mplist_struct
|
| /onnv/onnv-gate/usr/src/lib/fm/topo/libtopo/common/ |
| dev.c | 136 char *devpath = NULL; local 155 err = nvlist_lookup_string(nvl, FM_FMRI_DEV_PATH, &devpath); 156 if (err != 0 || devpath == NULL) 183 topo_fmristr_build(&size, buf, buflen, devpath, "/", NULL); 227 char *devpath; local 242 devpath = str + 7; 243 if (strncmp(devpath, ":" FM_FMRI_DEV_ID "=", 7) == 0) { 247 n = strchr(devpath + 7, '/'); 250 len = n - (devpath + 7); 252 (void) memcpy(devid, devpath + 7, len) 285 char *devpath = NULL; local 365 char *devpath = NULL; local 446 char *devpath = NULL; local 493 char *devpath = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/lib/libzfs/common/ |
| libzfs_fru.c | 108 char *devpath, *frustr; local 120 FM_FMRI_AUTH_CHASSIS, &devpath, &err) == 0) 121 (void) strlcpy(hdl->libzfs_chassis_id, devpath, 134 if (_topo_prop_get_string(tn, "io", "devfs-path", &devpath, &err) != 0) 137 if (libzfs_fru_lookup(hdl, devpath) != NULL) { 138 _topo_hdl_strfree(thp, devpath); 143 _topo_hdl_strfree(thp, devpath); 152 _topo_hdl_strfree(thp, devpath); 162 _topo_hdl_strfree(thp, devpath); 167 if ((frup->zf_device = strdup(devpath)) == NULL | [all...] |
| /onnv/onnv-gate/usr/src/cmd/fwflash/plugins/transport/common/ |
| sd.c | 63 #define FW_SD_FREE_DEVPATH(devpath) { \ 64 di_devfs_path_free((devpath)); \ 66 #define FW_SD_FREE_DEVICELIST(thisdev, devpath) { \ 68 FW_SD_FREE_DEVPATH((devpath)) \ 70 #define FW_SD_FREE_DRV_NAME(thisdev, devpath) { \ 72 FW_SD_FREE_DEVICELIST((thisdev), (devpath)) \ 74 #define FW_SD_FREE_CLS_NAME(thisdev, devpath) { \ 76 FW_SD_FREE_DRV_NAME((thisdev), (devpath)) \ 78 #define FW_SD_FREE_ACC_NAME(thisdev, devpath) { \ 80 FW_SD_FREE_CLS_NAME(thisdev, devpath) \ 253 char *devpath = NULL; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/pgrep/ |
| pgrep.c | 425 char devpath[MAXPATHLEN]; local 450 (void) snprintf(devpath, MAXPATHLEN - 1, "/dev/%s", ptr); 452 if (stat(devpath, &buf) == -1)
|
| /onnv/onnv-gate/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/ |
| ttymux_dacf.c | 474 char *devpath; local 484 devpath = kmem_alloc(MAXPATHLEN+2, KM_SLEEP); 490 if (prom_ihandle_to_path(ihdls[i], devpath, MAXPATHLEN) == 0) 499 if (strrchr(devpath, ':') == NULL) 500 (void) strcat(devpath, ":a"); /* assume :a ! */ 502 if ((cn = get_aconsole(ms, devpath)) == 0) { 504 " consoles - ignoring %s\n", devpath); 515 cn->sm_path = kmem_alloc(strlen(devpath) + 1, KM_SLEEP); 516 (void) strcpy(cn->sm_path, devpath); 520 kmem_free(devpath, MAXPATHLEN + 2) [all...] |