Searched refs:phcis (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | mpxio_rcm.c | 76 phci_t *phcis; member 480 if (bsearch(&phci, group->phcis, group->nphcis, sizeof (phci_t), in get_affected_clients() 543 if (strcmp(group->phcis[i].path, rsrc) == 0) in detect_client_change() 552 if ((group->phcis[i].state == DI_PATH_STATE_ONLINE) || in detect_client_change() 553 (group->phcis[i].state == DI_PATH_STATE_STANDBY)) { in detect_client_change() 554 if (rcm_get_rsrcstate(hdl, group->phcis[i].path, &state) in detect_client_change() 561 group->phcis[i].path, state); in detect_client_change() 675 if ((reg = lookup_phci(group->phcis[i].path)) != NULL) { in refresh_regs() 678 reg->phci.state = group->phcis[i].state; in refresh_regs() 692 reg->phci.path = strdup(group->phcis[i].path); in refresh_regs() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunmdi.c | 7891 char **phcis, **phci_namep; in mainnvl_to_vhcache() local 7905 if (nvlist_lookup_string_array(nvl, MDI_NVPNAME_PHCIS, &phcis, in mainnvl_to_vhcache() 7913 for (i = 0, phci_namep = phcis; i < nphcis; i++, phci_namep++) { in mainnvl_to_vhcache() 8001 char **phcis; in vhcache_to_mainnvl() local 8026 phcis = kmem_alloc(sizeof (char *) * phci_count, KM_SLEEP); in vhcache_to_mainnvl() 8029 phcis[i] = i_ddi_strdup(cphci->cphci_path, KM_SLEEP); in vhcache_to_mainnvl() 8031 err = nvlist_add_string_array(nvl, MDI_NVPNAME_PHCIS, phcis, in vhcache_to_mainnvl() 8033 free_string_array(phcis, phci_count); in vhcache_to_mainnvl()
|