/kernel/linux/linux-5.10/net/mac80211/ |
H A D | cfg.c | 3932 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, in ieee80211_fill_txq_stats() argument 3935 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) { in ieee80211_fill_txq_stats() 3936 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES); in ieee80211_fill_txq_stats() 3937 txqstats->backlog_bytes = txqi->tin.backlog_bytes; in ieee80211_fill_txq_stats() 3940 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) { in ieee80211_fill_txq_stats() 3941 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS); in ieee80211_fill_txq_stats() 3942 txqstats->backlog_packets = txqi->tin.backlog_packets; in ieee80211_fill_txq_stats() 3945 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) { in ieee80211_fill_txq_stats() 3946 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS); in ieee80211_fill_txq_stats() 3947 txqstats in ieee80211_fill_txq_stats() 3981 ieee80211_get_txq_stats(struct wiphy *wiphy, struct wireless_dev *wdev, struct cfg80211_txq_stats *txqstats) ieee80211_get_txq_stats() argument [all...] |
H A D | ieee80211_i.h | 2162 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
|
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | cfg.c | 4445 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats, in ieee80211_fill_txq_stats() argument 4448 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_BYTES))) { in ieee80211_fill_txq_stats() 4449 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_BYTES); in ieee80211_fill_txq_stats() 4450 txqstats->backlog_bytes = txqi->tin.backlog_bytes; in ieee80211_fill_txq_stats() 4453 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS))) { in ieee80211_fill_txq_stats() 4454 txqstats->filled |= BIT(NL80211_TXQ_STATS_BACKLOG_PACKETS); in ieee80211_fill_txq_stats() 4455 txqstats->backlog_packets = txqi->tin.backlog_packets; in ieee80211_fill_txq_stats() 4458 if (!(txqstats->filled & BIT(NL80211_TXQ_STATS_FLOWS))) { in ieee80211_fill_txq_stats() 4459 txqstats->filled |= BIT(NL80211_TXQ_STATS_FLOWS); in ieee80211_fill_txq_stats() 4460 txqstats in ieee80211_fill_txq_stats() 4494 ieee80211_get_txq_stats(struct wiphy *wiphy, struct wireless_dev *wdev, struct cfg80211_txq_stats *txqstats) ieee80211_get_txq_stats() argument [all...] |
H A D | ieee80211_i.h | 2435 void ieee80211_fill_txq_stats(struct cfg80211_txq_stats *txqstats,
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.h | 81 #define q_to_tx_stats(q) (&(q)->lif->txqstats[(q)->index]) 171 struct ionic_tx_stats *txqstats; member 279 q->lif->txqstats[q->index].sg_cntr[num_sg_elems]++; in debug_stats_txq_post()
|
H A D | ionic_stats.c | 190 txstats = &lif->txqstats[q_num]; in ionic_get_lif_stats() 366 txstats = &lif->txqstats[q_num]; in ionic_sw_stats_get_values()
|
H A D | ionic_txrx.c | 434 pkts = lif->txqstats[qi].pkts; in ionic_dim_update() 435 bytes = lif->txqstats[qi].bytes; in ionic_dim_update() 442 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update() 443 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes; in ionic_dim_update()
|
H A D | ionic_lif.c | 426 devm_kfree(dev, lif->txqstats); in ionic_qcqs_free() 427 lif->txqstats = NULL; in ionic_qcqs_free() 682 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif, in ionic_qcqs_alloc() 684 if (!lif->txqstats) in ionic_qcqs_alloc()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.h | 91 #define q_to_tx_stats(q) (&(q)->lif->txqstats[(q)->index]) 185 struct ionic_tx_stats *txqstats; member
|
H A D | ionic_stats.c | 164 struct ionic_tx_stats *txstats = &lif->txqstats[q_num]; in ionic_add_lif_txq_stats() 285 txstats = &lif->txqstats[q_num]; in ionic_sw_stats_get_txq_values()
|
H A D | ionic_txrx.c | 548 pkts = lif->txqstats[qi].pkts; in ionic_dim_update() 549 bytes = lif->txqstats[qi].bytes; in ionic_dim_update() 556 pkts = lif->txqstats[qi].pkts + lif->rxqstats[qi].pkts; in ionic_dim_update() 557 bytes = lif->txqstats[qi].bytes + lif->rxqstats[qi].bytes; in ionic_dim_update()
|
H A D | ionic_lif.c | 468 devm_kfree(dev, lif->txqstats); in ionic_qcqs_free() 469 lif->txqstats = NULL; in ionic_qcqs_free() 759 lif->txqstats = devm_kcalloc(dev, lif->ionic->ntxqs_per_lif + 1, in ionic_qcqs_alloc() 760 sizeof(*lif->txqstats), GFP_KERNEL); in ionic_qcqs_alloc() 761 if (!lif->txqstats) in ionic_qcqs_alloc()
|
/kernel/linux/linux-5.10/net/wireless/ |
H A D | rdev-ops.h | 610 struct cfg80211_txq_stats *txqstats) in rdev_get_txq_stats() 614 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); in rdev_get_txq_stats() 608 rdev_get_txq_stats(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, struct cfg80211_txq_stats *txqstats) rdev_get_txq_stats() argument
|
H A D | nl80211.c | 1102 struct cfg80211_txq_stats *txqstats, in nl80211_put_txq_stats() 1108 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \ in nl80211_put_txq_stats() 1109 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats() 2638 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_wiphy() local 2641 res = rdev_get_txq_stats(rdev, NULL, &txqstats); in nl80211_send_wiphy() 2643 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_wiphy() 3519 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_iface() local 3520 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); in nl80211_send_iface() 3523 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_iface() 1101 nl80211_put_txq_stats(struct sk_buff *msg, struct cfg80211_txq_stats *txqstats, int attrtype) nl80211_put_txq_stats() argument
|
/kernel/linux/linux-6.6/net/wireless/ |
H A D | rdev-ops.h | 624 struct cfg80211_txq_stats *txqstats) in rdev_get_txq_stats() 628 ret = rdev->ops->get_txq_stats(&rdev->wiphy, wdev, txqstats); in rdev_get_txq_stats() 622 rdev_get_txq_stats(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, struct cfg80211_txq_stats *txqstats) rdev_get_txq_stats() argument
|
H A D | nl80211.c | 1220 struct cfg80211_txq_stats *txqstats, in nl80211_put_txq_stats() 1226 if (txqstats->filled & BIT(NL80211_TXQ_STATS_ ## attr) && \ in nl80211_put_txq_stats() 1227 nla_put_u32(msg, NL80211_TXQ_STATS_ ## attr, txqstats->memb)) \ in nl80211_put_txq_stats() 2933 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_wiphy() local 2936 res = rdev_get_txq_stats(rdev, NULL, &txqstats); in nl80211_send_wiphy() 2938 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_wiphy() 3902 struct cfg80211_txq_stats txqstats = {}; in nl80211_send_iface() local 3903 int ret = rdev_get_txq_stats(rdev, wdev, &txqstats); in nl80211_send_iface() 3906 !nl80211_put_txq_stats(msg, &txqstats, in nl80211_send_iface() 1219 nl80211_put_txq_stats(struct sk_buff *msg, struct cfg80211_txq_stats *txqstats, int attrtype) nl80211_put_txq_stats() argument
|
/kernel/linux/linux-5.10/include/net/ |
H A D | cfg80211.h | 4223 struct cfg80211_txq_stats *txqstats);
|
/kernel/linux/linux-6.6/include/net/ |
H A D | cfg80211.h | 4714 struct cfg80211_txq_stats *txqstats);
|