Lines Matching refs:shared_state
498 struct ssb_state *shared_state; member
520 if (st->shared_state) in speculative_store_bypass_ht_init()
533 if (!per_cpu(ssb_state, cpu).shared_state) in speculative_store_bypass_ht_init()
537 st->shared_state = per_cpu(ssb_state, cpu).shared_state; in speculative_store_bypass_ht_init()
547 st->shared_state = st; in speculative_store_bypass_ht_init()
578 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
580 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
582 st->shared_state->disable_state++; in amd_set_core_ssb_state()
583 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()
588 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
589 st->shared_state->disable_state--; in amd_set_core_ssb_state()
590 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
592 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()