/titanic_44/usr/src/uts/common/sys/ |
H A D | mdi_impldefs.h | 719 mdi_pathinfo_state_t pi_state; /* path state */ member 810 (MDI_PI((pip))->pi_state & MDI_PATHINFO_STATE_MASK) 815 (MDI_PI((pip))->pi_state & MDI_PATHINFO_EXT_STATE_MASK) 821 MDI_PI(pip)->pi_state |= MDI_PATHINFO_STATE_TRANSIENT; } 824 MDI_PI(pip)->pi_state &= ~MDI_PATHINFO_STATE_TRANSIENT; } 826 (MDI_PI(pip)->pi_state & MDI_PATHINFO_STATE_TRANSIENT) 830 MDI_PI(pip)->pi_state |= MDI_PATHINFO_STATE_USER_DISABLE; } 833 MDI_PI(pip)->pi_state |= MDI_PATHINFO_STATE_DRV_DISABLE; } 836 MDI_PI(pip)->pi_state |= MDI_PATHINFO_STATE_DRV_DISABLE_TRANSIENT; } 840 MDI_PI(pip)->pi_state &= ~MDI_PATHINFO_STATE_USER_DISABLE; } [all …]
|
H A D | processor.h | 98 int pi_state; /* processor state, see above */ member
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_tables.h | 169 enum pi_state { enum 192 enum pi_state pi_state; /* State of the phyint */ member 290 #define pii_state pii_phyint->pi_state 422 extern void phyint_chstate(struct phyint *pi, enum pi_state state);
|
H A D | mpd_probe.c | 1055 pii->pii_phyint->pi_state == PI_FAILED) in check_pii_crtt_improved() 1385 boolean_t onlining = (pi->pi_state == PI_OFFLINE); in phyint_transition_to_running() 1386 boolean_t initial = (pi->pi_state == PI_INIT); in phyint_transition_to_running() 1510 if (pi->pi_state == PI_OFFLINE) { in phyint_check_for_repair() 1553 if (pi->pi_state != PI_OFFLINE) { in phyint_inst_check_for_failure() 1563 if (pi2->pi_state == PI_OFFLINE) /* see comment above */ in phyint_inst_check_for_failure() 1571 if (pi2->pi_state == PI_RUNNING) in phyint_inst_check_for_failure() 1620 if (pi->pi_state == PI_FAILED && LINK_UP(pi)) { in phyint_inst_timer() 1827 switch (pii->pii_phyint->pi_state) { in phyint_inst_timer() 1860 pii->pii_phyint->pi_state); in phyint_inst_timer() [all …]
|
H A D | mpd_tables.c | 128 if (pi2->pi_state == PI_OFFLINE && in phyint_lookup_hwaddr() 389 pi->pi_state = PI_INIT; in phyint_create() 458 phyint_chstate(struct phyint *pi, enum pi_state state) in phyint_chstate() 467 if (pi->pi_state == state) in phyint_chstate() 470 pi->pi_state = state; in phyint_chstate() 1311 if (pi->pi_state == PI_RUNNING) in phyint_inst_update_from_k() 1314 if (pi->pi_state == PI_FAILED) in phyint_inst_update_from_k() 1433 (GROUP_FAILED(pg) && pi2->pi_state != PI_OFFLINE)) in phyint_offline() 1497 if (pi->pi_state != PI_OFFLINE) { in phyint_undo_offline() 2333 if (pi->pi_state == PI_NOTARGETS && PROBE_CAPABLE(pii)) { in target_create() [all …]
|
H A D | mpd_main.c | 605 if (pii->pii_phyint->pi_state != PI_OFFLINE) { in select_test_ifs() 610 pii->pii_phyint->pi_state); in select_test_ifs() 621 if (pii->pii_phyint->pi_state == PI_OFFLINE) in select_test_ifs() 733 if (pii->pii_phyint->pi_state == PI_NOTARGETS) in select_test_ifs() 736 if (pii->pii_phyint->pi_state == PI_RUNNING) in select_test_ifs() 767 (pi->pi_state == PI_FAILED || in select_test_ifs() 768 pi->pi_state == PI_NOTARGETS)) { in select_test_ifs()
|
/titanic_44/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp_dlpi.c | 256 dl_pinfo[DL_ATTACH_REQ].pi_state = DL_UNATTACHED; in sppp_dlpi_pinfoinit() 260 dl_pinfo[DL_DETACH_REQ].pi_state = DL_UNBOUND; in sppp_dlpi_pinfoinit() 264 dl_pinfo[DL_BIND_REQ].pi_state = DL_UNBOUND; in sppp_dlpi_pinfoinit() 268 dl_pinfo[DL_UNBIND_REQ].pi_state = DL_IDLE; in sppp_dlpi_pinfoinit() 272 dl_pinfo[DL_INFO_REQ].pi_state = -1; /* special handling */ in sppp_dlpi_pinfoinit() 276 dl_pinfo[DL_UNITDATA_REQ].pi_state = DL_IDLE; in sppp_dlpi_pinfoinit() 280 dl_pinfo[DL_PROMISCON_REQ].pi_state = -1; /* special handling */ in sppp_dlpi_pinfoinit() 284 dl_pinfo[DL_PROMISCOFF_REQ].pi_state = -1; /* special handling */ in sppp_dlpi_pinfoinit() 288 dl_pinfo[DL_PHYS_ADDR_REQ].pi_state = -1; /* special handling */ in sppp_dlpi_pinfoinit() 333 } else if (dpi->pi_state != -1 && in sppp_mproto() [all …]
|
H A D | sppp.h | 85 int pi_state; /* acceptable starting state */ member
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
H A D | in.rdisc.c | 104 int pi_state; /* See below */ member 1322 pi->pi_state |= ST_MARKED; in initifs() 1397 pi->pi_state &= ~ST_MARKED; in initifs() 1473 if (pi->pi_state & ST_MARKED) { in initifs() 1475 pi->pi_state |= ST_DELETED; in initifs() 1483 if (!(pi->pi_state & ST_DELETED)) in initifs() 1491 if (pi->pi_state & ST_DELETED) { in initifs() 1518 if (pi->pi_state & ST_DELETED) in initifs() 1672 pi->pi_name, pi->pi_state); in report_interfaces() 1841 if ((!(li->li_physical->pi_state & ST_JOINED)) && in added_logint() [all …]
|
/titanic_44/usr/src/lib/cfgadm_plugins/scsi/common/ |
H A D | cfga_utils.c | 751 di_path_state_t pi_state; in check_available_path() local 754 if (((pi_state = di_path_state(pi_node)) != DI_PATH_STATE_ONLINE) && in check_available_path() 755 (pi_state != DI_PATH_STATE_STANDBY)) { in check_available_path() 763 (((pi_state = di_path_state(next_pi)) == in check_available_path() 765 pi_state == DI_PATH_STATE_STANDBY)) { in check_available_path()
|
H A D | cfga_list.c | 424 di_path_state_t pi_state; in create_pathinfo_ldata() local 490 if ((pi_state = di_path_state(pi_node)) == DI_PATH_STATE_OFFLINE) { in create_pathinfo_ldata() 494 if (pi_state == DI_PATH_STATE_FAULT) { in create_pathinfo_ldata()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | sunmdi.c | 1568 if ((MDI_PI(pip)->pi_state & MDI_PATHINFO_STATE_MASK) in i_mdi_client_compute_state() 1571 else if ((MDI_PI(pip)->pi_state & MDI_PATHINFO_STATE_MASK) in i_mdi_client_compute_state() 1933 if (MDI_PI(pip)->pi_state == in i_mdi_lba_lb() 1936 } else if (MDI_PI(pip)->pi_state == in i_mdi_lba_lb() 1961 (MDI_PI(pip)->pi_state == in i_mdi_lba_lb() 2153 if ((MDI_PI(pip)->pi_state == MDI_PATHINFO_STATE_INIT) || in mdi_select_path() 2206 if ((MDI_PI(pip)->pi_state == in mdi_select_path() 2319 cond = ((MDI_PI(pip)->pi_state == in mdi_select_path() 2325 cond = ((MDI_PI(pip)->pi_state == in mdi_select_path() 2330 cond = ((MDI_PI(pip)->pi_state == in mdi_select_path() [all …]
|
H A D | cpu.c | 2235 const char *pi_state; in cpu_info_kstat_update() local 2245 switch (cp->cpu_type_info.pi_state) { in cpu_info_kstat_update() 2247 pi_state = PS_ONLINE; in cpu_info_kstat_update() 2250 pi_state = PS_POWEROFF; in cpu_info_kstat_update() 2253 pi_state = PS_NOINTR; in cpu_info_kstat_update() 2256 pi_state = PS_FAULTED; in cpu_info_kstat_update() 2259 pi_state = PS_SPARE; in cpu_info_kstat_update() 2262 pi_state = PS_OFFLINE; in cpu_info_kstat_update() 2265 pi_state = "unknown"; in cpu_info_kstat_update() 2267 (void) strcpy(cpu_info_template.ci_state.value.c, pi_state); in cpu_info_kstat_update() [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | tables.h | 69 uint_t pi_state; /* PI_* below */ member
|
H A D | tables.c | 362 pi->pi_state |= PI_JOINED_ALLNODES; in phyint_init_from_k() 414 pi->pi_state |= PI_JOINED_ALLROUTERS; in phyint_init_from_k() 581 pi->pi_name, pi->pi_index, pi->pi_state, pi->pi_kernel_state, in phyint_print() 2327 pi->pi_state = 0; in phyint_cleanup()
|
H A D | main.c | 695 pi->pi_state |= PI_PRESENT; in initifs() 1701 pi->pi_state |= PI_PRESENT; in process_rtsock() 1864 (pi->pi_state & PI_PRESENT)) { in check_if_removed()
|
/titanic_44/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | ri_init.c | 983 pstate2str(cpu_info.pi_state) : "unknown"; in i_cpu_cm_info() 1863 pstate2str(int pi_state) in pstate2str() argument 1867 switch (pi_state) { in pstate2str()
|
/titanic_44/usr/src/cmd/mdb/common/modules/mpt_sas/ |
H A D | mpt_sas.c | 129 switch (pi.pi_state & MDI_PATHINFO_STATE_MASK) { in mdi_info_cb()
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 6840 mdi_pathinfo_state_t pi_state; in vhci_failover() local 7084 (void) mdi_pi_get_state2(npip, &pi_state, &pi_ext_state); in vhci_failover() 7097 if (pi_state == MDI_PATHINFO_STATE_STANDBY) { in vhci_failover() 7118 if (pi_state == MDI_PATHINFO_STATE_ONLINE) { in vhci_failover()
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | devinfo.c | 930 devinfo_pathinfo_state(pi.pi_state); in devinfo_print_pathing()
|