Home
last modified time | relevance | path

Searched refs:pathlist_p (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmpath.c395 g_get_pathlist(char *dev_path, struct mp_pathlist *pathlist_p) in g_get_pathlist() argument
419 pathlist_p->path_count = num_paths_to_copy; in g_get_pathlist()
420 pathlist_p->path_info = calloc(num_paths_to_copy, in g_get_pathlist()
425 if (pathlist_p->path_info == NULL) { in g_get_pathlist()
435 pathlist_p->path_info[i].path_state = in g_get_pathlist()
437 (void) strncpy(pathlist_p->path_info[i].path_hba, DEV_PREFIX, in g_get_pathlist()
439 (void) strcat(pathlist_p->path_info[i].path_hba, in g_get_pathlist()
441 (void) strcpy(pathlist_p->path_info[i].path_dev, in g_get_pathlist()
455 (void) strcpy(pathlist_p->path_info[i].path_addr, temp_addr); in g_get_pathlist()
461 (void) strcpy(pathlist_p->path_info[i].path_class, in g_get_pathlist()
[all …]