Home
last modified time | relevance | path

Searched refs:prof (Results 1 – 7 of 7) sorted by relevance

/linux-4.19.296/drivers/s390/block/
Ddasd_proc.c200 struct dasd_profile_info *prof; in dasd_stats_proc_show() local
204 prof = dasd_global_profile.data; in dasd_stats_proc_show()
205 if (!prof) { in dasd_stats_proc_show()
214 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show()
217 seq_printf(m, "%d dasd I/O requests\n", prof->dasd_io_reqs); in dasd_stats_proc_show()
219 prof->dasd_io_sects); in dasd_stats_proc_show()
231 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show()
233 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show()
235 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show()
237 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show()
[all …]
Ddasd.c961 struct dasd_profile *prof = m->private; in dasd_stats_write() local
972 dasd_profile_reset(prof); in dasd_stats_write()
974 rc = dasd_profile_on(prof); in dasd_stats_write()
978 if (prof == &dasd_global_profile) { in dasd_stats_write()
979 dasd_profile_reset(prof); in dasd_stats_write()
983 if (prof == &dasd_global_profile) in dasd_stats_write()
985 dasd_profile_off(prof); in dasd_stats_write()
/linux-4.19.296/drivers/s390/net/
Dctcm_sysfs.c96 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics()
98 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics()
100 priv->channel[WRITE]->prof.doios_single); in ctcm_print_statistics()
102 priv->channel[WRITE]->prof.doios_multi); in ctcm_print_statistics()
104 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
106 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); in ctcm_print_statistics()
133 memset(&priv->channel[WRITE]->prof, 0, in stats_write()
134 sizeof(priv->channel[CTCM_WRITE]->prof)); in stats_write()
Dnetiucv.c187 struct connection_profile prof; member
729 conn->prof.tx_pending--; in conn_action_txdone()
758 if (conn->collect_len > conn->prof.maxmulti) in conn_action_txdone()
759 conn->prof.maxmulti = conn->collect_len; in conn_action_txdone()
769 conn->prof.send_stamp = jiffies; in conn_action_txdone()
774 conn->prof.doios_multi++; in conn_action_txdone()
775 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone()
776 conn->prof.tx_pending++; in conn_action_txdone()
777 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone()
778 conn->prof.tx_max_pending = conn->prof.tx_pending; in conn_action_txdone()
[all …]
Dctcm_fsms.c259 duration = done_stamp - ch->prof.send_stamp; in chx_txdone()
260 if (duration > ch->prof.tx_time) in chx_txdone()
261 ch->prof.tx_time = duration; in chx_txdone()
290 if (ch->prof.maxmulti < (ch->collect_len + 2)) in chx_txdone()
291 ch->prof.maxmulti = ch->collect_len + 2; in chx_txdone()
292 if (ch->prof.maxcqueue < skb_queue_len(&ch->collect_queue)) in chx_txdone()
293 ch->prof.maxcqueue = skb_queue_len(&ch->collect_queue); in chx_txdone()
309 ch->prof.send_stamp = jiffies; in chx_txdone()
312 ch->prof.doios_multi++; in chx_txdone()
1236 duration = done_stamp - ch->prof.send_stamp; in ctcmpc_chx_txdone()
[all …]
Dctcm_main.h196 struct ctcm_profile prof; member
Dctcm_main.c505 ch->prof.txlen += skb->len; in ctcm_transmit_skb()
571 ch->prof.send_stamp = jiffies; in ctcm_transmit_skb()
576 ch->prof.doios_single++; in ctcm_transmit_skb()
770 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb()
835 ch->prof.send_stamp = jiffies; in ctcmpc_transmit_skb()
840 ch->prof.doios_single++; in ctcmpc_transmit_skb()