Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/rcu/
Dsync.c39 rsp->gp_state = GP_PASSED; in rcu_sync_enter_start()
78 WARN_ON_ONCE(READ_ONCE(rsp->gp_state) == GP_IDLE); in rcu_sync_func()
79 WARN_ON_ONCE(READ_ONCE(rsp->gp_state) == GP_PASSED); in rcu_sync_func()
86 WRITE_ONCE(rsp->gp_state, GP_PASSED); in rcu_sync_func()
88 } else if (rsp->gp_state == GP_REPLAY) { in rcu_sync_func()
93 WRITE_ONCE(rsp->gp_state, GP_EXIT); in rcu_sync_func()
101 WRITE_ONCE(rsp->gp_state, GP_IDLE); in rcu_sync_func()
123 int gp_state; in rcu_sync_enter() local
126 gp_state = rsp->gp_state; in rcu_sync_enter()
127 if (gp_state == GP_IDLE) { in rcu_sync_enter()
[all …]
Dtree_stall.h344 gp_state_getname(rcu_state.gp_state), rcu_state.gp_state, in rcu_check_gp_kthread_starvation()
567 rcu_state.name, gp_state_getname(rcu_state.gp_state), in show_rcu_gp_kthreads()
568 rcu_state.gp_state, in show_rcu_gp_kthreads()
Dtree.c89 .gp_state = RCU_GP_IDLE,
1482 rcu_state.gp_state = RCU_GP_ONOFF; in rcu_gp_init()
1542 rcu_state.gp_state = RCU_GP_INIT; in rcu_gp_init()
1638 rcu_state.gp_state = RCU_GP_WAIT_FQS; in rcu_gp_fqs_loop()
1641 rcu_state.gp_state = RCU_GP_DOING_FQS; in rcu_gp_fqs_loop()
1745 rcu_state.gp_state = RCU_GP_IDLE; in rcu_gp_cleanup()
1782 rcu_state.gp_state = RCU_GP_WAIT_GPS; in rcu_gp_kthread()
1786 rcu_state.gp_state = RCU_GP_DONE_GPS; in rcu_gp_kthread()
1802 rcu_state.gp_state = RCU_GP_CLEANUP; in rcu_gp_kthread()
1804 rcu_state.gp_state = RCU_GP_CLEANED; in rcu_gp_kthread()
Dtree.h305 short gp_state; /* GP kthread sleep state. */ member
/Linux-v5.4/include/linux/
Drcu_sync.h18 int gp_state; member
36 return !READ_ONCE(rsp->gp_state); /* GP_IDLE */ in rcu_sync_is_idle()
46 .gp_state = 0, \