Home
last modified time | relevance | path

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

/linux-4.1.27/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.c940 struct dasd_profile *prof = m->private; in dasd_stats_write() local
951 dasd_profile_reset(prof); in dasd_stats_write()
953 rc = dasd_profile_on(prof); in dasd_stats_write()
957 if (prof == &dasd_global_profile) { in dasd_stats_write()
958 dasd_profile_reset(prof); in dasd_stats_write()
962 if (prof == &dasd_global_profile) in dasd_stats_write()
964 dasd_profile_off(prof); in dasd_stats_write()
/linux-4.1.27/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.c202 struct connection_profile prof; member
745 conn->prof.tx_pending--; in conn_action_txdone()
775 if (conn->collect_len > conn->prof.maxmulti) in conn_action_txdone()
776 conn->prof.maxmulti = conn->collect_len; in conn_action_txdone()
786 conn->prof.send_stamp = jiffies; in conn_action_txdone()
791 conn->prof.doios_multi++; in conn_action_txdone()
792 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone()
793 conn->prof.tx_pending++; in conn_action_txdone()
794 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone()
795 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.1.27/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.c144 params->prof[i].rx_pause = 1; in mlx4_en_get_profile()
145 params->prof[i].rx_ppp = pfcrx; in mlx4_en_get_profile()
146 params->prof[i].tx_pause = 1; in mlx4_en_get_profile()
147 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile()
148 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile()
149 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile()
150 params->prof[i].tx_ring_num = params->num_tx_rings_p_up * in mlx4_en_get_profile()
152 params->prof[i].rss_rings = 0; in mlx4_en_get_profile()
153 params->prof[i].inline_thold = inline_thold; in mlx4_en_get_profile()
305 if (mlx4_en_init_netdev(mdev, i, &mdev->profile.prof[i])) in mlx4_en_add()
Den_ethtool.c754 cmd->advertising |= (priv->prof->tx_pause) ? ADVERTISED_Pause : 0; in ethtool_get_ptys_settings()
756 cmd->advertising |= (priv->prof->tx_pause ^ priv->prof->rx_pause) ? in ethtool_get_ptys_settings()
993 priv->prof->tx_pause = pause->tx_pause != 0; in mlx4_en_set_pauseparam()
994 priv->prof->rx_pause = pause->rx_pause != 0; in mlx4_en_set_pauseparam()
997 priv->prof->tx_pause, in mlx4_en_set_pauseparam()
998 priv->prof->tx_ppp, in mlx4_en_set_pauseparam()
999 priv->prof->rx_pause, in mlx4_en_set_pauseparam()
1000 priv->prof->rx_ppp); in mlx4_en_set_pauseparam()
1005 priv->prof->rx_ppp, in mlx4_en_set_pauseparam()
1006 priv->prof->rx_pause, in mlx4_en_set_pauseparam()
[all …]
Den_netdev.c1651 priv->prof->tx_pause, in mlx4_en_start_port()
1652 priv->prof->tx_ppp, in mlx4_en_start_port()
1653 priv->prof->rx_pause, in mlx4_en_start_port()
1654 priv->prof->rx_ppp); in mlx4_en_start_port()
1971 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
1980 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
1988 prof->tx_ring_size, i, TX, node)) in mlx4_en_alloc_resources()
1992 prof->tx_ring_size, TXBB_SIZE, in mlx4_en_alloc_resources()
2001 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources()
2005 prof->rx_ring_size, priv->stride, in mlx4_en_alloc_resources()
[all …]
Dmlx4_en.h385 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member
497 struct mlx4_en_port_profile *prof; member
738 struct mlx4_en_port_profile *prof);
Den_rx.c279 for (buf_ind = 0; buf_ind < priv->prof->rx_ring_size; buf_ind++) { in mlx4_en_fill_rx_buffers()
353 mdev->profile.prof[i].rx_ring_num = in mlx4_en_set_num_rx_rings()
1230 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer()
1233 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
Den_tx.c620 *inline_ok = is_inline(priv->prof->inline_thold, skb, in get_real_size()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/obdclass/
Dobd_config.c838 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()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c411 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()
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_32.tbl53 44 i386 prof
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dobd_class.h209 struct lustre_profile *class_get_profile(const char *prof);
210 void class_del_profile(const char *prof);
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dcfg80211.c1226 static void brcmf_init_prof(struct brcmf_cfg80211_profile *prof) in brcmf_init_prof() argument
1228 memset(prof, 0, sizeof(*prof)); in brcmf_init_prof()
/linux-4.1.27/Documentation/cgroups/
Dcgroups.txt134 depending on who launched it (prof/student).