Searched refs:hp_state (Results 1 - 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/libhotplug/common/
H A Dlibhotplug_impl.h46 int hp_state; member in struct:hp_node
H A Dlibhotplug.h84 int hp_state(hp_node_t node);
H A Dlibhotplug.c249 * hp_state()
254 hp_state(hp_node_t node) function
256 i_hp_dprintf("hp_state: node=%p\n", (void *)node);
259 i_hp_dprintf("hp_state: invalid arguments.\n");
266 i_hp_dprintf("hp_state: operation not supported.\n");
271 return (node->hp_state);
963 if ((rv = nvlist_add_uint32(nvl, HP_INFO_STATE, node->hp_state)) != 0)
1115 node->hp_state = val_uint32;
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd_impl.c89 *old_statep = hp_state(root);
239 HP_IS_ENABLED(root->hp_state) && !HP_IS_ENABLED(target_state))
247 HP_IS_ONLINE(root->hp_state) && HP_IS_OFFLINE(target_state))
H A Dhotplugd_info.c500 node->hp_state = di_hp_state(hp);
H A Dhotplugd_rcm.c388 if ((type == HP_NODE_PORT) && HP_IS_OFFLINE(hp_state(node)))
/illumos-gate/usr/src/cmd/hotplug/
H A Dhotplug.c505 if (hp_state(root) != DDI_HP_CN_STATE_ENABLED) {
569 if (hp_state(root) >= DDI_HP_CN_STATE_POWERED) {
1046 (void) printf(" (%s)", state_itoa(hp_state(node)));
1052 (void) printf(" (%s)", state_itoa(hp_state(node)));
1086 (void) printf(" (%s)", state_itoa(hp_state(node)));
1091 (void) printf(" (%s)", state_itoa(hp_state(node)));
/illumos-gate/usr/src/uts/common/sys/
H A Ddevinfo_impl.h341 int hp_state; /* current hotplug state */ member in struct:di_hp
/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c552 state = hp_state(connector);
579 DBG(1, ("cfga_get_state:(%x)\n", hp_state(port)));
586 if (hp_state(port) >= DDI_HP_CN_STATE_OFFLINE)
646 state = hp_state(node);
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo.c2718 return (DI_HP(hp)->hp_state);
/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c3572 me->hp_state = (int)hp_hdl->cn_info.cn_state;

Completed in 90 milliseconds