Lines Matching refs:j

203 	unsigned long j = jiffies;  in record_gp_stall_check_time()  local
206 WRITE_ONCE(rcu_state.gp_start, j); in record_gp_stall_check_time()
210 WRITE_ONCE(rcu_state.jiffies_stall, j + j1); in record_gp_stall_check_time()
211 rcu_state.jiffies_resched = j + j1 / 2; in record_gp_stall_check_time()
229 unsigned long j; in rcu_stall_kick_kthreads() local
233 j = READ_ONCE(rcu_state.jiffies_kick_kthreads); in rcu_stall_kick_kthreads()
234 if (time_after(jiffies, j) && rcu_state.gp_kthread && in rcu_stall_kick_kthreads()
240 WRITE_ONCE(rcu_state.jiffies_kick_kthreads, j + HZ); in rcu_stall_kick_kthreads()
450 unsigned long j = jiffies - READ_ONCE(rcu_state.gp_activity); in rcu_is_gp_kthread_starving() local
453 *jp = j; in rcu_is_gp_kthread_starving()
454 return j > 2 * HZ; in rcu_is_gp_kthread_starving()
461 unsigned long j; in rcu_is_rcuc_kthread_starving() local
471 j = jiffies - READ_ONCE(rdp->rcuc_activity); in rcu_is_rcuc_kthread_starving()
474 *jp = j; in rcu_is_rcuc_kthread_starving()
475 return j > 2 * HZ; in rcu_is_rcuc_kthread_starving()
526 unsigned long j; in print_cpu_stall_info() local
545 rcuc_starved = rcu_is_rcuc_kthread_starving(rdp, &j); in print_cpu_stall_info()
548 snprintf(buf, sizeof(buf), " rcuc=%ld jiffies(starved)", j); in print_cpu_stall_info()
573 unsigned long j; in rcu_check_gp_kthread_starvation() local
575 if (rcu_is_gp_kthread_starving(&j)) { in rcu_check_gp_kthread_starvation()
578 rcu_state.name, j, in rcu_check_gp_kthread_starvation()
636 unsigned long j; in print_other_cpu_stall() local
686 j = jiffies; in print_other_cpu_stall()
689 rcu_state.name, j - gpa, j, gpa, in print_other_cpu_stall()
779 unsigned long j; in check_cpu_stall() local
799 j = jiffies; in check_cpu_stall()
827 ULONG_CMP_LT(j, js) || in check_cpu_stall()
835 (self_detected || ULONG_CMP_GE(j, js + RCU_STALL_RAT_DELAY)) && in check_cpu_stall()
849 rcu_stall_notifier_call_chain(RCU_STALL_NOTIFY_NORM, (void *)j - gps); in check_cpu_stall()
939 unsigned long j; in show_rcu_gp_kthreads() local
948 j = jiffies; in show_rcu_gp_kthreads()
949 ja = j - data_race(READ_ONCE(rcu_state.gp_activity)); in show_rcu_gp_kthreads()
950 jr = j - data_race(READ_ONCE(rcu_state.gp_req_activity)); in show_rcu_gp_kthreads()
951 js = j - data_race(READ_ONCE(rcu_state.gp_start)); in show_rcu_gp_kthreads()
952 jw = j - data_race(READ_ONCE(rcu_state.gp_wake_time)); in show_rcu_gp_kthreads()
1007 unsigned long j; in rcu_check_gp_start_stall() local
1016 j = jiffies; /* Expensive access, and in common case don't get here. */ in rcu_check_gp_start_stall()
1017 if (time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1018 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1023 j = jiffies; in rcu_check_gp_start_stall()
1027 time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1028 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1037 j = jiffies; in rcu_check_gp_start_stall()
1041 time_before(j, READ_ONCE(rcu_state.gp_req_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1042 time_before(j, READ_ONCE(rcu_state.gp_activity) + gpssdelay) || in rcu_check_gp_start_stall()
1062 void rcu_fwd_progress_check(unsigned long j) in rcu_fwd_progress_check() argument
1079 rcu_check_gp_start_stall(rdp->mynode, rdp, j); in rcu_fwd_progress_check()