Home
last modified time | relevance | path

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

/kernel/
Dsmpboot.c428 int oldstate; in cpu_wait_death() local
448 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_wait_death()
450 if (oldstate == CPU_DEAD) { in cpu_wait_death()
457 &oldstate, CPU_BROKEN)) in cpu_wait_death()
475 int oldstate; in cpu_report_death() local
479 oldstate = atomic_read(&per_cpu(cpu_hotplug_state, cpu)); in cpu_report_death()
481 if (oldstate != CPU_BROKEN) in cpu_report_death()
486 &oldstate, newstate)); in cpu_report_death()
/kernel/rcu/
Dtiny.c242 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
244 return oldstate == RCU_GET_STATE_COMPLETED || READ_ONCE(rcu_ctrlblk.gp_seq) != oldstate; in poll_state_synchronize_rcu()
Dtree_exp.h1077 void cond_synchronize_rcu_expedited(unsigned long oldstate) in cond_synchronize_rcu_expedited() argument
1079 if (!poll_state_synchronize_rcu(oldstate)) in cond_synchronize_rcu_expedited()
Drcutorture.c357 bool (*poll_gp_state_exp)(unsigned long oldstate);
358 void (*cond_sync_exp)(unsigned long oldstate);
366 bool (*poll_gp_state)(unsigned long oldstate);
369 void (*cond_sync)(unsigned long oldstate);
678 static bool srcu_torture_poll_gp_state(unsigned long oldstate) in srcu_torture_poll_gp_state() argument
680 return poll_state_synchronize_srcu(srcu_ctlp, oldstate); in srcu_torture_poll_gp_state()
Dtree.c3806 bool poll_state_synchronize_rcu(unsigned long oldstate) in poll_state_synchronize_rcu() argument
3808 if (oldstate == RCU_GET_STATE_COMPLETED || in poll_state_synchronize_rcu()
3809 rcu_seq_done_exact(&rcu_state.gp_seq_polled, oldstate)) { in poll_state_synchronize_rcu()
3884 void cond_synchronize_rcu(unsigned long oldstate) in cond_synchronize_rcu() argument
3886 if (!poll_state_synchronize_rcu(oldstate)) in cond_synchronize_rcu()