Lines Matching refs:shared_state
283 struct ssb_state *shared_state; member
305 if (st->shared_state) in speculative_store_bypass_ht_init()
318 if (!per_cpu(ssb_state, cpu).shared_state) in speculative_store_bypass_ht_init()
322 st->shared_state = per_cpu(ssb_state, cpu).shared_state; in speculative_store_bypass_ht_init()
332 st->shared_state = st; in speculative_store_bypass_ht_init()
363 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
365 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
367 st->shared_state->disable_state++; in amd_set_core_ssb_state()
368 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()
373 raw_spin_lock(&st->shared_state->lock); in amd_set_core_ssb_state()
374 st->shared_state->disable_state--; in amd_set_core_ssb_state()
375 if (!st->shared_state->disable_state) in amd_set_core_ssb_state()
377 raw_spin_unlock(&st->shared_state->lock); in amd_set_core_ssb_state()