• Home
  • Raw
  • Download

Lines Matching refs:cpu

367 	int cpu;  in rcu_dump_cpu_stacks()  local
373 for_each_leaf_node_possible_cpu(rnp, cpu) in rcu_dump_cpu_stacks()
374 if (rnp->qsmask & leaf_node_cpu_bit(rnp, cpu)) { in rcu_dump_cpu_stacks()
375 if (cpu_is_offline(cpu)) in rcu_dump_cpu_stacks()
376 pr_err("Offline CPU %d blocking current GP.\n", cpu); in rcu_dump_cpu_stacks()
378 dump_cpu_task(cpu); in rcu_dump_cpu_stacks()
418 int cpu; in rcu_is_rcuc_kthread_starving() local
426 cpu = task_cpu(rcuc); in rcu_is_rcuc_kthread_starving()
427 if (cpu_is_offline(cpu) || idle_cpu(cpu)) in rcu_is_rcuc_kthread_starving()
448 static void print_cpu_stall_info(int cpu) in print_cpu_stall_info() argument
452 struct rcu_data *rdp = per_cpu_ptr(&rcu_data, cpu); in print_cpu_stall_info()
474 rcu_dynticks_in_eqs(rcu_dynticks_snap(cpu)); in print_cpu_stall_info()
479 cpu, in print_cpu_stall_info()
480 "O."[!!cpu_online(cpu)], in print_cpu_stall_info()
487 rcu_dynticks_snap(cpu) & 0xffff, in print_cpu_stall_info()
488 ct_dynticks_nesting_cpu(cpu), ct_dynticks_nmi_nesting_cpu(cpu), in print_cpu_stall_info()
489 rdp->softirq_snap, kstat_softirqs_cpu(RCU_SOFTIRQ, cpu), in print_cpu_stall_info()
498 int cpu; in rcu_check_gp_kthread_starvation() local
503 cpu = gpk ? task_cpu(gpk) : -1; in rcu_check_gp_kthread_starvation()
510 gpk ? data_race(READ_ONCE(gpk->__state)) : ~0, cpu); in rcu_check_gp_kthread_starvation()
515 if (cpu >= 0) { in rcu_check_gp_kthread_starvation()
516 if (cpu_is_offline(cpu)) { in rcu_check_gp_kthread_starvation()
517 pr_err("RCU GP kthread last ran on offline CPU %d.\n", cpu); in rcu_check_gp_kthread_starvation()
520 dump_cpu_task(cpu); in rcu_check_gp_kthread_starvation()
534 int cpu; in rcu_check_gp_kthread_expired_fqs_timer() local
546 cpu = task_cpu(gpk); in rcu_check_gp_kthread_expired_fqs_timer()
554 cpu, kstat_softirqs_cpu(TIMER_SOFTIRQ, cpu)); in rcu_check_gp_kthread_expired_fqs_timer()
560 int cpu; in print_other_cpu_stall() local
585 for_each_leaf_node_possible_cpu(rnp, cpu) in print_other_cpu_stall()
586 if (rnp->qsmask & leaf_node_cpu_bit(rnp, cpu)) { in print_other_cpu_stall()
587 print_cpu_stall_info(cpu); in print_other_cpu_stall()
595 for_each_possible_cpu(cpu) in print_other_cpu_stall()
596 totqlen += rcu_get_n_cbs_cpu(cpu); in print_other_cpu_stall()
633 int cpu; in print_cpu_stall() local
656 for_each_possible_cpu(cpu) in print_cpu_stall()
657 totqlen += rcu_get_n_cbs_cpu(cpu); in print_cpu_stall()
812 int cpu; in rcu_check_boost_fail() local
836 for_each_leaf_node_possible_cpu(rnp, cpu) { in rcu_check_boost_fail()
837 if (rnp->qsmask & (1UL << (cpu - rnp->grplo))) { in rcu_check_boost_fail()
839 *cpup = cpu; in rcu_check_boost_fail()
856 int cpu; in show_rcu_gp_kthreads() local
897 for_each_leaf_node_possible_cpu(rnp, cpu) { in show_rcu_gp_kthreads()
898 rdp = per_cpu_ptr(&rcu_data, cpu); in show_rcu_gp_kthreads()
904 cpu, (long)data_race(READ_ONCE(rdp->gp_seq_needed))); in show_rcu_gp_kthreads()
907 for_each_possible_cpu(cpu) { in show_rcu_gp_kthreads()
908 rdp = per_cpu_ptr(&rcu_data, cpu); in show_rcu_gp_kthreads()
984 int cpu; in rcu_fwd_progress_check() local
1001 for_each_possible_cpu(cpu) { in rcu_fwd_progress_check()
1002 cbs = rcu_get_n_cbs_cpu(cpu); in rcu_fwd_progress_check()
1007 pr_cont(" %d: %lu", cpu, cbs); in rcu_fwd_progress_check()
1011 max_cpu = cpu; in rcu_fwd_progress_check()