Lines Matching refs:shared_state
407 struct ssb_state *shared_state; member
429 if (st->shared_state) in speculative_store_bypass_ht_init()
442 if (!per_cpu(ssb_state, cpu).shared_state) in speculative_store_bypass_ht_init()
446 st->shared_state = per_cpu(ssb_state, cpu).shared_state; in speculative_store_bypass_ht_init()
456 st->shared_state = st; in speculative_store_bypass_ht_init()
487 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
489 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
491 st->shared_state->disable_state++; in amd_set_core_ssb_state()
492 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()
497 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
498 st->shared_state->disable_state--; in amd_set_core_ssb_state()
499 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
501 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()