/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | sun_sas.h | 171 char *devpath; member in struct:walkarg 286 extern HBA_STATUS send_uscsi_cmd(const char *devpath, struct uscsi_cmd *ucmd);
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 4295 * The arg: devpath should be the physical path to device. 4306 g_get_multipath(char *devpath, struct dlist **multipath_list, argument 4312 " device at path: %s\n", devpath); 4314 /* return invalid path if devpath is NULL */ 4315 if (devpath == NULL) { 4323 if (strstr(devpath, DRV_NAME_SSD) != NULL) { 4324 err = get_multipath_disk(devpath, multipath_list, wwn_list); 4326 err = get_multipath(devpath, multipath_list, wwn_list); 4336 * devpath: device path to for requested multipath info 4345 get_multipath_disk(char *devpath, struc argument 4425 get_multipath(char *devpath, struct dlist **multipath_list, struct wwn_list_struct *wwn_list) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 783 char *root_path, *cp, *client_path, devpath[MAXPATHLEN]; local 901 (void) snprintf(devpath, 905 dev_list[0] = devpath; 1156 hba_dev_cmp(const char *hba, const char *devpath) argument 1164 (void) snprintf(l_dev, sizeof (l_dev), "%s", devpath); 1193 /* devpath must have '/' and 1 char in addition to hba path */
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 1260 char devpath[MAXSTRLEN]; local 1275 modify_device_path(devpath_p, devpath); 1276 if (disk_present(devpath)) { 1326 * Returns 0 if the device at devpath is not *physically* present. If it is, 1332 disk_present(char *devpath) argument 1341 if ((search_file = open(devpath, O_RDONLY | O_NDELAY)) < 0)
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | cfg_link.c | 1079 char *devpath = NULL; local 1130 devpath = pci_cfg_devpath(node, minor); 1131 if (devpath == NULL) 1133 pci_cfg_rm_invalid_links(devpath, linkbuf); 1134 free(devpath);
|
H A D | devfsadm_impl.h | 407 static void matching_dev(char *devpath, void *data); 408 static int resolve_link(char *devpath, char **content_p, int *type_p,
|
H A D | devfsadm.c | 4418 * Found a devpath which matches a RE in the remove structure. 4422 matching_dev(char *devpath, void *data) argument 4429 vprint(RECURSEDEV_MID, "%sexamining devpath = '%s'\n", fcn, 4430 devpath); 4436 if (nfphash_lookup(devpath + norm_len) != NULL) 4443 if (resolve_link(devpath, NULL, NULL, NULL, 1) == TRUE) { 4449 devpath += norm_len; 4451 vprint(RECURSEDEV_MID, "%scalling callback %s\n", fcn, devpath); 4454 (cleanup_data->rm->remove->callback_fcn))(devpath); 4457 (cleanup_data->rm->remove->callback_fcn))(devpath); 4556 resolve_link(char *devpath, char **content_p, int *type_p, char **devfs_path, int dangle) argument [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 792 * Just open the first devpath. 797 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len); 799 return (open(diskp->aliases->devpaths->devpath, O_RDONLY|O_NDELAY)); 805 (void) strlcpy(part_dev, diskp->aliases->devpaths->devpath,
|
H A D | disks_private.h | 44 char *devpath; member in struct:slice_info
|
H A D | cache.c | 168 free(dp->devpath); 179 free(dp->devpath);
|
/illumos-gate/usr/src/cmd/pgrep/ |
H A D | pgrep.c | 424 char devpath[MAXPATHLEN]; local 449 (void) snprintf(devpath, MAXPATHLEN - 1, "/dev/%s", ptr); 451 if (stat(devpath, &buf) == -1)
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | sockcommon.c | 67 socket_create(int family, int type, int protocol, char *devpath, char *mod, argument 86 if (devpath != NULL) { 89 protocol, devpath, kmflags, errorp);
|
H A D | sockcommon_subr.c | 2267 const char *devpath; local 2286 devpath = sp->sp_smod_info->smod_fallback_devpath_v4; 2289 devpath = sp->sp_smod_info->smod_fallback_devpath_v6; 2299 if (devpath == NULL || fbfunc == NULL) 2319 so->so_protocol, devpath, KM_SLEEP, &error);
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 123 static int get_lun_capacity(char *devpath, 125 static int get_path_status(char *devpath, int *status); 234 print_errString(int errnum, char *devpath) argument 241 if (devpath == NULL) { 246 "%s - %s.\n\n", errStr, devpath); 5838 if (strncmp(path, pathlist->devpath, MAXPATHLEN) == 0) { 6012 mpl->devpath = (char *)calloc(1, MAXPATHLEN+1); 6013 if (mpl->devpath == NULL) { 6017 strncpy(mpl->devpath, mlist->logical_path, 6257 display_path_info(char *devpath, cha argument 6325 get_lun_capacity(char *devpath, struct scsi_capacity_16 *cap_data) argument 6347 get_path_status(char *devpath, int *status) argument [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access.c | 767 char devpath[PATH_MAX]; local 785 devpath, PATH_MAX); 819 (void) strlcpy(cont_hash_obj->u.cont_obj->device_pathname, devpath, 820 sizeof (devpath)); 824 device_fd = open(devpath, O_RDONLY); 848 (void) snprintf(devpath, PATH_MAX, PICLD_PLAT_PLUGIN_DIRF, 850 (void) strlcat(devpath, FRU_CONTAINER_CONF, PATH_MAX); 851 retval = access(devpath, R_OK); 855 (void) snprintf(devpath, PATH_MAX, "%s/%s", 857 retval = access(devpath, R_O [all...] |
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devperm.c | 269 * devpath: Absolute path to /dev link 273 devfs_resolve_link(char *devpath, char **devfs_path) argument 285 linksize = readlink(devpath, contents, PATH_MAX); 304 /* relative path, prefix devpath */ 305 if ((ptr = strrchr(devpath, '/')) == NULL) { 310 (void) strcpy(stage_link, devpath);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/ |
H A D | psvcpolicy.c | 549 char devpath[256]; local 652 strcpy(devpath, 655 strcpy(devpath, 658 dev_handle = devctl_device_acquire(devpath, 0);
|
/illumos-gate/usr/src/cmd/power/ |
H A D | handlers.c | 558 devpath(char **destp, char *src, int *errp) function 624 if (devpath(&first, src, &upval)) 634 if (devpath(destp, src, &upval)) { 786 if (devpath(&pmreq.physpath, LINEARG(1), &upval))
|
/illumos-gate/usr/src/cmd/fwflash/common/ |
H A D | fwflash.c | 100 char *devpath = NULL; local 140 devpath = strdup(optarg); 212 if ((rv = fwflash_update(devpath, filelist[i], 238 rv = fwflash_read_file(devpath, read_file);
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_acpi.c | 72 char *devpath; local
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | devid_cache.c | 503 * If a devpath is provided it will be used as the path to register the 509 e_devid_cache_register_cmn(dev_info_t *dip, ddi_devid_t devid, char *devpath) argument 524 if (devpath) { 525 pathlen = strlen(devpath) + 1; 527 bcopy(devpath, path, pathlen);
|
H A D | ddifm.c | 300 * 'devpath' argument - in this case 'dip' is the MPXIO client node and 301 * devpath should be the path through the pHCI devinfo node to the 314 * just a dip: devpath, minor_name, and devid are all NULL. The 316 * non-null devpath, minor_name, and devid arguments depending on 339 const char *devpath, const char *minor_name, const char *devid, 421 if (devpath) { 422 (void) strlcpy(path, devpath, sizeof (path)); 424 /* derive devpath from dip */ 338 fm_dev_ereport_postv(dev_info_t *dip, dev_info_t *eqdip, const char *devpath, const char *minor_name, const char *devid, const char *tpl0, const char *error_class, uint64_t ena, int sflag, nvlist_t *pl, va_list ap) argument
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 114 static void vhci_to_phci(char *devpath, char *slice, int d_flag); 1316 vhci_to_phci(char *devpath, char *slice, int d_flag) argument 1331 ioc.client = devpath; 1342 ioc.client = devpath; 1384 if (strstr(devpath, "ssd") != NULL) {
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 1053 char *devpath) 1170 (void) fprintf(fp, "devpath=/devices%s\n\n", devpath); 1289 char *devpath) 1356 log2errdefs(fd, errdef, &(errstate->log), devpath); 1387 thr_collect(void *arg, char *devpath) argument 1408 collect_state(fd, BOFI_CHK_STATE_W, &hi->es, &hi->ed, devpath); 1761 char devpath[MAXPATHLEN]; local 1778 if (getpath(devpath, inst, name, MAXPATHLEN) != -1) { 1779 devpathp = devpath; 1052 log2errdefs(int fd, struct bofi_errdef *edp, struct acc_log *log, char *devpath) argument 1286 collect_state(int fd, int cmd, struct bofi_errstate *errstate, struct bofi_errdef *errdef, char *devpath) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_disk.c | 831 vdev_disk_read_rootlabel(char *devpath, char *devid, nvlist_t **config) argument 852 if (error && (error = ldi_open_by_name(devpath, FREAD, kcred, &vd_lh,
|