Searched refs:gp_state (Results 1 – 8 of 8) sorted by relevance
| /Linux-v6.1/kernel/rcu/ |
| D | sync.c | 39 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 …]
|
| D | tree_stall.h | 502 gp_state_getname(rcu_state.gp_state), in rcu_check_gp_kthread_starvation() 503 data_race(READ_ONCE(rcu_state.gp_state)), in rcu_check_gp_kthread_starvation() 526 short gp_state; in rcu_check_gp_kthread_expired_fqs_timer() local 534 gp_state = smp_load_acquire(&rcu_state.gp_state); in rcu_check_gp_kthread_expired_fqs_timer() 537 if (gp_state == RCU_GP_WAIT_FQS && in rcu_check_gp_kthread_expired_fqs_timer() 793 bool rcu_check_boost_fail(unsigned long gp_state, int *cpup) in rcu_check_boost_fail() argument 856 rcu_state.name, gp_state_getname(rcu_state.gp_state), in show_rcu_gp_kthreads() 857 data_race(READ_ONCE(rcu_state.gp_state)), in show_rcu_gp_kthreads()
|
| D | rcutorture.c | 376 bool (*check_boost_failed)(unsigned long gp_state, int *cpup); 1016 static bool rcu_torture_boost_failed(unsigned long gp_state, unsigned long *start) in rcu_torture_boost_failed() argument 1030 if (cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost_failed() 1032 if (cur_ops->check_boost_failed && !cur_ops->check_boost_failed(gp_state, &cpu)) { in rcu_torture_boost_failed() 1044 current->rt_priority, gp_state, end - *start); in rcu_torture_boost_failed() 1047 gp_done = cur_ops->poll_gp_state(gp_state); in rcu_torture_boost_failed() 1048 pr_info("Boost inversion: GP %lu %s.\n", gp_state, in rcu_torture_boost_failed() 1054 } else if (cur_ops->check_boost_failed && !cur_ops->check_boost_failed(gp_state, NULL)) { in rcu_torture_boost_failed() 1064 unsigned long gp_state; in rcu_torture_boost() local 1095 if (gp_initiated && !failed && !cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost() [all …]
|
| D | rcu.h | 537 static inline bool rcu_check_boost_fail(unsigned long gp_state, int *cpup) { return true; } in rcu_check_boost_fail() argument 548 bool rcu_check_boost_fail(unsigned long gp_state, int *cpup);
|
| D | tree.c | 86 .gp_state = RCU_GP_IDLE, 1481 WRITE_ONCE(rcu_state.gp_state, RCU_GP_ONOFF); in rcu_gp_init() 1545 WRITE_ONCE(rcu_state.gp_state, RCU_GP_INIT); in rcu_gp_init() 1659 WRITE_ONCE(rcu_state.gp_state, RCU_GP_WAIT_FQS); in rcu_gp_fqs_loop() 1663 WRITE_ONCE(rcu_state.gp_state, RCU_GP_DOING_FQS); in rcu_gp_fqs_loop() 1788 WRITE_ONCE(rcu_state.gp_state, RCU_GP_IDLE); in rcu_gp_cleanup() 1842 WRITE_ONCE(rcu_state.gp_state, RCU_GP_WAIT_GPS); in rcu_gp_kthread() 1847 WRITE_ONCE(rcu_state.gp_state, RCU_GP_DONE_GPS); in rcu_gp_kthread() 1862 WRITE_ONCE(rcu_state.gp_state, RCU_GP_CLEANUP); in rcu_gp_kthread() 1864 WRITE_ONCE(rcu_state.gp_state, RCU_GP_CLEANED); in rcu_gp_kthread()
|
| D | tasks.h | 86 int gp_state; member 206 rtp->gp_state = newstate; in set_tasks_gp_state() 214 int i = data_race(rtp->gp_state); // Let KCSAN detect update races in tasks_gp_state_getname() 633 tasks_gp_state_getname(rtp), data_race(rtp->gp_state), in show_rcu_tasks_generic_gp_kthread()
|
| D | tree.h | 325 short gp_state; /* GP kthread sleep state. */ member
|
| /Linux-v6.1/include/linux/ |
| D | rcu_sync.h | 18 int gp_state; member 36 return !READ_ONCE(rsp->gp_state); /* GP_IDLE */ in rcu_sync_is_idle() 46 .gp_state = 0, \
|