Home
last modified time | relevance | path

Searched refs:stats_size (Results 1 – 13 of 13) sorted by relevance

/drivers/crypto/intel/qat/qat_common/
A Dadf_heartbeat.c59 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()
/drivers/firmware/arm_scmi/
A Dpower.c32 __le32 stats_size; member
74 u32 stats_size; member
97 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_power_attributes_get()
A Dperf.c67 __le32 stats_size; member
185 u32 stats_size; member
224 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_perf_attributes_get()
/drivers/net/ethernet/qlogic/qlcnic/
A Dqlcnic_ctx.c1068 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()
/drivers/net/ethernet/netronome/nfp/flower/
A Dmetadata.c515 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_array(stats_size, sizeof(struct nfp_fl_stats), in nfp_flower_metadata_init()
/drivers/net/wireless/mediatek/mt76/
A Dmt792x_core.c500 int stats_size = ARRAY_SIZE(mt792x_gstrings_stats); in mt792x_get_et_stats() local
558 stats_size += page_pool_ethtool_stats_get_count(); in mt792x_get_et_stats()
560 if (ei != stats_size) in mt792x_get_et_stats()
562 stats_size); in mt792x_get_et_stats()
/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmain.c1527 int i, ei = 0, stats_size; in mt7915_get_et_stats() local
1642 stats_size = MT7915_SSTATS_LEN + page_pool_ethtool_stats_get_count(); in mt7915_get_et_stats()
1643 if (ei != stats_size) in mt7915_get_et_stats()
1644 dev_err(dev->mt76.dev, "ei: %d size: %d", ei, stats_size); in mt7915_get_et_stats()
/drivers/net/wireless/ath/wil6210/
A Dwmi.c1480 size_t stats_size, record_size, expected_size; in wmi_link_stats_parse() local
1490 stats_size = le16_to_cpu(hdr->record_size); in wmi_link_stats_parse()
1491 record_size = hdr_size + stats_size; in wmi_link_stats_parse()
1502 if (stats_size < expected_size) { in wmi_link_stats_parse()
1504 stats_size, expected_size); in wmi_link_stats_parse()
1523 if (stats_size < sizeof(struct wmi_link_stats_global)) { in wmi_link_stats_parse()
1525 stats_size, expected_size); in wmi_link_stats_parse()
/drivers/scsi/qla4xxx/
A Dql4_glbl.h159 uint16_t stats_size, dma_addr_t stats_dma);
A Dql4_os.c1069 int stats_size; in qla4xxx_get_host_stats() local
1089 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_get_host_stats()
1091 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats()
1100 ret = qla4xxx_get_mgmt_data(ha, ddb_idx, stats_size, in qla4xxx_get_host_stats()
1257 dma_free_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats()
1819 int stats_size; in qla4xxx_conn_get_stats() local
1830 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_conn_get_stats()
1832 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_conn_get_stats()
1840 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats()
1873 dma_free_coherent(&ha->pdev->dev, stats_size, ql_iscsi_stats, in qla4xxx_conn_get_stats()
A Dql4_mbx.c2149 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()
/drivers/net/ethernet/huawei/hinic/
A Dhinic_port.c1008 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()
A Dhinic_port.h606 u32 stats_size; member

Completed in 54 milliseconds