Lines Matching defs:fp_path
167 issue_lip(char *fp_path, int verbose)
178 if ((fp_fd = g_object_open(fp_path, O_RDONLY | O_EXCL)) < 0) {
184 " Reinitializing the loop at: %s\n"), fp_path);
200 " ioctl failed: %s\n", fp_path);
222 char *charPtr, fp_path[MAXPATHLEN];
234 (void) strcpy(fp_path, path_phys);
246 if (g_get_pathlist(fp_path, &pathlist)) {
256 sprintf(fp_path, "%s%s",
258 if (issue_lip(fp_path, verbose) != 0) {
273 if ((dev_type = g_get_path_type(fp_path)) == 0) {
278 if (strstr(fp_path, DRV_NAME_SSD) ||
279 strstr(fp_path, SES_NAME) ||
280 strstr(fp_path, DRV_NAME_ST)) {
281 if ((charPtr = strrchr(fp_path, '/')) == NULL) {
286 (void) strcat(fp_path, FC_CTLR);
292 if (stat(fp_path, &stbuf) < 0) {
297 (void) strcat(fp_path, FC_CTLR);
300 return (issue_lip(fp_path, verbose));