Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_list.c63 static scfga_ret_t create_pathinfo_ldata(di_path_t pi_node, scfga_list_t *lap,
417 create_pathinfo_ldata(di_path_t pi_node, scfga_list_t *lap, int *l_errnop) in create_pathinfo_ldata() argument
435 ret = make_path_dyncomp(pi_node, &dyncomp, &lap->l_errno); in create_pathinfo_ldata()
441 client_node = di_path_client_node(pi_node); in create_pathinfo_ldata()
490 if ((pi_state = di_path_state(pi_node)) == DI_PATH_STATE_OFFLINE) { in create_pathinfo_ldata()
531 di_path_t pi_node; in stat_path_info() local
549 for (pi_node = di_path_next_client(root, DI_PATH_NIL); pi_node; in stat_path_info()
550 pi_node = di_path_next_client(root, pi_node)) { in stat_path_info()
557 if (strlen(di_path_bus_addr(pi_node)) != in stat_path_info()
563 if (strcmp(di_path_bus_addr(pi_node), in stat_path_info()
[all …]
H A Dcfga_utils.c749 di_path_t pi_node) in check_available_path() argument
754 if (((pi_state = di_path_state(pi_node)) != DI_PATH_STATE_ONLINE) && in check_available_path()
762 if ((next_pi != pi_node) && in check_available_path()
782 di_path_t pi_node = DI_PATH_NIL; in path_apid_state_change() local
850 if ((pi_node = di_path_next_client(walk_root, pi_node)) == in path_apid_state_change()
860 if (strlen(di_path_bus_addr(pi_node)) != in path_apid_state_change()
866 if (strcmp(di_path_bus_addr(pi_node), apidp->dyncomp) == 0) { in path_apid_state_change()
870 pi_node = di_path_next_client(root, pi_node); in path_apid_state_change()
871 } while (pi_node != DI_PATH_NIL); in path_apid_state_change()
880 client_node = di_path_client_node(pi_node); in path_apid_state_change()
[all …]
H A Dcfga_cvt.c302 di_path_t pi_node = DI_PATH_NIL; in path_apid_dyn_to_path() local
365 if ((pi_node = di_path_next_client(walk_root, pi_node)) == in path_apid_dyn_to_path()
376 if (strlen(di_path_bus_addr(pi_node)) != strlen(dyn)) { in path_apid_dyn_to_path()
380 if (strcmp(di_path_bus_addr(pi_node), dyn) == 0) { in path_apid_dyn_to_path()
382 devpath = di_path_devfs_path(pi_node); in path_apid_dyn_to_path()
404 pi_node = di_path_next_client(walk_root, pi_node); in path_apid_dyn_to_path()
405 } while (pi_node != DI_PATH_NIL); in path_apid_dyn_to_path()