Lines Matching refs:shared_state
435 struct ssb_state *shared_state; member
457 if (st->shared_state) in speculative_store_bypass_ht_init()
470 if (!per_cpu(ssb_state, cpu).shared_state) in speculative_store_bypass_ht_init()
474 st->shared_state = per_cpu(ssb_state, cpu).shared_state; in speculative_store_bypass_ht_init()
484 st->shared_state = st; in speculative_store_bypass_ht_init()
515 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
517 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
519 st->shared_state->disable_state++; in amd_set_core_ssb_state()
520 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()
525 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
526 st->shared_state->disable_state--; in amd_set_core_ssb_state()
527 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
529 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()