Lines Matching refs:shared_state
301 struct ssb_state *shared_state; member
323 if (st->shared_state) in speculative_store_bypass_ht_init()
336 if (!per_cpu(ssb_state, cpu).shared_state) in speculative_store_bypass_ht_init()
340 st->shared_state = per_cpu(ssb_state, cpu).shared_state; in speculative_store_bypass_ht_init()
350 st->shared_state = st; in speculative_store_bypass_ht_init()
381 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
383 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
385 st->shared_state->disable_state++; in amd_set_core_ssb_state()
386 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()
391 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
392 st->shared_state->disable_state--; in amd_set_core_ssb_state()
393 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
395 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()