Home
last modified time | relevance | path

Searched refs:newstate (Results 1 – 6 of 6) sorted by relevance

/kernel/
Dsmpboot.c476 int newstate; in cpu_report_death() local
482 newstate = CPU_DEAD; in cpu_report_death()
484 newstate = CPU_DEAD_FROZEN; in cpu_report_death()
486 &oldstate, newstate)); in cpu_report_death()
487 return newstate == CPU_DEAD; in cpu_report_death()
Dstop_machine.c183 enum multi_stop_state newstate) in set_state() argument
188 WRITE_ONCE(msdata->state, newstate); in set_state()
207 enum multi_stop_state newstate, curstate = MULTI_STOP_NONE; in multi_cpu_stop() local
231 newstate = READ_ONCE(msdata->state); in multi_cpu_stop()
232 if (newstate != curstate) { in multi_cpu_stop()
233 curstate = newstate; in multi_cpu_stop()
/kernel/rcu/
Drcu.h49 static inline void rcu_seq_set_state(unsigned long *sp, int newstate) in rcu_seq_set_state() argument
51 WARN_ON_ONCE(newstate & ~RCU_SEQ_STATE_MASK); in rcu_seq_set_state()
52 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()
Drcutorture.c1731 static void rcutorture_one_extend(int *readstate, int newstate, in rcutorture_one_extend() argument
1740 int statesnew = ~*readstate & newstate; in rcutorture_one_extend()
1741 int statesold = *readstate & ~newstate; in rcutorture_one_extend()
1745 rtrsp->rt_readstate = newstate; in rcutorture_one_extend()
1799 if ((statesnew || statesold) && *readstate && newstate) in rcutorture_one_extend()
1812 *readstate = idxnew1 | idxnew2 | newstate; in rcutorture_one_extend()
1915 int newstate; in rcu_torture_one_read() local
1925 newstate = rcutorture_extend_mask(readstate, trsp); in rcu_torture_one_read()
1926 rcutorture_one_extend(&readstate, newstate, trsp, rtrsp++); in rcu_torture_one_read()
Dtasks.h204 static void set_tasks_gp_state(struct rcu_tasks *rtp, int newstate) in set_tasks_gp_state() argument
206 rtp->gp_state = newstate; in set_tasks_gp_state()
/kernel/time/
Dhrtimer.c1106 u8 newstate, int reprogram) in __remove_hrtimer() argument
1112 WRITE_ONCE(timer->state, newstate); in __remove_hrtimer()