Lines Matching refs:gp_state
381 bool (*check_boost_failed)(unsigned long gp_state, int *cpup);
1032 static bool rcu_torture_boost_failed(unsigned long gp_state, unsigned long *start) in rcu_torture_boost_failed() argument
1046 if (cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost_failed()
1048 if (cur_ops->check_boost_failed && !cur_ops->check_boost_failed(gp_state, &cpu)) { in rcu_torture_boost_failed()
1060 current->rt_priority, gp_state, end - *start); in rcu_torture_boost_failed()
1063 gp_done = cur_ops->poll_gp_state(gp_state); in rcu_torture_boost_failed()
1064 pr_info("Boost inversion: GP %lu %s.\n", gp_state, in rcu_torture_boost_failed()
1070 } else if (cur_ops->check_boost_failed && !cur_ops->check_boost_failed(gp_state, NULL)) { in rcu_torture_boost_failed()
1080 unsigned long gp_state; in rcu_torture_boost() local
1111 if (gp_initiated && !failed && !cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost()
1112 failed = rcu_torture_boost_failed(gp_state, &gp_state_time); in rcu_torture_boost()
1114 if (!gp_initiated || cur_ops->poll_gp_state(gp_state)) { in rcu_torture_boost()
1115 gp_state = cur_ops->start_gp_poll(); in rcu_torture_boost()
1124 if (cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost()
1132 if (gp_initiated && !failed && !cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost()
1133 rcu_torture_boost_failed(gp_state, &gp_state_time); in rcu_torture_boost()