Home
last modified time | relevance | path

Searched refs:gp_seq_needed (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/rcu/
H A Dtree_stall.h714 (long)data_race(rcu_get_root()->gp_seq_needed), in show_rcu_gp_kthreads()
718 READ_ONCE(rnp->gp_seq_needed))) in show_rcu_gp_kthreads()
722 (long)data_race(rnp->gp_seq_needed)); in show_rcu_gp_kthreads()
729 READ_ONCE(rdp->gp_seq_needed))) in show_rcu_gp_kthreads()
732 cpu, (long)data_race(rdp->gp_seq_needed)); in show_rcu_gp_kthreads()
760 READ_ONCE(rnp_root->gp_seq_needed)) || in rcu_check_gp_start_stall()
773 READ_ONCE(rnp_root->gp_seq_needed)) || in rcu_check_gp_start_stall()
787 READ_ONCE(rnp_root->gp_seq_needed)) || in rcu_check_gp_start_stall()
H A Dtree.c1378 if (ULONG_CMP_GE(rnp->gp_seq_needed, gp_seq_req) || in rcu_start_this_gp()
1386 WRITE_ONCE(rnp->gp_seq_needed, gp_seq_req); in rcu_start_this_gp()
1420 if (ULONG_CMP_LT(gp_seq_req, rnp->gp_seq_needed)) { in rcu_start_this_gp()
1421 WRITE_ONCE(rnp_start->gp_seq_needed, rnp->gp_seq_needed); in rcu_start_this_gp()
1422 WRITE_ONCE(rdp->gp_seq_needed, rnp->gp_seq_needed); in rcu_start_this_gp()
1438 needmore = ULONG_CMP_LT(rnp->gp_seq, rnp->gp_seq_needed); in rcu_future_gp_cleanup()
1440 rnp->gp_seq_needed = rnp->gp_seq; /* Avoid counter wrap. */ in rcu_future_gp_cleanup()
1535 if (!READ_ONCE(rdp->gpwrap) && ULONG_CMP_GE(rdp->gp_seq_needed, c)) { in rcu_accelerate_cbs_unlocked()
1652 if (ULONG_CMP_LT(rdp->gp_seq_needed, rnp->gp_seq_needed) || rdp->gpwrap) in __note_gp_changes()
1653 WRITE_ONCE(rdp->gp_seq_needed, rnp->gp_seq_needed); in __note_gp_changes()
[all …]
H A Dtree.h45 unsigned long gp_seq_needed; /* Track furthest future GP request. */ member
153 unsigned long gp_seq_needed; /* Track furthest future GP request. */ member
/OK3568_Linux_fs/kernel/Documentation/RCU/Design/Data-Structures/
H A DData-Structures.rst384 2 unsigned long gp_seq_needed;
395 The ``->gp_seq_needed`` fields record the furthest-in-the-future grace
398 equals or exceeds that of the ``->gp_seq_needed`` field.
409 | No, because if the ``->gp_seq_needed`` field lags behind the |
410 | ``->gp_seq`` field, the ``->gp_seq_needed`` field will be updated at |
830 2 unsigned long gp_seq_needed;
837 ``->gp_seq_needed`` field is the counterpart of the field of the same