Searched refs:pks_state (Results 1 – 2 of 2) sorted by relevance
554 scsb_ks_state_t *pks_state; in do_scsb_kstat() local608 pks_state = (scsb_ks_state_t *)ksp_state->ks_data; in do_scsb_kstat()609 scsb_ks_state = *pks_state; /* set the global for future */ in do_scsb_kstat()613 pks_state->scb_present ? " " : " not ", 0); in do_scsb_kstat()615 pks_state->ssb_present ? " " : " not ", 0); in do_scsb_kstat()617 pks_state->scsb_frozen ? " " : " not ", 0); in do_scsb_kstat()619 switch (pks_state->scsb_mode) { in do_scsb_kstat()630 log_printf("\tscsb event code: 0x%x\n", pks_state->event_code, 0); in do_scsb_kstat()
5795 scsb_ks_state_t *pks_state; in update_ks_state() local5837 pks_state = (scsb_ks_state_t *)ksp->ks_data; in update_ks_state()5838 pks_state->scb_present = (scsb->scsb_state & SCSB_SCB_PRESENT) ? 1 : 0; in update_ks_state()5839 pks_state->ssb_present = (scsb->scsb_state & SCSB_SSB_PRESENT) ? 1 : 0; in update_ks_state()5840 pks_state->scsb_frozen = (scsb->scsb_state & SCSB_FROZEN) ? 1 : 0; in update_ks_state()5842 pks_state->scsb_mode = (uint8_t)ENVC_DEBUG_MODE; in update_ks_state()5844 pks_state->scsb_mode = (uint8_t)ENVCTRL_DIAG_MODE; in update_ks_state()5846 pks_state->scsb_mode = (uint8_t)ENVCTRL_NORMAL_MODE; in update_ks_state()5854 pks_state->event_code = 0; in update_ks_state()5859 pks_state->event_code = current_evc; in update_ks_state()[all …]