Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h460 gp_state_getname(rcu_state.gp_state), rcu_state.gp_state, in rcu_check_gp_kthread_starvation()
705 rcu_state.name, gp_state_getname(rcu_state.gp_state), in show_rcu_gp_kthreads()
706 rcu_state.gp_state, t ? t->state : 0x1ffffL, in show_rcu_gp_kthreads()
Dtasks.h52 int gp_state; member
134 rtp->gp_state = newstate; in set_tasks_gp_state()
142 int i = data_race(rtp->gp_state); // Let KCSAN detect update races in tasks_gp_state_getname()
284 tasks_gp_state_getname(rtp), data_race(rtp->gp_state), in show_rcu_tasks_generic_gp_kthread()
Dtree.c89 .gp_state = RCU_GP_IDLE,
1768 rcu_state.gp_state = RCU_GP_ONOFF; in rcu_gp_init()
1828 rcu_state.gp_state = RCU_GP_INIT; in rcu_gp_init()
1933 rcu_state.gp_state = RCU_GP_WAIT_FQS; in rcu_gp_fqs_loop()
1937 rcu_state.gp_state = RCU_GP_DOING_FQS; in rcu_gp_fqs_loop()
2051 rcu_state.gp_state = RCU_GP_IDLE; in rcu_gp_cleanup()
2091 rcu_state.gp_state = RCU_GP_WAIT_GPS; in rcu_gp_kthread()
2096 rcu_state.gp_state = RCU_GP_DONE_GPS; in rcu_gp_kthread()
2111 rcu_state.gp_state = RCU_GP_CLEANUP; in rcu_gp_kthread()
2113 rcu_state.gp_state = RCU_GP_CLEANED; in rcu_gp_kthread()
Dtree.h312 short gp_state; /* GP kthread sleep state. */ member
/kernel/linux/linux-5.10/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, \