/linux-5.19.10/drivers/firmware/arm_scmi/ |
D | power.c | 29 __le32 stats_size; member 70 u32 stats_size; member 93 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_power_attributes_get()
|
D | perf.c | 51 __le32 stats_size; member 176 u32 stats_size; member 209 pi->stats_size = le32_to_cpu(attr->stats_size); in scmi_perf_attributes_get()
|
/linux-5.19.10/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ctx.c | 1062 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-5.19.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | metadata.c | 515 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-5.19.10/net/xdp/ |
D | xsk.c | 1177 size_t stats_size; in xsk_getsockopt() local 1183 stats_size = sizeof(struct xdp_statistics_v1); in xsk_getsockopt() 1185 stats_size = sizeof(stats); in xsk_getsockopt() 1202 if (copy_to_user(optval, &stats, stats_size)) in xsk_getsockopt() 1204 if (put_user(stats_size, optlen)) in xsk_getsockopt()
|
/linux-5.19.10/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 1482 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-5.19.10/drivers/scsi/qla4xxx/ |
D | ql4_glbl.h | 159 uint16_t stats_size, dma_addr_t stats_dma);
|
D | ql4_os.c | 1064 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()
|
D | ql4_mbx.c | 2142 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-5.19.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.c | 993 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()
|
D | hinic_port.h | 596 u32 stats_size; member
|