• Home
  • Raw
  • Download

Lines Matching refs:stat

234 	struct ptc_stats *stat = bcp->statp;  in bau_process_retry_msg()  local
236 stat->d_retries++; in bau_process_retry_msg()
267 stat->d_canceled++; in bau_process_retry_msg()
275 stat->d_nocanceled++; in bau_process_retry_msg()
288 struct ptc_stats *stat = bcp->statp; in bau_process_message() local
297 stat->d_alltlb++; in bau_process_message()
300 stat->d_onetlb++; in bau_process_message()
302 stat->d_requestee++; in bau_process_message()
376 struct ptc_stats *stat = bcp->statp; in do_reset() local
378 stat->d_resets++; in do_reset()
407 stat->d_rcanceled++; in do_reset()
534 struct ptc_stats *stat = bcp->statp; in uv1_wait_completion() local
546 stat->s_stimeout++; in uv1_wait_completion()
549 stat->s_dtimeout++; in uv1_wait_completion()
593 struct ptc_stats *stat = bcp->statp; in handle_uv2_busy() local
595 stat->s_uv2_wars++; in handle_uv2_busy()
609 struct ptc_stats *stat = bcp->statp; in uv2_3_wait_completion() local
623 stat->s_stimeout++; in uv2_3_wait_completion()
639 stat->s_plugged++; in uv2_3_wait_completion()
643 stat->s_dtimeout++; in uv2_3_wait_completion()
673 u64 stat; in read_status() local
675 stat = ((read_lmmr(status_mmr) >> index) & UV_ACT_STATUS_MASK) << 1; in read_status()
676 stat |= (read_lmmr(UVH_LB_BAU_SB_ACTIVATION_STATUS_2) >> desc) & 0x1; in read_status()
678 return stat; in read_status()
684 struct ptc_stats *stat = bcp->statp; in uv4_wait_completion() local
696 stat->s_stimeout++; in uv4_wait_completion()
700 stat->s_dtimeout++; in uv4_wait_completion()
705 stat->s_plugged++; in uv4_wait_completion()
730 struct bau_control *hmaster, struct ptc_stats *stat) in destination_plugged() argument
747 stat->s_resets_plug++; in destination_plugged()
753 struct ptc_stats *stat) in destination_timeout() argument
769 stat->s_resets_timeout++; in destination_timeout()
777 static void disable_for_period(struct bau_control *bcp, struct ptc_stats *stat) in disable_for_period() argument
787 stat->s_bau_disabled++; in disable_for_period()
801 static void count_max_concurr(int stat, struct bau_control *bcp, in count_max_concurr() argument
806 if (stat != FLUSH_COMPLETE) in count_max_concurr()
816 struct bau_control *bcp, struct ptc_stats *stat, in record_send_stats() argument
823 stat->s_time += elapsed; in record_send_stats()
832 stat->s_congested++; in record_send_stats()
833 disable_for_period(bcp, stat); in record_send_stats()
837 stat->s_requestor--; in record_send_stats()
840 stat->s_retriesok++; in record_send_stats()
842 stat->s_giveup++; in record_send_stats()
849 disable_for_period(bcp, stat); in record_send_stats()
850 stat->s_giveuplimit++; in record_send_stats()
859 static void uv1_throttle(struct bau_control *hmaster, struct ptc_stats *stat) in uv1_throttle() argument
866 stat->s_throttles++; in uv1_throttle()
878 struct ptc_stats *stat) in handle_cmplt() argument
881 destination_plugged(bau_desc, bcp, hmaster, stat); in handle_cmplt()
883 destination_timeout(bau_desc, bcp, hmaster, stat); in handle_cmplt()
907 struct ptc_stats *stat = bcp->statp; in uv_flush_send_and_wait() local
914 uv1_throttle(hmaster, stat); in uv_flush_send_and_wait()
939 stat->s_retry_messages++; in uv_flush_send_and_wait()
954 handle_cmplt(completion_stat, bau_desc, bcp, hmaster, stat); in uv_flush_send_and_wait()
958 stat->s_overipilimit++; in uv_flush_send_and_wait()
975 record_send_stats(time1, time2, bcp, stat, completion_stat, try); in uv_flush_send_and_wait()
988 static int check_enable(struct bau_control *bcp, struct ptc_stats *stat) in check_enable() argument
997 stat->s_bau_reenabled++; in check_enable()
1014 static void record_send_statistics(struct ptc_stats *stat, int locals, int hubs, in record_send_statistics() argument
1017 stat->s_requestor++; in record_send_statistics()
1018 stat->s_ntargcpu += remotes + locals; in record_send_statistics()
1019 stat->s_ntargremotes += remotes; in record_send_statistics()
1020 stat->s_ntarglocals += locals; in record_send_statistics()
1025 stat->s_ntarglocaluvhub++; in record_send_statistics()
1026 stat->s_ntargremoteuvhub += (hubs - 1); in record_send_statistics()
1028 stat->s_ntargremoteuvhub += hubs; in record_send_statistics()
1030 stat->s_ntarguvhub += hubs; in record_send_statistics()
1033 stat->s_ntarguvhub16++; in record_send_statistics()
1035 stat->s_ntarguvhub8++; in record_send_statistics()
1037 stat->s_ntarguvhub4++; in record_send_statistics()
1039 stat->s_ntarguvhub2++; in record_send_statistics()
1041 stat->s_ntarguvhub1++; in record_send_statistics()
1109 struct ptc_stats *stat; in uv_flush_tlb_others() local
1118 stat = bcp->statp; in uv_flush_tlb_others()
1119 stat->s_enters++; in uv_flush_tlb_others()
1133 if (check_enable(bcp, stat)) { in uv_flush_tlb_others()
1134 stat->s_ipifordisabled++; in uv_flush_tlb_others()
1149 stat->s_ntargself++; in uv_flush_tlb_others()
1157 record_send_statistics(stat, locals, hubs, remotes, bau_desc); in uv_flush_tlb_others()
1281 struct ptc_stats *stat; in uv_bau_message_interrupt() local
1289 stat = bcp->statp; in uv_bau_message_interrupt()
1311 stat->d_time += (get_cycles() - time_start); in uv_bau_message_interrupt()
1313 stat->d_nomsg++; in uv_bau_message_interrupt()
1315 stat->d_multmsg++; in uv_bau_message_interrupt()
1398 struct ptc_stats *stat; in ptc_seq_show() local
1423 stat = bcp->statp; in ptc_seq_show()
1427 cpu, bcp->nobau, stat->s_requestor, in ptc_seq_show()
1428 cycles_2_us(stat->s_time), in ptc_seq_show()
1429 stat->s_ntargself, stat->s_ntarglocals, in ptc_seq_show()
1430 stat->s_ntargremotes, stat->s_ntargcpu, in ptc_seq_show()
1431 stat->s_ntarglocaluvhub, stat->s_ntargremoteuvhub, in ptc_seq_show()
1432 stat->s_ntarguvhub, stat->s_ntarguvhub16); in ptc_seq_show()
1434 stat->s_ntarguvhub8, stat->s_ntarguvhub4, in ptc_seq_show()
1435 stat->s_ntarguvhub2, stat->s_ntarguvhub1, in ptc_seq_show()
1436 stat->s_dtimeout, stat->s_strongnacks); in ptc_seq_show()
1438 stat->s_retry_messages, stat->s_retriesok, in ptc_seq_show()
1439 stat->s_resets_plug, stat->s_resets_timeout, in ptc_seq_show()
1440 stat->s_giveup, stat->s_stimeout, in ptc_seq_show()
1441 stat->s_busy, stat->s_throttles); in ptc_seq_show()
1443 stat->s_bau_disabled, stat->s_bau_reenabled, in ptc_seq_show()
1444 stat->s_uv2_wars, stat->s_uv2_wars_hw, in ptc_seq_show()
1445 stat->s_uv2_war_waits, stat->s_enters, in ptc_seq_show()
1446 stat->s_ipifordisabled, stat->s_plugged, in ptc_seq_show()
1447 stat->s_overipilimit, stat->s_giveuplimit, in ptc_seq_show()
1448 stat->s_congested); in ptc_seq_show()
1454 stat->d_requestee, cycles_2_us(stat->d_time), in ptc_seq_show()
1455 stat->d_alltlb, stat->d_onetlb, stat->d_multmsg, in ptc_seq_show()
1456 stat->d_nomsg, stat->d_retries, stat->d_canceled, in ptc_seq_show()
1457 stat->d_nocanceled, stat->d_resets, in ptc_seq_show()
1458 stat->d_rcanceled); in ptc_seq_show()
1502 struct ptc_stats *stat; in ptc_proc_write() local
1531 stat = &per_cpu(ptcstats, cpu); in ptc_proc_write()
1532 memset(stat, 0, sizeof(struct ptc_stats)); in ptc_proc_write()