Home
last modified time | relevance | path

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

/linux/drivers/firmware/arm_scmi/
A Dpower.c28 __le32 stats_size; member
68 u32 stats_size; member
91 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_power_attributes_get()
A Dperf.c47 __le32 stats_size; member
170 u32 stats_size; member
201 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_perf_attributes_get()
/linux/drivers/net/ethernet/qlogic/qlcnic/
A 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/drivers/net/ethernet/netronome/nfp/flower/
A Dmetadata.c517 int err, stats_size; in nfp_flower_metadata_init() local
568 stats_size = FIELD_PREP(NFP_FL_STAT_ID_STAT, host_ctx_count) | in nfp_flower_metadata_init()
570 priv->stats = kvmalloc_array(stats_size, sizeof(struct nfp_fl_stats), in nfp_flower_metadata_init()
/linux/net/xdp/
A Dxsk.c1133 size_t stats_size; in xsk_getsockopt() local
1139 stats_size = sizeof(struct xdp_statistics_v1); in xsk_getsockopt()
1141 stats_size = sizeof(stats); in xsk_getsockopt()
1158 if (copy_to_user(optval, &stats, stats_size)) in xsk_getsockopt()
1160 if (put_user(stats_size, optlen)) in xsk_getsockopt()
/linux/drivers/net/wireless/ath/wil6210/
A 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/drivers/scsi/qla4xxx/
A Dql4_glbl.h159 uint16_t stats_size, dma_addr_t stats_dma);
A 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()
A 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/drivers/net/ethernet/huawei/hinic/
A 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()
A Dhinic_port.h596 u32 stats_size; member

Completed in 57 milliseconds