| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat.c | 59 const size_t stats_size = size_mul(dev_ctrs, hb_struct_size); in validate_hb_ctrs_cnt() local 61 const u32 stats_el_cnt = stats_size / sizeof(u32); in validate_hb_ctrs_cnt() 84 const size_t stats_size = size_mul(dev_ctrs, sizeof(struct hb_cnt_pair)); in adf_heartbeat_check_ctrs() local 85 const size_t mem_items_to_fill = size_mul(stats_size, 2) / sizeof(u32); in adf_heartbeat_check_ctrs() 167 const size_t stats_size = size_mul(dev_ctrs, sizeof(*curr_stats)); in adf_hb_get_status() local 185 curr_stats = kmemdup(live_stats, stats_size, GFP_KERNEL); in adf_hb_get_status() 202 memcpy(last_stats, curr_stats, stats_size); in adf_hb_get_status()
|
| /linux/include/uapi/linux/io_uring/ |
| H A D | query.h | 70 __u32 stats_size; member
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_ctx.c | 1068 size_t stats_size = sizeof(struct qlcnic_esw_stats_le); in qlcnic_get_port_stats() local 1086 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_port_stats() 1092 arg1 |= rx_tx << 15 | stats_size << 16; in qlcnic_get_port_stats() 1122 dma_free_coherent(&adapter->pdev->dev, stats_size, stats_addr, in qlcnic_get_port_stats() 1134 size_t stats_size = sizeof(struct qlcnic_mac_statistics_le); in qlcnic_get_mac_stats() local 1142 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_mac_stats() 1151 cmd.req.arg[1] = stats_size << 16; in qlcnic_get_mac_stats() 1184 dma_free_coherent(&adapter->pdev->dev, stats_size, stats_addr, in qlcnic_get_mac_stats()
|
| /linux/drivers/net/ethernet/netronome/nfp/flower/ |
| H A D | metadata.c | 515 int err, stats_size; in nfp_flower_metadata_init() local 574 stats_size = FIELD_PREP(NFP_FL_STAT_ID_STAT, host_ctx_count) | in nfp_flower_metadata_init() 576 priv->stats = kvmalloc_objs(struct nfp_fl_stats, stats_size); in nfp_flower_metadata_init()
|
| /linux/io_uring/ |
| H A D | query.c | 53 e->stats_size = sizeof(struct zcrx_stats); in io_query_zcrx_notif()
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt792x_core.c | 631 int stats_size = ARRAY_SIZE(mt792x_gstrings_stats); in mt792x_get_et_stats() local 689 stats_size += page_pool_ethtool_stats_get_count(); in mt792x_get_et_stats() 691 if (ei != stats_size) in mt792x_get_et_stats() 693 stats_size); in mt792x_get_et_stats()
|
| /linux/net/xdp/ |
| H A D | xsk.c | 1974 size_t stats_size; in xsk_getsockopt() local 1980 stats_size = sizeof(struct xdp_statistics_v1); in xsk_getsockopt() 1982 stats_size = sizeof(stats); in xsk_getsockopt() 1999 if (copy_to_iter(&stats, stats_size, &opt->iter_out) != in xsk_getsockopt() 2000 stats_size) in xsk_getsockopt() 2002 opt->optlen = stats_size; in xsk_getsockopt()
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | main.c | 1546 int i, ei = 0, stats_size; in mt7915_get_et_stats() 1661 stats_size = MT7915_SSTATS_LEN + page_pool_ethtool_stats_get_count(); in mt7915_get_et_stats() 1662 if (ei != stats_size) in mt7915_get_et_stats() 1663 dev_err(dev->mt76.dev, "ei: %d size: %d", ei, stats_size); 1544 int i, ei = 0, stats_size; mt7915_get_et_stats() local
|
| /linux/drivers/scsi/qla4xxx/ |
| H A D | ql4_glbl.h | 159 uint16_t stats_size, dma_addr_t stats_dma);
|
| H A D | ql4_os.c | 1070 int stats_size; in qla4xxx_get_host_stats() local 1090 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_get_host_stats() 1092 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats() 1101 ret = qla4xxx_get_mgmt_data(ha, ddb_idx, stats_size, in qla4xxx_get_host_stats() 1258 dma_free_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats() 1820 int stats_size; in qla4xxx_conn_get_stats() local 1831 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_conn_get_stats() 1833 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_conn_get_stats() 1841 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats() 1874 dma_free_coherent(&ha->pdev->dev, stats_size, ql_iscsi_stats, in qla4xxx_conn_get_stats()
|
| H A D | ql4_mbx.c | 2149 uint16_t stats_size, dma_addr_t stats_dma) in qla4xxx_get_mgmt_data() argument 2161 mbox_cmd[4] = stats_size; in qla4xxx_get_mgmt_data()
|
| /linux/drivers/net/ethernet/huawei/hinic/ |
| H A D | hinic_port.c | 1008 stats_info.stats_size = sizeof(vport_stats); in hinic_get_vport_stats() 1040 stats_info.stats_size = sizeof(*port_stats); in hinic_get_phy_port_stats()
|
| H A D | hinic_port.h | 606 u32 stats_size; member
|