Searched refs:txqstats (Results 1 - 9 of 9) sorted by relevance

/linux-master/net/mac80211/
H A Dcfg.c4488 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, argument
4491 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) {
4492 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES);
4493 txqstats->backlog_bytes = txqi->tin.backlog_bytes;
4496 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) {
4497 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS);
4498 txqstats->backlog_packets = txqi->tin.backlog_packets;
4501 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) {
4502 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS);
4503 txqstats
4537 ieee80211_get_txq_stats(struct wiphy *wiphy, struct wireless_dev *wdev, struct cfg80211_txq_stats *txqstats) argument
[all...]
H A Dieee80211_i.h2433 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.h97 #define q_to_tx_stats(q) (&(q)->lif->txqstats[(q)->index])
197 struct ionic_tx_stats *txqstats; member in struct:ionic_lif
H A Dionic_stats.c176 struct ionic_tx_stats *txstats = &lif->txqstats[q_num];
303 txstats = &lif->txqstats[q_num];
H A Dionic_txrx.c911 pkts = lif->txqstats[qi].pkts;
912 bytes = lif->txqstats[qi].bytes;
919 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts;
920 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes;
H A Dionic_lif.c471 devm_kfree(dev, lif->txqstats);
472 lif->txqstats = NULL;
751 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif + 1,
752 sizeof(*lif->txqstats), GFP_KERNEL);
753 if (!lif->txqstats)
/linux-master/net/wireless/
H A Drdev-ops.h624 struct cfg80211_txq_stats *txqstats)
628 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats);
622 rdev_get_txq_stats(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, struct cfg80211_txq_stats *txqstats) argument
H A Dnl80211.c1230 struct cfg80211_txq_stats *txqstats,
1236 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \
1237 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \
2943 struct cfg80211_txq_stats txqstats = {}; local
2946 res = rdev_get_txq_stats(rdev, NULL, &txqstats);
2948 !nl80211_put_txq_stats(msg, &txqstats,
3914 struct cfg80211_txq_stats txqstats = {}; local
3915 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats);
3918 !nl80211_put_txq_stats(msg, &txqstats,
1229 nl80211_put_txq_stats(struct sk_buff *msg, struct cfg80211_txq_stats *txqstats, int attrtype) argument
/linux-master/include/net/
H A Dcfg80211.h4883 struct cfg80211_txq_stats *txqstats);

Completed in 543 milliseconds