Searched refs:dev_path (Results 1 - 18 of 18) sorted by relevance

/osnet-11/usr/src/lib/storage/liba5k/common/
H A Dlhot.c113 * dev_path - pointer to the device path of type dtype and with tid
121 l_make_node(char *ses_path, int tid, char *dev_path, argument
132 if ((ses_path == NULL) || (dev_path == NULL) || (map == NULL)) {
145 *dev_path = '\0';
152 *dev_path = '\0';
173 (void) strcpy(dev_path,
192 (void) strncpy(dev_path, ses_path, len);
193 dev_path[len] = '\0';
194 (void) strcat(dev_path, ssd);
221 *dev_path
528 l_device_present(char *ses_path, int tid, gfc_map_t *map, int verbose_flag, char **dev_path) argument
734 char *dev_path, ses_path[MAXPATHLEN]; local
[all...]
H A Dmon.c802 char ses_path[MAXPATHLEN], dev_path[MAXPATHLEN]; local
862 (void) strcpy(dev_path, path_struct->p_physical_path);
933 dl->dev_path = dev_path;
934 if ((err = g_get_multipath(dev_path,
943 if ((devhdl = devctl_device_acquire(dl1->dev_path,
948 strerror(errno), dl1->dev_path);
997 char dev_path[MAXPATHLEN]; local
1055 (void) memset(dev_path, 0, MAXPATHLEN);
1056 (void) strcpy(dev_path,
[all...]
H A Ddiag.c86 (void) strcpy(dev_path1, dl->dev_path);
/osnet-11/usr/src/lib/libpcp/common/
H A Dpcp_utils.c69 * Extract from dev_path the "service name" portion.
77 get_vldc_svc_name(char *dev_path, char *service, char **match) argument
80 char *pathname = strdup(dev_path);
123 * Extract from dev_path the "service name" portion.
131 get_glvc_svc_name(char *dev_path, char *service, char **match) argument
134 char *pathname = strdup(dev_path);
228 char *dev_path = NULL; local
236 return (dev_path);
252 dev_path = malloc(strlen(glvc_path) +
254 (void) strcpy(dev_path, DEVICES_DI
285 char *dev_path = NULL; local
[all...]
H A Dlibpcp.c192 char *dev_path; local
201 dev_path = platsvc_name_to_path(channel_name, &xport_type);
206 if (NULL == dev_path)
212 if ((channel_fd = open(dev_path, O_RDWR|O_EXCL)) < 0) {
213 free(dev_path);
217 free(dev_path);
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dhot.c356 if ((devhdl = devctl_device_acquire(dl->dev_path,
361 strerror(errno), dl->dev_path);
396 if ((devhdl = devctl_device_acquire(dl->dev_path,
460 if (strstr(dl->dev_path, SCSI_VHCI) == NULL) {
463 p = strstr(dl->dev_path, SLASH_SES);
465 p = strstr(dl->dev_path, SLSH_DRV_NAME_SSD);
467 p = strstr(dl->dev_path,
475 "invalid.\n Path: %s\n", dl->dev_path);
479 len = strlen(dl->dev_path) - strlen(p);
482 len = strlen(dl->dev_path);
[all...]
H A Dmpath.c90 g_get_lun_str(char *dev_path, char lunstr[], int path_num) argument
103 if (strstr(dev_path, "/devices") == NULL) {
108 (void) strcpy(client_path, dev_path + DEV_PREFIX_LEN-1);
231 get_pathlist(char *dev_path, sv_iocdata_t *ioc, int *num_paths_to_copy) argument
244 if (strncmp(dev_path, SCSI_VHCI,
246 if ((physical_path = g_get_physical_name(dev_path)) == NULL) {
258 (void) strcpy(physical_path, dev_path);
388 * dev_path client device path
397 g_get_pathlist(char *dev_path, struct mp_pathlist *pathlist_p) argument
416 if ((caller_ret = get_pathlist(dev_path,
503 g_get_pathcount(char *dev_path) argument
570 g_failover(char *dev_path, char *path_class) argument
[all...]
H A Dmap.c4275 dl->dev_path = strdup(wwn_list_ptr->physical_path);
4406 dl->dev_path =
4497 dl->dev_path = strdup(wwn_list_ptr->physical_path);
4522 if (dlh->dev_path != NULL)
4523 (void) g_destroy_data(dlh->dev_path);
/osnet-11/usr/src/lib/fm/topo/modules/sun4v/sun4vpi/common/
H A Dpi_subr.c156 char **dev_path = NULL; local
184 dev_path = (char **)topo_mod_zalloc(mod,
186 if (bus_addr == NULL || dev_path == NULL) {
201 dev_path[j] = (char *)topo_mod_alloc(mod, len);
202 rv = snprintf(dev_path[j], len, "/@%s", bus_addr[i]);
219 path = strcpy(path, dev_path[0]);
222 path = strncat(path, dev_path[i], strlen(dev_path[i]) + 1);
231 if (dev_path[i] != NULL) {
232 topo_mod_strfree(mod, dev_path[
624 char **dev_path = NULL; local
[all...]
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevfsinfo.c149 static int process_minor_name(char *dev_path, const char *default_root);
161 static int devfs_prom_to_dev_name(char *prom_path, char *dev_path);
162 static int devfs_dev_to_prom_names(char *dev_path, char *prom_path, size_t len);
1413 process_minor_name(char *dev_path, const char *root) argument
1425 (void) snprintf(path, sizeof (path), "%s%s%s", root, DEVICES, dev_path);
1441 if ((cp = strrchr(dev_path, '/')) != NULL) {
1443 (void) strcat(dev_path, ":");
1444 (void) strcat(dev_path, default_minor_name);
1446 (void) strcat(dev_path, default_minor_name);
1452 case 0: (void) strcat(dev_path, "
1747 devfs_dev_to_prom_names(char *dev_path, char *prom_path, size_t len) argument
1815 devfs_dev_to_prom_name(char *dev_path, char *prom_path) argument
2002 devfs_prom_to_dev_name(char *prom_path, char *dev_path) argument
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.c737 char *dev_path = NULL; local
765 dev_path = usb_get_devicepath(ap_id);
766 if (dev_path == NULL) {
775 serial_no : "", dev_path ? dev_path : "", driver ? driver : "");
781 if (strncmp(dev_path, "/devices/", 9) == 0) {
782 tmp = dev_path + 8;
784 tmp = dev_path;
804 (void **)&dev_path, &size)) != CFGA_USB_OK) {
810 if (dev_path) {
[all...]
/osnet-11/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c59 static DAT_RETURN dapli_process_tavor_node(char *dev_path, int *hca_idx,
175 dapli_process_tavor_node(char *dev_path, int *hca_idx, int try_blueflame) argument
205 if (strcmp(dev_path, g_tavor_state[i].hca_path) == 0) {
213 if (strlen("/devices") + strlen(dev_path) + strlen(":devctl") + 1 >
217 dev_path);
222 (void) dapl_os_strcat(path_buf, dev_path);
224 (void) dapl_os_strcpy(g_tavor_state[idx].hca_path, dev_path);
/osnet-11/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_ctl.c720 char *dev_path, *dev_end; local
751 dev_path = apidp->path + strlen(DEVICES_DIR);
752 dev_end = strrchr(dev_path, ':');
760 if (strcmp(child_path, dev_path) == 0) {
875 char *dev_path = NULL; local
889 * The dev_path is already initialized to NULL. If the AP Id
890 * path differs from the HBA path, then the dev_path should
894 if ((dev_path = get_node_path(apidp->path)) == NULL) {
900 if ((ret = get_hba_children(bus_path, dev_path, &suspend_list))
916 S_FREE(dev_path);
[all...]
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/
H A DLgrp.xs397 lgrp_device_lgrps(dev_path)
398 char * dev_path;
404 num_id = lgrp_device_lgrps(dev_path, NULL, 0);
413 num_id = lgrp_device_lgrps(dev_path, lgrpids, num_id);
/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c66 do_devctl_dev_create(apid_t *apidt, char *dev_path, int pathlen, argument
74 *dev_path = NULL;
124 devctl_get_pathname(dev_hdl, dev_path, pathlen);
681 char dev_path[MAXPATHLEN]; local
876 if ((ret = do_devctl_dev_create(apidt, dev_path, MAXPATHLEN,
993 (void) do_devctl_dev_create(apidt, dev_path, MAXPATHLEN,
1002 (void) do_devctl_dev_create(apidt, dev_path, MAXPATHLEN,
/osnet-11/usr/src/lib/libiov/sparc/
H A Dlibiov_hp.c77 static int i_iov_iovpath_to_devpath(char *iov_path, char *dev_path);
693 i_iov_iovpath_to_devpath(char *iov_path, char *dev_path) argument
699 if (!iov_path || !dev_path)
703 dev_path[0] = '/';
704 dp_cursor = dev_path + 1;
/osnet-11/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dgfc.h159 char *dev_path; member in struct:dlist
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_mod.c397 topo_mod_devfmri(topo_mod_t *mod, int version, const char *dev_path, argument
410 if (nvlist_add_string(args, FM_FMRI_DEV_PATH, dev_path) != 0) {

Completed in 77 milliseconds