Lines Matching refs:shared_state
492 struct ssb_state *shared_state; member
514 if (st->shared_state) in speculative_store_bypass_ht_init()
527 if (!per_cpu(ssb_state, cpu).shared_state) in speculative_store_bypass_ht_init()
531 st->shared_state = per_cpu(ssb_state, cpu).shared_state; in speculative_store_bypass_ht_init()
541 st->shared_state = st; in speculative_store_bypass_ht_init()
572 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
574 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
576 st->shared_state->disable_state++; in amd_set_core_ssb_state()
577 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()
582 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
583 st->shared_state->disable_state--; in amd_set_core_ssb_state()
584 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
586 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()