/drivers/s390/block/ |
D | dasd_proc.c | 212 struct dasd_profile_info *prof; in dasd_stats_proc_show() local 222 prof = &dasd_global_profile_data; in dasd_stats_proc_show() 225 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show() 228 seq_printf(m, "%d dasd I/O requests\n", prof->dasd_io_reqs); in dasd_stats_proc_show() 230 prof->dasd_io_sects); in dasd_stats_proc_show() 242 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show() 244 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show() 246 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show() 248 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show() 250 dasd_statistics_array(m, prof->dasd_io_time2, factor); in dasd_stats_proc_show() [all …]
|
D | dasd.c | 938 struct dasd_profile *prof = m->private; in dasd_stats_write() local 949 dasd_profile_reset(prof); in dasd_stats_write() 951 rc = dasd_profile_on(prof); in dasd_stats_write() 955 dasd_profile_off(prof); in dasd_stats_write()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_dcb_nl.c | 154 pfc->pfc_en = priv->prof->tx_ppp; in mlx4_en_dcbnl_ieee_getpfc() 163 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_dcbnl_ieee_setpfc() local 173 prof->rx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc() 174 prof->tx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc() 175 prof->rx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc() 176 prof->tx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc() 180 prof->tx_pause, in mlx4_en_dcbnl_ieee_setpfc() 181 prof->tx_ppp, in mlx4_en_dcbnl_ieee_setpfc() 182 prof->rx_pause, in mlx4_en_dcbnl_ieee_setpfc() 183 prof->rx_ppp); in mlx4_en_dcbnl_ieee_setpfc()
|
D | en_main.c | 139 params->prof[i].rx_pause = 1; in mlx4_en_get_profile() 140 params->prof[i].rx_ppp = pfcrx; in mlx4_en_get_profile() 141 params->prof[i].tx_pause = 1; in mlx4_en_get_profile() 142 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile() 143 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile() 144 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile() 145 params->prof[i].tx_ring_num = params->num_tx_rings_p_up * in mlx4_en_get_profile() 147 params->prof[i].rss_rings = 0; in mlx4_en_get_profile() 148 params->prof[i].inline_thold = inline_thold; in mlx4_en_get_profile() 304 if (mlx4_en_init_netdev(mdev, i, &mdev->profile.prof[i])) in mlx4_en_add()
|
D | en_ethtool.c | 494 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam() 495 priv->prof->rx_pause = pause->rx_pause != 0; in mlx4_en_set_pauseparam() 498 priv->prof->tx_pause, in mlx4_en_set_pauseparam() 499 priv->prof->tx_ppp, in mlx4_en_set_pauseparam() 500 priv->prof->rx_pause, in mlx4_en_set_pauseparam() 501 priv->prof->rx_ppp); in mlx4_en_set_pauseparam() 513 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam() 514 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam() 549 priv->prof->tx_ring_size = tx_size; in mlx4_en_set_ringparam() 550 priv->prof->rx_ring_size = rx_size; in mlx4_en_set_ringparam() [all …]
|
D | en_netdev.c | 1650 priv->prof->tx_pause, in mlx4_en_start_port() 1651 priv->prof->tx_ppp, in mlx4_en_start_port() 1652 priv->prof->rx_pause, in mlx4_en_start_port() 1653 priv->prof->rx_ppp); in mlx4_en_start_port() 1966 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources() 1979 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local 1994 prof->tx_ring_size, i, TX, node)) in mlx4_en_alloc_resources() 1999 prof->tx_ring_size, TXBB_SIZE, in mlx4_en_alloc_resources() 2008 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources() 2012 prof->rx_ring_size, priv->stride, in mlx4_en_alloc_resources() [all …]
|
D | en_rx.c | 272 for (buf_ind = 0; buf_ind < priv->prof->rx_ring_size; buf_ind++) { in mlx4_en_fill_rx_buffers() 346 mdev->profile.prof[i].rx_ring_num = in mlx4_en_set_num_rx_rings() 1133 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer() 1136 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
|
D | mlx4_en.h | 386 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member 514 struct mlx4_en_port_profile *prof; member 749 struct mlx4_en_port_profile *prof);
|
D | en_tx.c | 613 *inline_ok = is_inline(priv->prof->inline_thold, skb, in get_real_size()
|
/drivers/s390/net/ |
D | ctcm_sysfs.c | 94 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics() 96 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics() 98 priv->channel[WRITE]->prof.doios_single); in ctcm_print_statistics() 100 priv->channel[WRITE]->prof.doios_multi); in ctcm_print_statistics() 102 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics() 104 priv->channel[WRITE]->prof.tx_time); in ctcm_print_statistics() 131 memset(&priv->channel[WRITE]->prof, 0, in stats_write() 132 sizeof(priv->channel[CTCM_WRITE]->prof)); in stats_write()
|
D | netiucv.c | 202 struct connection_profile prof; member 748 conn->prof.tx_pending--; in conn_action_txdone() 778 if (conn->collect_len > conn->prof.maxmulti) in conn_action_txdone() 779 conn->prof.maxmulti = conn->collect_len; in conn_action_txdone() 789 conn->prof.send_stamp = current_kernel_time(); in conn_action_txdone() 794 conn->prof.doios_multi++; in conn_action_txdone() 795 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone() 796 conn->prof.tx_pending++; in conn_action_txdone() 797 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone() 798 conn->prof.tx_max_pending = conn->prof.tx_pending; in conn_action_txdone() [all …]
|
D | ctcm_fsms.c | 259 (done_stamp.tv_sec - ch->prof.send_stamp.tv_sec) * 1000000 + in chx_txdone() 260 (done_stamp.tv_nsec - ch->prof.send_stamp.tv_nsec) / 1000; in chx_txdone() 261 if (duration > ch->prof.tx_time) in chx_txdone() 262 ch->prof.tx_time = duration; in chx_txdone() 291 if (ch->prof.maxmulti < (ch->collect_len + 2)) in chx_txdone() 292 ch->prof.maxmulti = ch->collect_len + 2; in chx_txdone() 293 if (ch->prof.maxcqueue < skb_queue_len(&ch->collect_queue)) in chx_txdone() 294 ch->prof.maxcqueue = skb_queue_len(&ch->collect_queue); in chx_txdone() 310 ch->prof.send_stamp = current_kernel_time(); /* xtime */ in chx_txdone() 313 ch->prof.doios_multi++; in chx_txdone() [all …]
|
D | ctcm_main.c | 504 ch->prof.txlen += skb->len; in ctcm_transmit_skb() 570 ch->prof.send_stamp = current_kernel_time(); /* xtime */ in ctcm_transmit_skb() 575 ch->prof.doios_single++; in ctcm_transmit_skb() 769 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb() 834 ch->prof.send_stamp = current_kernel_time(); /* xtime */ in ctcmpc_transmit_skb() 839 ch->prof.doios_single++; in ctcmpc_transmit_skb()
|
D | ctcm_main.h | 195 struct ctcm_profile prof; member
|
/drivers/staging/lustre/lustre/obdclass/ |
D | obd_config.c | 838 struct lustre_profile *class_get_profile(const char * prof) in class_get_profile() argument 843 if (!strcmp(lprof->lp_profile, prof)) { in class_get_profile() 855 int class_add_profile(int proflen, char *prof, int osclen, char *osc, in class_add_profile() argument 861 CDEBUG(D_CONFIG, "Add profile %s\n", prof); in class_add_profile() 868 LASSERT(proflen == (strlen(prof) + 1)); in class_add_profile() 874 memcpy(lprof->lp_profile, prof, proflen); in class_add_profile() 908 void class_del_profile(const char *prof) in class_del_profile() argument 912 CDEBUG(D_CONFIG, "Del profile %s\n", prof); in class_del_profile() 914 lprof = class_get_profile(prof); in class_del_profile()
|
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | main.c | 411 struct mlx5_profile *prof = dev->profile; in handle_hca_cap() local 440 if (prof->mask & MLX5_PROF_MASK_QP_SIZE) in handle_hca_cap() 441 cur_caps->gen.log_max_qp = prof->log_max_qp; in handle_hca_cap()
|
/drivers/staging/lustre/lustre/include/ |
D | obd_class.h | 208 struct lustre_profile *class_get_profile(const char *prof); 209 void class_del_profile(const char *prof);
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | wl_cfg80211.c | 1133 static void brcmf_init_prof(struct brcmf_cfg80211_profile *prof) in brcmf_init_prof() argument 1135 memset(prof, 0, sizeof(*prof)); in brcmf_init_prof()
|