Searched refs:fcapath (Results 1 – 1 of 1) sorted by relevance
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 1134 char fcapath[MAXPATHLEN]; in g_get_dev_list() local 1142 (void) strcpy(fcapath, path); in g_get_dev_list() 1155 if (strstr(fcapath, DRV_NAME_SSD) || strstr(fcapath, SES_NAME)) { in g_get_dev_list() 1156 if ((char_ptr = strrchr(fcapath, '/')) == NULL) { in g_get_dev_list() 1161 (void) strcat(fcapath, FC_CTLR); in g_get_dev_list() 1163 if (stat(fcapath, &stbuf) < 0) { in g_get_dev_list() 1168 (void) strcat(fcapath, FC_CTLR); in g_get_dev_list() 1171 dev_type = g_get_path_type(fcapath); in g_get_dev_list() 1175 if ((fd = g_object_open(fcapath, O_NDELAY | O_RDONLY)) == -1) { in g_get_dev_list() 1289 if ((err = g_get_fca_port_topology(fcapath, &port_top, 0)) != 0) { in g_get_dev_list() [all …]
|