Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/s390/block/
Ddasd_proc.c212 struct dasd_profile_info *prof; in dasd_stats_proc_show() local
216 prof = dasd_global_profile.data; in dasd_stats_proc_show()
217 if (!prof) { in dasd_stats_proc_show()
226 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show()
229 seq_printf(m, "%d dasd I/O requests\n", prof->dasd_io_reqs); in dasd_stats_proc_show()
231 prof->dasd_io_sects); in dasd_stats_proc_show()
243 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show()
245 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show()
247 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show()
249 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show()
[all …]
Ddasd.c942 struct dasd_profile *prof = m->private; in dasd_stats_write() local
953 dasd_profile_reset(prof); in dasd_stats_write()
955 rc = dasd_profile_on(prof); in dasd_stats_write()
959 if (prof == &dasd_global_profile) { in dasd_stats_write()
960 dasd_profile_reset(prof); in dasd_stats_write()
964 if (prof == &dasd_global_profile) in dasd_stats_write()
966 dasd_profile_off(prof); in dasd_stats_write()
/linux-4.4.14/drivers/s390/net/
Dctcm_sysfs.c94 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 jiffies_to_usecs(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()
Dnetiucv.c201 struct connection_profile prof; member
744 conn->prof.tx_pending--; in conn_action_txdone()
774 if (conn->collect_len > conn->prof.maxmulti) in conn_action_txdone()
775 conn->prof.maxmulti = conn->collect_len; in conn_action_txdone()
785 conn->prof.send_stamp = jiffies; in conn_action_txdone()
790 conn->prof.doios_multi++; in conn_action_txdone()
791 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone()
792 conn->prof.tx_pending++; in conn_action_txdone()
793 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone()
794 conn->prof.tx_max_pending = conn->prof.tx_pending; in conn_action_txdone()
[all …]
Dctcm_fsms.c258 duration = done_stamp - ch->prof.send_stamp; in chx_txdone()
259 if (duration > ch->prof.tx_time) in chx_txdone()
260 ch->prof.tx_time = duration; in chx_txdone()
289 if (ch->prof.maxmulti < (ch->collect_len + 2)) in chx_txdone()
290 ch->prof.maxmulti = ch->collect_len + 2; in chx_txdone()
291 if (ch->prof.maxcqueue < skb_queue_len(&ch->collect_queue)) in chx_txdone()
292 ch->prof.maxcqueue = skb_queue_len(&ch->collect_queue); in chx_txdone()
308 ch->prof.send_stamp = jiffies; in chx_txdone()
311 ch->prof.doios_multi++; in chx_txdone()
1235 duration = done_stamp - ch->prof.send_stamp; in ctcmpc_chx_txdone()
[all …]
Dctcm_main.h195 struct ctcm_profile prof; member
Dctcm_main.c504 ch->prof.txlen += skb->len; in ctcm_transmit_skb()
570 ch->prof.send_stamp = jiffies; 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 = jiffies; in ctcmpc_transmit_skb()
839 ch->prof.doios_single++; in ctcmpc_transmit_skb()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_dcb_nl.c198 pfc->pfc_en = priv->prof->tx_ppp; in mlx4_en_dcbnl_ieee_getpfc()
207 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_dcbnl_ieee_setpfc() local
217 prof->rx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
218 prof->tx_pause = !pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
219 prof->rx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
220 prof->tx_ppp = pfc->pfc_en; in mlx4_en_dcbnl_ieee_setpfc()
224 prof->tx_pause, in mlx4_en_dcbnl_ieee_setpfc()
225 prof->tx_ppp, in mlx4_en_dcbnl_ieee_setpfc()
226 prof->rx_pause, in mlx4_en_dcbnl_ieee_setpfc()
227 prof->rx_ppp); in mlx4_en_dcbnl_ieee_setpfc()
[all …]
Den_main.c166 params->prof[i].rx_pause = 1; in mlx4_en_get_profile()
167 params->prof[i].rx_ppp = pfcrx; in mlx4_en_get_profile()
168 params->prof[i].tx_pause = 1; in mlx4_en_get_profile()
169 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile()
170 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile()
171 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile()
172 params->prof[i].tx_ring_num = params->num_tx_rings_p_up * in mlx4_en_get_profile()
174 params->prof[i].rss_rings = 0; in mlx4_en_get_profile()
175 params->prof[i].inline_thold = inline_thold; in mlx4_en_get_profile()
254 if (mlx4_en_init_netdev(mdev, i, &mdev->profile.prof[i])) in mlx4_en_activate()
Den_ethtool.c769 cmd->advertising |= (priv->prof->tx_pause) ? ADVERTISED_Pause : 0; in ethtool_get_ptys_settings()
771 cmd->advertising |= (priv->prof->tx_pause ^ priv->prof->rx_pause) ? in ethtool_get_ptys_settings()
1008 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam()
1009 priv->prof->rx_pause = pause->rx_pause != 0; in mlx4_en_set_pauseparam()
1012 priv->prof->tx_pause, in mlx4_en_set_pauseparam()
1013 priv->prof->tx_ppp, in mlx4_en_set_pauseparam()
1014 priv->prof->rx_pause, in mlx4_en_set_pauseparam()
1015 priv->prof->rx_ppp); in mlx4_en_set_pauseparam()
1020 priv->prof->rx_ppp, in mlx4_en_set_pauseparam()
1021 priv->prof->rx_pause, in mlx4_en_set_pauseparam()
[all …]
Den_netdev.c1662 priv->prof->tx_pause, in mlx4_en_start_port()
1663 priv->prof->tx_ppp, in mlx4_en_start_port()
1664 priv->prof->rx_pause, in mlx4_en_start_port()
1665 priv->prof->rx_ppp); in mlx4_en_start_port()
1991 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
2000 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2008 prof->tx_ring_size, i, TX, node)) in mlx4_en_alloc_resources()
2012 prof->tx_ring_size, TXBB_SIZE, in mlx4_en_alloc_resources()
2021 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources()
2025 prof->rx_ring_size, priv->stride, in mlx4_en_alloc_resources()
[all …]
Dmlx4_en.h386 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member
498 struct mlx4_en_port_profile *prof; member
741 struct mlx4_en_port_profile *prof);
Den_rx.c278 for (buf_ind = 0; buf_ind < priv->prof->rx_ring_size; buf_ind++) { in mlx4_en_fill_rx_buffers()
347 mdev->profile.prof[i].rx_ring_num = in mlx4_en_set_num_rx_rings()
1244 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer()
1247 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
Den_tx.c622 *inline_ok = is_inline(priv->prof->inline_thold, skb, in get_real_size()
/linux-4.4.14/sound/pci/echoaudio/
Dmia_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
213 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
215 dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); in set_professional_spdif()
216 if (prof) in set_professional_spdif()
222 chip->professional_spdif = prof; in set_professional_spdif()
Dechoaudio_gml.c154 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
166 if (prof) { in set_professional_spdif()
197 chip->professional_spdif = prof; in set_professional_spdif()
199 prof ? "Professional" : "Consumer"); in set_professional_spdif()
Dgina20_dsp.c32 static int set_professional_spdif(struct echoaudio *chip, char prof);
205 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
207 if (prof) in set_professional_spdif()
213 chip->professional_spdif = prof; in set_professional_spdif()
Dlayla20_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
279 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
281 if (prof) in set_professional_spdif()
287 chip->professional_spdif = prof; in set_professional_spdif()
Dechoaudio_3g.c175 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
180 chip->professional_spdif = prof; in set_professional_spdif()
Decho3g_dsp.c37 static int set_professional_spdif(struct echoaudio *chip, char prof);
Dgina24_dsp.c34 static int set_professional_spdif(struct echoaudio *chip, char prof);
Dlayla24_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
Dmona_dsp.c34 static int set_professional_spdif(struct echoaudio *chip, char prof);
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c606 struct lustre_profile *class_get_profile(const char *prof) in class_get_profile() argument
611 if (!strcmp(lprof->lp_profile, prof)) { in class_get_profile()
623 static int class_add_profile(int proflen, char *prof, int osclen, char *osc, in class_add_profile() argument
629 CDEBUG(D_CONFIG, "Add profile %s\n", prof); in class_add_profile()
636 LASSERT(proflen == (strlen(prof) + 1)); in class_add_profile()
637 lprof->lp_profile = kmemdup(prof, proflen, GFP_NOFS); in class_add_profile()
671 void class_del_profile(const char *prof) in class_del_profile() argument
675 CDEBUG(D_CONFIG, "Del profile %s\n", prof); in class_del_profile()
677 lprof = class_get_profile(prof); in class_del_profile()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c406 struct mlx5_profile *prof = dev->profile; in handle_hca_cap() local
435 if (prof->mask & MLX5_PROF_MASK_QP_SIZE) in handle_hca_cap()
437 prof->log_max_qp); in handle_hca_cap()
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_32.tbl53 44 i386 prof
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd_class.h175 struct lustre_profile *class_get_profile(const char *prof);
176 void class_del_profile(const char *prof);
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c1233 static void brcmf_init_prof(struct brcmf_cfg80211_profile *prof) in brcmf_init_prof() argument
1235 memset(prof, 0, sizeof(*prof)); in brcmf_init_prof()
/linux-4.4.14/Documentation/cgroups/
Dcgroups.txt134 depending on who launched it (prof/student).