Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/firmware/arm_scmi/
Dpower.c29 __le32 stats_size; member
70 u32 stats_size; member
93 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_power_attributes_get()
Dperf.c58 __le32 stats_size; member
145 u32 stats_size; member
182 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_perf_attributes_get()
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c1062 size_t stats_size = sizeof(struct qlcnic_esw_stats_le); in qlcnic_get_port_stats() local
1080 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_port_stats()
1086 arg1 |= rx_tx << 15 | stats_size << 16; in qlcnic_get_port_stats()
1116 dma_free_coherent(&adapter->pdev->dev, stats_size, stats_addr, in qlcnic_get_port_stats()
1128 size_t stats_size = sizeof(struct qlcnic_mac_statistics_le); in qlcnic_get_mac_stats() local
1136 stats_addr = dma_alloc_coherent(&adapter->pdev->dev, stats_size, in qlcnic_get_mac_stats()
1145 cmd.req.arg[1] = stats_size << 16; in qlcnic_get_mac_stats()
1178 dma_free_coherent(&adapter->pdev->dev, stats_size, stats_addr, in qlcnic_get_mac_stats()
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c515 int err, stats_size; in nfp_flower_metadata_init() local
572 stats_size = FIELD_PREP(NFP_FL_STAT_ID_STAT, host_ctx_count) | in nfp_flower_metadata_init()
574 priv->stats = kvmalloc_array(stats_size, sizeof(struct nfp_fl_stats), in nfp_flower_metadata_init()
/linux-6.1.9/net/xdp/
Dxsk.c1180 size_t stats_size; in xsk_getsockopt() local
1186 stats_size = sizeof(struct xdp_statistics_v1); in xsk_getsockopt()
1188 stats_size = sizeof(stats); in xsk_getsockopt()
1205 if (copy_to_user(optval, &stats, stats_size)) in xsk_getsockopt()
1207 if (put_user(stats_size, optlen)) in xsk_getsockopt()
/linux-6.1.9/drivers/net/wireless/ath/wil6210/
Dwmi.c1482 size_t stats_size, record_size, expected_size; in wmi_link_stats_parse() local
1492 stats_size = le16_to_cpu(hdr->record_size); in wmi_link_stats_parse()
1493 record_size = hdr_size + stats_size; in wmi_link_stats_parse()
1504 if (stats_size < expected_size) { in wmi_link_stats_parse()
1506 stats_size, expected_size); in wmi_link_stats_parse()
1525 if (stats_size < sizeof(struct wmi_link_stats_global)) { in wmi_link_stats_parse()
1527 stats_size, expected_size); in wmi_link_stats_parse()
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_glbl.h159 uint16_t stats_size, dma_addr_t stats_dma);
Dql4_os.c1064 int stats_size; in qla4xxx_get_host_stats() local
1084 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_get_host_stats()
1086 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats()
1095 ret = qla4xxx_get_mgmt_data(ha, ddb_idx, stats_size, in qla4xxx_get_host_stats()
1252 dma_free_coherent(&ha->pdev->dev, stats_size, in qla4xxx_get_host_stats()
1814 int stats_size; in qla4xxx_conn_get_stats() local
1825 stats_size = PAGE_ALIGN(sizeof(struct ql_iscsi_stats)); in qla4xxx_conn_get_stats()
1827 ql_iscsi_stats = dma_alloc_coherent(&ha->pdev->dev, stats_size, in qla4xxx_conn_get_stats()
1835 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats()
1868 dma_free_coherent(&ha->pdev->dev, stats_size, ql_iscsi_stats, in qla4xxx_conn_get_stats()
Dql4_mbx.c2142 uint16_t stats_size, dma_addr_t stats_dma) in qla4xxx_get_mgmt_data() argument
2154 mbox_cmd[4] = stats_size; in qla4xxx_get_mgmt_data()
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c993 stats_info.stats_size = sizeof(vport_stats); in hinic_get_vport_stats()
1025 stats_info.stats_size = sizeof(*port_stats); in hinic_get_phy_port_stats()
Dhinic_port.h596 u32 stats_size; member