Home
last modified time | relevance | path

Searched refs:oldstate (Results 1 – 4 of 4) sorted by relevance

/kernel/
Dsmpboot.c421 int oldstate; in cpu_wait_death() local
441 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_wait_death()
442 if (oldstate == CPU_DEAD) { in cpu_wait_death()
449 oldstate, CPU_BROKEN) != oldstate) in cpu_wait_death()
467 int oldstate; in cpu_report_death() local
472 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_report_death()
473 if (oldstate != CPU_BROKEN) in cpu_report_death()
478 oldstate, newstate) != oldstate); in cpu_report_death()
/kernel/rcu/
Dtiny.c214 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
216 return READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()
Drcutorture.c339 bool (*poll_gp_state)(unsigned long oldstate);
340 void (*cond_sync)(unsigned long oldstate);
629 static bool srcu_torture_poll_gp_state(unsigned long oldstate) in srcu_torture_poll_gp_state() argument
631 return poll_state_synchronize_srcu(srcu_ctlp, oldstate); in srcu_torture_poll_gp_state()
Dtree.c3916 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
3918 if (rcu_seq_done(&rcu_state.gp_seq, oldstate)) { in poll_state_synchronize_rcu()
3945 void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
3947 if (!poll_state_synchronize_rcu(oldstate)) in cond_synchronize_rcu()