Searched refs:gp_state (Results 1 - 8 of 8) sorted by relevance

/linux-master/kernel/rcu/
H A Dsync.c62 WARN_ON_ONCE(READ_ONCE(rsp->gp_state) == GP_IDLE);
63 WARN_ON_ONCE(READ_ONCE(rsp->gp_state) == GP_PASSED);
70 WRITE_ONCE(rsp->gp_state, GP_PASSED);
72 } else if (rsp->gp_state == GP_REPLAY) {
77 WRITE_ONCE(rsp->gp_state, GP_EXIT);
85 WRITE_ONCE(rsp->gp_state, GP_IDLE);
107 int gp_state; local
110 gp_state = rsp->gp_state;
111 if (gp_state
175 int gp_state; local
[all...]
H A Dtree_stall.h398 * Convert a ->gp_state value to a character string.
540 gp_state_getname(rcu_state.gp_state),
541 data_race(READ_ONCE(rcu_state.gp_state)),
564 short gp_state; local
569 * Order reads of .gp_state and .jiffies_force_qs.
572 gp_state = smp_load_acquire(&rcu_state.gp_state);
575 if (gp_state == RCU_GP_WAIT_FQS &&
830 bool rcu_check_boost_fail(unsigned long gp_state, int *cpup) argument
893 rcu_state.name, gp_state_getname(rcu_state.gp_state),
[all...]
H A Drcu.h615 static inline bool rcu_check_boost_fail(unsigned long gp_state, int *cpup) { return true; } argument
626 bool rcu_check_boost_fail(unsigned long gp_state, int *cpup);
H A Drcutorture.c382 bool (*check_boost_failed)(unsigned long gp_state, int *cpup);
1033 static bool rcu_torture_boost_failed(unsigned long gp_state, unsigned long *start) argument
1047 if (cur_ops->poll_gp_state(gp_state))
1049 if (cur_ops->check_boost_failed && !cur_ops->check_boost_failed(gp_state, &cpu)) {
1060 pr_info("Boost inversion thread ->rt_priority %u gp_state %lu jiffies %lu\n",
1061 current->rt_priority, gp_state, end - *start);
1064 gp_done = cur_ops->poll_gp_state(gp_state);
1065 pr_info("Boost inversion: GP %lu %s.\n", gp_state,
1071 } else if (cur_ops->check_boost_failed && !cur_ops->check_boost_failed(gp_state, NULL)) {
1081 unsigned long gp_state; local
[all...]
H A Dtree.h345 short gp_state; /* GP kthread sleep state. */ member in struct:rcu_state
410 /* Values for rcu_state structure's gp_state field. */
H A Dtasks.h61 * @gp_state: Grace period's most recent state transition (debugging).
64 * @gp_jiffies: Time of last @gp_state transition.
93 int gp_state; member in struct:rcu_tasks
221 rtp->gp_state = newstate;
229 int i = data_race(rtp->gp_state); // Let KCSAN detect update races
712 tasks_gp_state_getname(rtp), data_race(rtp->gp_state),
1080 pr_info("%s: %s grace period number %lu (since boot) gp_state: %s is %lu jiffies old.\n",
H A Dtree.c87 .gp_state = RCU_GP_IDLE,
1472 WRITE_ONCE(rcu_state.gp_state, RCU_GP_ONOFF);
1536 WRITE_ONCE(rcu_state.gp_state, RCU_GP_INIT);
1662 WRITE_ONCE(rcu_state.gp_state, RCU_GP_WAIT_FQS);
1666 WRITE_ONCE(rcu_state.gp_state, RCU_GP_DOING_FQS);
1791 WRITE_ONCE(rcu_state.gp_state, RCU_GP_IDLE);
1805 // the RCU_GP_FLAG_INIT bit in ->gp_state (which records
1845 WRITE_ONCE(rcu_state.gp_state, RCU_GP_WAIT_GPS);
1850 WRITE_ONCE(rcu_state.gp_state, RCU_GP_DONE_GPS);
1865 WRITE_ONCE(rcu_state.gp_state, RCU_GP_CLEANU
[all...]
/linux-master/include/linux/
H A Drcu_sync.h18 int gp_state; member in struct:rcu_sync
36 return !READ_ONCE(rsp->gp_state); /* GP_IDLE */
45 .gp_state = 0, \

Completed in 190 milliseconds